[olug] gnu/linux 2.4 bridging problems

Brian Wiese bwiese at cotse.com
Wed Dec 11 06:50:24 UTC 2002


On Tue, 10 Dec 2002 20:09:39 -0600
Phil Brutsche <phil at brutsche.us> wrote:

|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?

gateway works just fine, it routes my 192.168.200.0/24 to 10.0.0.1 (a
linksys route, hooked up to the cable modem)

|Where is the 10.0.0.0/24 network on your diagram?
|Does stuff work 100% reliably without the bridge in the middle?
|^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

everything has worked 100% reliable, and beyond the bridge everything
(bedides my laptop) seems fine.  It may have very well been a 'windoze'
thing on the laptop, I'm not sure.  

Well, I sat down today on the laptop, everything was working.  I turned
off spanning tree to cut down some of the traffic.  I restarted my
networking, things worked... I walked away again, and when I came back
lo-and-behold things were not working.  I dunno, maybe I'm going crazy...
I'm trying to get some standard base to work with... and just hopefully it
will keep working.  I let you know if I discover any more problems.
thanks.

|Very important detail you didn't mention
|
|-- 
|
|Phil Brutsche
|phil at brutsche.us
|
|_______________________________________________
|OLUG mailing list
|OLUG at olug.org
|http://lists.olug.org/mailman/listinfo/olug
|


  Brian Wiese | bwiese at cotse.com | aim: unolinuxguru
------------------------------------------------------
  GnuPG/PGP key 0x1E820A73 | "FREEDOM!" - Braveheart 
------------------------------------------------------  
This is not about Napster or DVDs. It's about your Freedom.
  I'll see your DMCA and raise you a First Amendment.
              http://www.anti-dmca.org



More information about the OLUG mailing list