I have a FreeBSD 7.0 box with pf.

I have two internal networks (intnet0 and intnet1) and two internal networks 
(extnet0 and extnet1).

extnet0 and extnet1 are two different gateways to the internet.

I only have one physical internal (int0) and one physical external (ext0) 

Traffic from intnet0 needs to go out on extnet0

Traffic from intnet1 needs to go out on extnet1 (consider this a default route 
for any traffic not going out on extnet0).

What are some suggested ways of doing this?

Assume addresses are (these are made up, but hopefully help paint the 

intnet0 -
extnet0 -
 - extnet0 address
 - default route
 - broadcast

intnet1 -
extnet1 -
 - extnet1 address
 - default route
 - broadcast

So far I have created vlans via a switch on each interface to "multiplex" the 

vlan10 - and vlan20 - come in on a single 
cable to int0.

vlan50 - and vlan60 - come in on a single cable 
to ext0.

However, since I have the defaultroute set for all traffic from 
intnet0 is going out on vlan60 whereas i want it to go out on vlan50.

Am I going about this the wrong way?



freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to