My configuration scripts and output is located at the bottom of this
email:

I have two bridges operating in paralle.  One will fail over to the
other after about 30 seconds (which is longer than I have configured it
to take).  On the eth0 side is a Cisco Catalyst 5500 that is out of my
controll, but the admin group from this "switch" configured STP on the
two ports I have my brdiges connected to.  On the eth1 side is a 3com
3300 switch that is running a default configuration from the most part. 
My two questions are:
1)Why does it take so long to fail over?
2)What is this crap in the kernel log of the root bridge (It does not
seem to stop (repeats every 1 sec )):
Oct 26 13:23:21 testnt-19 kernel: br0: received tcn bpdu on port 1(eth0)
Oct 26 13:23:21 testnt-19 kernel: br0: topology change detected,
propagating
Oct 26 13:23:22 testnt-19 kernel: br0: received tcn bpdu on port 1(eth0)
Oct 26 13:23:22 testnt-19 kernel: br0: topology change detected,
propagating
Oct 26 13:23:23 testnt-19 kernel: br0: received tcn bpdu on port 1(eth0)
Oct 26 13:23:23 testnt-19 kernel: br0: topology change detected,
propagating
Oct 26 13:23:24 testnt-19 kernel: br0: received tcn bpdu on port 1(eth0)
Oct 26 13:23:24 testnt-19 kernel: br0: topology change detected,
propagating
Oct 26 13:23:25 testnt-19 kernel: br0: received tcn bpdu on port 1(eth0)
Oct 26 13:23:25 testnt-19 kernel: br0: topology change detected,
propagating
Oct 26 13:23:26 testnt-19 kernel: br0: received tcn bpdu on port 1(eth0)
Oct 26 13:23:26 testnt-19 kernel: br0: topology change detected,
propagating
Oct 26 13:23:27 testnt-19 kernel: br0: received tcn bpdu on port 1(eth0)
Oct 26 13:23:27 testnt-19 kernel: br0: topology change detected,
propagating
Oct 26 13:23:28 testnt-19 kernel: br0: received tcn bpdu on port 1(eth0)
Oct 26 13:23:28 testnt-19 kernel: br0: topology change detected,
propagating
Oct 26 13:23:29 testnt-19 kernel: br0: received tcn bpdu on port 1(eth0)
Oct 26 13:23:29 testnt-19 kernel: br0: topology change detected,
propagating
Oct 26 13:23:30 testnt-19 kernel: br0: received tcn bpdu on port 1(eth0)
Oct 26 13:23:30 testnt-19 kernel: br0: topology change detected,
propagating
Oct 26 13:23:31 testnt-19 kernel: br0: received tcn bpdu on port 1(eth0)
Oct 26 13:23:31 testnt-19 kernel: br0: topology change detected,
propagating
Oct 26 13:23:32 testnt-19 kernel: br0: received tcn bpdu on port 1(eth0)
Oct 26 13:23:32 testnt-19 kernel: br0: topology change detected,
propagating
Oct 26 13:23:33 testnt-19 kernel: br0: received tcn bpdu on port 1(eth0)
Oct 26 13:23:33 testnt-19 kernel: br0: topology change detected,
propagating
Oct 26 13:23:34 testnt-19 kernel: br0: received tcn bpdu on port 1(eth0)
Oct 26 13:23:34 testnt-19 kernel: br0: topology change detected,
propagating


Configuration script:

root bridge:
/sbin/brctl addbr br0
/sbin/brctl setbridgeprio br0 0
/sbin/brctl sethello br0 1
/sbin/brctl setmaxage br0 4
/sbin/brctl setfd br0 4
/sbin/brctl addif br0 eth0
/sbin/brctl addif br0 eth1
/sbin/ip addr add 0.0.0.0 dev eth0
/sbin/ip addr add 0.0.0.0 dev eth1
/sbin/ip link set eth0 up
/sbin/ip link set eth1 up
/sbin/ip addr add 128.210.62.209/24 broadcast 128.210.62.255 dev br0
/sbin/ip link set br0 up
/sbin/ip route add default via 128.210.62.1


non - root bridge:
/sbin/brctl addbr br0
/sbin/brctl sethello br0 1
/sbin/brctl setmaxage br0 4
/sbin/brctl setfd br0 4
/sbin/brctl addif br0 eth0
/sbin/brctl addif br0 eth1
/sbin/ip addr add 0.0.0.0 dev eth0
/sbin/ip addr add 0.0.0.0 dev eth1
/sbin/ip link set eth0 up
/sbin/ip link set eth1 up
/sbin/ip addr add 128.210.62.212/24 broadcast 128.210.62.255 dev br0
/sbin/ip link set br0 up
/sbin/brctl setfd br0 2
/sbin/ip route add default via 128.210.62.1

output from 'brctl showstp br0':
root:
br0
 bridge id              0000.00104b27bf4c
 designated root        0000.00104b27bf4c
 root port                 0                    path
cost                  0
 max age                   4.00                 bridge max
age             4.00
 hello time                1.00                 bridge hello
time          1.00
 forward delay             4.00                 bridge forward
delay       4.00
 ageing time             300.00                 gc
interval                4.00
 hello timer               0.22                 tcn
timer                  0.00
 topology change timer     0.46                 gc
timer                   1.22
 flags                  TOPOLOGY_CHANGE TOPOLOGY_CHANGE_DETECTED 


eth0 (1)
 port id                8001                    state                  
forwarding
 designated root        0000.00104b27bf4c       path cost               
100
 designated bridge      0000.00104b27bf4c       message age
timer          0.00
 designated port        8001                    forward delay
timer        0.00
 designated cost           0                    hold
timer                 0.11
 flags

eth1 (2)
 port id                8002                    state                  
forwarding
 designated root        0000.00104b27bf4c       path cost               
100
 designated bridge      0000.00104b27bf4c       message age
timer          0.00
 designated port        8002                    forward delay
timer        0.00
 designated cost           0                    hold
timer                 0.10
 flags


non - root:
br0
 bridge id              8000.00104b291b83
 designated root        0000.00104b27bf4c
 root port                 2                    path cost               
100
 max age                   4.00                 bridge max
age             4.00
 hello time                1.00                 bridge hello
time          1.00
 forward delay             4.00                 bridge forward
delay       2.00
 ageing time             300.00                 gc
interval                4.00
 hello timer               0.00                 tcn
timer                  0.00
 topology change timer     0.00                 gc
timer                   1.99
 flags                  TOPOLOGY_CHANGE 


eth0 (1)
 port id                8001                    state                  
blocking
 designated root        0000.00104b27bf4c       path cost               
100
 designated bridge      8000.00503ea8dc3d       message age
timer          1.30
 designated port        8253                    forward delay
timer        0.00
 designated cost          19                    hold
timer                 0.00
 flags

eth1 (2)
 port id                8002                    state                  
forwarding
 designated root        0000.00104b27bf4c       path cost               
100
 designated bridge      0000.00104b27bf4c       message age
timer          0.57
 designated port        8002                    forward delay
timer        0.00
 designated cost           0                    hold
timer                 0.00


-- 
Mike Cannon
Infrastructure Systems Administrator
Management Information
Purdue University
1061 Freehafer Hall (FREH)
West Lafayette, IN  47907-1061

office phone: 765.494.6357
office fax: 765.496.1380
email: [EMAIL PROTECTED]
_______________________________________________
Bridge mailing list
[EMAIL PROTECTED]
http://www.math.leidenuniv.nl/mailman/listinfo/bridge

Reply via email to