one physical interface -> n virtual interfaces

Julian Elischer julian at freebsd.org
Thu Oct 18 01:49:54 UTC 2012


On 10/16/12 1:35 PM, Mariano Cediel wrote:
> How do I create, from a physical interface, n virtual interfaces, but
> all effects are real, their MAC different, on which we can do
> individually NAT, etc, etc.?
>
> I need one external interface has 2 public IPs, and I'll do every NAT
> over every <interface> (with ipfw and divert)
> individually (each of them has its own gateway)
>
> A little help to start researching .....
> Greetings.
>
> (sorry for my poor english)

use netgraph ng_eiface, ng_bridge and ng_ether





More information about the freebsd-net mailing list