[Bridge] Is bridgeing possible with kernel 2.6.10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 26 Jul 2006 18:26:03 +0200
Juergen Pfeiffer <j.pfeiffer at seskion.de> wrote:

> Stephen Hemminger schrieb:
> >
> > Did the bridge get set up right? Did the interfaces come up (look
> > at 'brctl showstp br0') 
> $ ifconfig eth0 0.0.0.0 down
> $ ifconfig eth1 0.0.0.0 down
> $ brctl addbr br0
> $ brctl stp br0 on
> $ brctl addif br0 eth0
> $ brctl addif br0 eth1
> $ ifconfig eth0 0.0.0.0 up
> $ ifconfig eth1 0.0.0.0 up
> $ ifconfig br0 0.0.0.0 up
> 
> $ brctl showmacs br0
> port no mac addr                is local?       ageing timer
>   1     00:11:22:33:44:50       yes                0.00
>   2     00:11:22:33:44:51       yes                0.00
>   2     00:11:95:34:af:01       no                 2.91
>   2     00:c0:02:39:53:52       no                 2.76
> $ brctl showstp br0
> br0
>  bridge id              8000.001122334450
>  designated root        8000.001122334450
>  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
>  hello timer               1.45                 tcn 
> timer                  0.00
>  topology change timer     0.00                 gc
> timer 273.04
>  flags
> 
> 
> eth0 (1)
>  port id                8001
> state learning
>  designated root        8000.001122334450       path
> cost                100 designated bridge
> 8000.001122334450       message age timer          0.00
>  designated port        8001                    forward delay 
> timer        3.48
>  designated cost           0                    hold 
> timer                 0.44
>  flags
> 
> eth1 (2)
>  port id                8002
> state learning
>  designated root        8000.001122334450       path
> cost                100 designated bridge
> 8000.001122334450       message age timer          0.00
>  designated port        8002                    forward delay 
> timer        3.45
>  designated cost           0                    hold 
> timer                 0.43
>  flags
> 

The bridge starts in the learning state doesn't forward until the
forwarding delay (30 seconds) in expired. You need to be either patient
or set the delay to a lower value.


[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux