Re: bridging multiple interfaces

2003-10-06 Thread Mike Jackson
ext Manuel Rabade (MiG) ([EMAIL PROTECTED]) wrote:
 
 That's fine, but you must check the netmask of the interfaces and your computers
 in the network, it should be 255.255.0.0.

Aha, that could be the problem then. I'm using 255.255.255.0 currently.
 
 How are you bridging the interfaces ?? i think it should be:
 
 sysctl net.link.ether.bridge_cfg=xl0,xl1,wi0

Yep, that's what I did :-) I'll give it a test with the different
netmask and tell you how it goes.

Thanks,
Mike 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: bridging multiple interfaces

2003-10-05 Thread Mike Jackson
ext Manuel Rabade (MiG) ([EMAIL PROTECTED]) wrote:
 On Sun, Oct 05, 2003 at 02:12:49AM +0300, Mike Jackson wrote:
  ext Manuel Rabade (MiG) ([EMAIL PROTECTED]) wrote:
   You want to use the NAT of your ASDL router or that pc1 do the nat for xl0
   and wi0 ?
  
  I'm using the NAT on the ADSL router, because that's the only public IP
  that I have.
 
 
 Humm .. are you using diferent subnets in each interface or how do you bring up
 the interfaces ?

Hi,
 Yes, I have the following networks:

xl0 - 192.168.3.0
xl1 - 192.168.1.0
wi0 - 192.168.2.0

--
mike
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: bridging multiple interfaces

2003-10-05 Thread Manuel Rabade (MiG)
On Sun, Oct 05, 2003 at 11:12:04PM +0300, Mike Jackson wrote:
 ext Manuel Rabade (MiG) ([EMAIL PROTECTED]) wrote:
  On Sun, Oct 05, 2003 at 02:12:49AM +0300, Mike Jackson wrote:
   ext Manuel Rabade (MiG) ([EMAIL PROTECTED]) wrote:
You want to use the NAT of your ASDL router or that pc1 do the nat for xl0
and wi0 ?
   
   I'm using the NAT on the ADSL router, because that's the only public IP
   that I have.
  
  
  Humm .. are you using diferent subnets in each interface or how do you bring up
  the interfaces ?
 
 Hi,
  Yes, I have the following networks:
 
 xl0 - 192.168.3.0
 xl1 - 192.168.1.0
 wi0 - 192.168.2.0


That's fine, but you must check the netmask of the interfaces and your computers
in the network, it should be 255.255.0.0.

How are you bridging the interfaces ?? i think it should be:

sysctl net.link.ether.bridge_cfg=xl0,xl1,wi0
 
 --
 mike
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: bridging multiple interfaces

2003-10-04 Thread Manuel Rabade (MiG)
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
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: bridging multiple interfaces

2003-10-04 Thread Mike Jackson
ext Manuel Rabade (MiG) ([EMAIL PROTECTED]) wrote:
 You want to use the NAT of your ASDL router or that pc1 do the nat for xl0
 and wi0 ?

I'm using the NAT on the ADSL router, because that's the only public IP
that I have.

--
mike 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: bridging multiple interfaces

2003-10-04 Thread Manuel Rabade (MiG)
On Sun, Oct 05, 2003 at 02:12:49AM +0300, Mike Jackson wrote:
 ext Manuel Rabade (MiG) ([EMAIL PROTECTED]) wrote:
  You want to use the NAT of your ASDL router or that pc1 do the nat for xl0
  and wi0 ?
 
 I'm using the NAT on the ADSL router, because that's the only public IP
 that I have.


Humm .. are you using diferent subnets in each interface or how do you bring up
the interfaces ?
 
 --
 mike 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]