Networking Forums

Networking Forums > Computer Networking > Linux Networking > Bridge problems

Reply
Thread Tools Display Modes

Bridge problems

 
 
Eric Adamson
Guest
Posts: n/a

 
      04-12-2005, 12:10 PM
My home network consists of a Linux packet-filtering router serving a
handful of Win2K & WinXP boxes and two laptops (not diagrammed below),
connected within two Class C subnets: 192.168.1.0\24 (802.11b) &
192.168.2.0\24 (10BT).

Here's a simple network diagram: (view using Courier font or equiv.)

wlan0 eth0

+---------+ +---------+------+ +-------+-------+
| | | | | | | |
cable_modem wireless_router box_1 Linux_router box_2 printer

I would like to bridge wlan0 & eth0, merging the two subnets. All addresses
on wlan0 & eth0 are static -- the wireless router is instructed to recognize
machines by MAC ID. I've loaded the newer bridge module (bridge.o) per the
HOWTO, and hosts on the two subnets could see each other, but box_2 could
not see the wireless_router.

Assuming this configuration is workable, how should routing work: should
box_2's default gateway be the wireless router's IP, or that of the Linux
router? I would expect it to be the wireless router, but box_2 cannot see
it. The bridge doesn't appear to be completely transparent -- do I need
help from iptables? Please note that the Linux router will also be a host
on the merged network -- does this make a difference?

I suspect I haven't given enough information, but this is all I have time to
write, for the moment. Any ideas or suggestions would be greatly
appreciated.

Thanks,

Eric Adamson
Lansing, Michigan


 
Reply With Quote
 
 
 
 
Eric Adamson
Guest
Posts: n/a

 
      04-12-2005, 12:19 PM
Just a quick note -- I describe my network as featuring a Linux
packet-filtering router, which is not entirely accurate. Iptables was not
active during bridging experiments. Well, iptables may have been active,
but all default chain policies were set to ACCEPT, and all rules were
flushed.

Eric



"Eric Adamson" <(E-Mail Removed)> wrote in message
news:8WO6e.6441$_(E-Mail Removed)...
> My home network consists of a Linux packet-filtering router serving a
> handful of Win2K & WinXP boxes and two laptops (not diagrammed below),
> connected within two Class C subnets: 192.168.1.0\24 (802.11b) &
> 192.168.2.0\24 (10BT).
>
> Here's a simple network diagram: (view using Courier font or equiv.)
>
> wlan0 eth0
>
> +---------+ +---------+------+ +-------+-------+
> | | | | | | | |
> cable_modem wireless_router box_1 Linux_router box_2 printer
>
> I would like to bridge wlan0 & eth0, merging the two subnets. All

addresses
> on wlan0 & eth0 are static -- the wireless router is instructed to

recognize
> machines by MAC ID. I've loaded the newer bridge module (bridge.o) per

the
> HOWTO, and hosts on the two subnets could see each other, but box_2 could
> not see the wireless_router.
>
> Assuming this configuration is workable, how should routing work: should
> box_2's default gateway be the wireless router's IP, or that of the Linux
> router? I would expect it to be the wireless router, but box_2 cannot see
> it. The bridge doesn't appear to be completely transparent -- do I need
> help from iptables? Please note that the Linux router will also be a host
> on the merged network -- does this make a difference?
>
> I suspect I haven't given enough information, but this is all I have time

to
> write, for the moment. Any ideas or suggestions would be greatly
> appreciated.
>
> Thanks,
>
> Eric Adamson
> Lansing, Michigan
>
>



 
Reply With Quote
 
Jarek Poplawski
Guest
Posts: n/a

 
      04-14-2005, 10:38 AM
On 2005-04-12, Eric Adamson <(E-Mail Removed)> wrote:
> My home network consists of a Linux packet-filtering router serving a
> handful of Win2K & WinXP boxes and two laptops (not diagrammed below),
> connected within two Class C subnets: 192.168.1.0\24 (802.11b) &
> 192.168.2.0\24 (10BT).
>
> Here's a simple network diagram: (view using Courier font or equiv.)
>
> wlan0 eth0
>
> +---------+ +---------+------+ +-------+-------+
> | | | | | | | |
> cable_modem wireless_router box_1 Linux_router box_2 printer
>
> I would like to bridge wlan0 & eth0, merging the two subnets. All addresses
> on wlan0 & eth0 are static -- the wireless router is instructed to recognize
> machines by MAC ID. I've loaded the newer bridge module (bridge.o) per the
> HOWTO, and hosts on the two subnets could see each other, but box_2 could
> not see the wireless_router.


According to BRIDGE-STP-HOWTO:
"A bridge is a device that separates two or more network segments
within one logical network (e.g. a single IP-subnet)."

Forwarding should be enough, but it all would be simpler with one
logical network. If you must have two:
- on linux router you should have forwarding enabled,
- on linux router set wireless router as default gateway and
check if routes to 192.168.1.0/24 and 192.168.2.0/24 are set,
- on box_2 set linux router as default gateway,
- on wireless router set route to 192.168.2.0/24 with linux
router as gateway; if it's not possible, you can set SNAT on linux
router for connections from 192.168.2.0/24.

Jarek Poplawski
 
Reply With Quote
 
chris-usenet@roaima.co.uk
Guest
Posts: n/a

 
      04-14-2005, 01:44 PM
Eric Adamson <(E-Mail Removed)> wrote:
> I would like to bridge wlan0 & eth0, merging the two subnets


Unless you've got true native Linux drivers for your wireless card (e.g.
prism?) you won't be able to bridge to it.

Chris
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problems with bridge and ebtables... Damir Galič Linux Networking 1 07-26-2005 10:49 AM
Problems using Edimax WLAN 5-in-1 as a bridge Ken Wireless Internet 2 03-15-2005 11:08 PM
Problems using Edimax WLAN 5-in-1 as a bridge Ken Linux Networking 2 03-15-2005 11:08 PM
Network Bridge Problems... Michael Heier Windows Networking 2 06-11-2004 03:22 PM
Problems configuring a bridge type ADSL link. Peter Nunn Linux Networking 0 02-11-2004 08:53 AM



1 2 3 4 5 6 7 8 9 10 11