bridging multiple interfaces

Manuel Rabade (MiG) mig at mig-29.net
Sat Oct 4 13:00:25 PDT 2003


You want to use the NAT of your ASDL router or that pc1 do the nat for xl0
and wi0 ?

If you want that pc1 do the NAT, you don't have to bridge xl0 and xl1, you only
have to bridge wi0 and xl1 and do nat betwen them and xl1.

On Sat, Oct 04, 2003 at 07:06:31PM +0300, Mike Jackson wrote:
> 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
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list