Date: Sat, 4 Oct 2003 19:06:31 +0300 From: Mike Jackson <mjj@isorauta.ntc.nokia.com> To: freebsd-questions@freebsd.org Subject: bridging multiple interfaces Message-ID: <20031004160631.GA13376@isorauta.ntc.nokia.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031004160631.GA13376>