Hi.  I've been searching all over for a solution to my problem, but I just
can't seem to find one.  So I'm going to see if anyone on this list can
help me out.

I've been trying to set up an ethernet bridge on a Linux 2.4.18 kernel for
several days now.  The kernel has the netfilter option turned on and have
also applied the patch available at
bridge.sourceforge.net/devel/bridge-nf/bridge-nf-0.0.6-against-2.4.18.diff
and enabled both bridging and bridge-netfilter support.  I'm using
version 0.9.5 of the bride-utils.  Until I get the bridge to work, I won't
be adding any rules to any of the iptables chains.

The machine I'm trying to use as a bridge has two gigabit ethernet cards
whose drivers are compiled as modules (thier driver, bc5700.o, is not
included in the mainstream kernel yet.)  The two cards are eth1 and eth2.
eth1 is connected to a 100Mbit switch (soon to be upgraded to gigabit) and
eth2 is connected to a gigabit switch.  When I boot the kernel without
configuring a bridge, I can communicate through both interfaces just
fine.  When I start the bridge, the bridge machine can no longer communicate
with anybody, and traffic does not flow across the bridge.  Here's the
series of commands I use to start the bridge:

        brctl addbr br0
        ifconfig eth1 0.0.0.0 promisc up
        ifconfig eth2 0.0.0.0 promisc up
        brctl addif br0 eth1
        brctl addif br0 eth2
        ifconfig br0 X.X.X.154 netmask 255.255.255.128 broadcast X.X.X.255 \
                promisc up
        route add default gw X.X.X.129

After executing those commands, the interface br0 shows up in ifconfig.
Executing brctl showstp shows:
br0
 bridge id              8000.00047630877c
 designated root        8000.00047630877c
 root port                 0                    path cost                  0
 max age                  20.00                 bridge max age            20.00
 hello time                2.00                 bridge hello time          2.00
 forward delay            15.00                 bridge forward delay      15.00
 ageing time             300.00                 gc interval                4.00
 hello timer               1.07                 tcn timer                  0.00
 topology change timer    15.07                 gc timer                   1.07
 flags                  TOPOLOGY_CHANGE TOPOLOGY_CHANGE_DETECTED


eth1 (1)
 port id                8001                    state                   forwarding
 designated root        8000.00047630877c       path cost               100
 designated bridge      8000.00047630877c       message age timer        0.00
 designated port        8001                    forward delay timer      0.00
 designated cost           0                    hold timer               0.00
 flags

eth2 (2)
 port id                8002                    state                   forwarding
 designated root        8000.00047630877c       path cost               100
 designated bridge      8000.00047630877c       message age timer        0.00
 designated port        8002                    forward delay timer      0.00
 designated cost           0                    hold timer               0.00
 flags


Additionally, brctl showmacs shows that the bridge is recognizing the two
macs in the machine and several non-local macs.  Trouble is, nobody seems
to be getting through.

So, thats my predicament.  Am I missing something?  Does anybody have any
suggestions?  Thanks in advance for your help.

------------------------------------------------------------------------------
  Stephen P Molloy                                               ____    ____
   U-M College of Engineering (CompE)                           [    \  /    ]
   [EMAIL PROTECTED]                                       |    \/    |
   http://www-personal.engin.umich.edu/~smolloy                  |  |\  /|  |
                                                                [____]\/[____]

   "We are what we repeatedly do.  Excellence, therefore, is a habit."
        -Aristotle
------------------------------------------------------------------------------


_______________________________________________
Bridge mailing list
[EMAIL PROTECTED]
http://www.math.leidenuniv.nl/mailman/listinfo/bridge

Reply via email to