[olug] gnu/linux 2.4 bridging problems

Phil Brutsche phil at brutsche.us
Wed Dec 11 02:09:39 UTC 2002


Brian Wiese wrote:
> Does anyone happen to have any experience with bridging in linux 2.4.19
> specifically?  =)

A little.

> Before trying to work with 2 different subnets, I'm just working with the
> one: 192.168.200.0/24 ...
> 
>    obsd        5pt dlinks        debian           windoze xp  =(
> [gw/dhcp]---[switch]--[switch]--[bridge]------[laptop via Xover in eth1]
> .200.1                    eth0=eth1=0.0.0.0      eth0=.200.111
>                             br0=.200.222
> 
> I do on the [bridge]:
> # brctl addbr br0
> # brctl addif br0 eth0
> # brctl addif br0 eth1
> # ifconfig eth0 0.0.0.0
> # ifconfig eth1 0.0.0.0
> # ifconfig br0 192.168.200.222 netmask 255.255.255.0 broadcast
> 192.168.200.255
> # route add default gw 192.168.200.1
> 
> now what's odd...
> 
> [from laptop] is many times I was able to get a DHCP lease from my
> gateway/dhcp server 192.168.200.1 (through the bridge, I could even see
> this work on a tcpdump), and in 'some' cases I was able to ping my
> dhcp/gw, and the network beyond that (a 10.0.0.0/24), but I could not
> resolve any DNS domain names, nor was I able to ping any of my DNS servers
> (cox: 66.37.238.26, 66.37.237.5)
> Same goes for signing things statically on the laptop.

How is the gateway configured?
Where is the 10.0.0.0/24 network on your diagram?
Does stuff work 100% reliably without the bridge in the middle?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Very important detail you didn't mention

-- 

Phil Brutsche
phil at brutsche.us




More information about the OLUG mailing list