bridging multiple interfaces

Mike Jackson mjj at isorauta.ntc.nokia.com
Sat Oct 4 09:06:37 PDT 2003


Hi,
 I would like to ask for some advice on configuring my home network,
with a FreeBSD 5.1 being the main player. In a nutshell, I want to route
wired and wireless traffic through my FBSD box, do some ipfw, perhaps
IPSec, and some bandwidth shaping, and finally send the traffic out to
the internet.

 I have an ADSL router/switch with a public IP, running NATD.

 I have a 5.1 box with three interfaces:

 - Netgear MA301	(wi0)
 - 3Com 905b		(xl0)
 - 3Com 905b		(xl1)

 wi0 is bridged to xl1, so that wireless boxes can connect to the
internet. xl0 is plugged into a 5-port switch, and is turned down. 

 The current configuration is:

 - pc1 (5.1 box) is plugged into the ADSL switch
 - pc2 (linux box) is plugged into the ADSL switch
 - pc3 (win2k laptop) is using pc1 (wi0) as it's wireless access point

 
 The desired configuration is:

 - pc1 (xl1) is plugged into the ADSL switch
 - pc1 (xl0) is plugged into the 5-port switch
 - pc2 is plugged into the 5-port switch
 - pc3 is using pc1 (wi0) as it's wireless access point
 - pc1 is serving DHCP in xl0 and wi0
 - all machines plugged into the 5-port switch can access internet
 - all machines using pc1 (wi0) as wireless access point can access
   internet
 - pc1 (wi0) is only accessible via IPSec 
 - pc1 (wi0 and xl0) or xl1 doing bandwidth shaping
	- preferable to be able to limit bandwidth per workstation


 I tried to bridge both xl0 and wi0 to xl1, but the network just stopped
completely and I had to reboot the machine. And I'm not even sure if
this is the correct or best approach. Any suggestions?

Thanks!
--
mike


More information about the freebsd-questions mailing list