[TriLUG] Networking and Fedora

Randy Barlow randy at electronsweatshop.com
Thu May 27 08:17:22 EDT 2010


On 05/26/10 14:32, Jeff Schornick wrote:
> You appear to have two routes to the same destination subnet, equal
> metric to two different interfaces.  Since eth0 and br0 aren't
> currently bridged, I'd imagine this would lead to rather inconstant
> delivery.  I'm honestly not sure how the kernel choses which route to
> use under these circumstances, but I'm 99% sure it won't deliver each
> packet to both.
> 
> Do you perhaps want eth0 part of the br0 bridge group?

This is definitely the problem. Typically, you want to assign the
address to the bridge and assign no address to eth0. This is what it
looks like on my setup:

$ /sbin/ifconfig | grep <relevant_stuff>
br0       Link encap:Ethernet  HWaddr 00:24:1d:23:c6:44
          inet addr:192.168.25.138  Bcast:192.168.25.255  Mask:255.255.255.0
          inet6 addr: fe80::224:1dff:fe23:c644/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1877 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1557 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1516356 (1.4 MiB)  TX bytes:164007 (160.1 KiB)

eth0      Link encap:Ethernet  HWaddr 00:24:1d:23:c6:44
          inet6 addr: fe80::224:1dff:fe23:c644/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:1878 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1583 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1542847 (1.4 MiB)  TX bytes:168705 (164.7 KiB)
          Interrupt:29 Base address:0x2000

Note also that eth0 is in promiscuous mode.

$ /sbin/route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.25.0    *               255.255.255.0   U     1000   0        0 br0
loopback        *               255.0.0.0       U     0      0        0 lo
default         chewbaka        0.0.0.0         UG    1000   0        0 br0



More information about the TriLUG mailing list