[Bridge] Is bridgeing possible with kernel 2.6.10

Juergen Pfeiffer j.pfeiffer at seskion.de
Wed Jul 26 09:26:03 PDT 2006


Stephen Hemminger schrieb:
>
> Did the bridge get set up right? Did the interfaces come up (look at 'brc=
tl 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 is sensitive to the network devices reporting carrier properly,
> so a bad network driver or card will make it not work.
>
>   =




-- =

------------------------------------------------------------------------
J=FCrgen Pfeiffer 	=

	=

	* _mailto:j.pfeiffer at seskion.de_
SesKion Softwareentwicklung und System Konzeption GmbH 	=

	=

	( : +49-711-9905814
Karlsruher Str. 11/1 	=

	=

	Fax: +49-711-9905827
D-70771 Leinfelden-Echterdingen 	=

	=

	1 _http://www.seskion.de_

------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linux-foundation.org/pipermail/bridge/attachments/2006072=
6/e3025312/attachment-0002.htm


More information about the Bridge mailing list