Bridge is not bridging.
I have read several articles for setting up a network bridge.
My configuration is:
WorkStation --> Switch0:VLAN1 --> Switch1:VLAN1 --> bridge --> Switch1:VLAN45 --> Laptop
I am running CentOS 4.3 on the bridge
#> brctl show
bridge name bridge id STP enabled interfaces br0 8000.0030843e5aa2 no eth1
eth2
I followed the instructions at :
http://www.linuxjournal.com/article/8172
I can't ping the laptop nor can the laptop ping my workstation. I put an IP on br0 and tried to ping out and got nothing. tcpdump shows no traffic except for an arp request from the laptop.
Was I supposed to recompile my kernel? I saw at least one article that recommended recompilig the kernel with a couple of config changes. I have the latest stock 2.6 kernel RPM installed.
Do I need to do any special configuration on the switches like setting the port to do port monitoring or anything like that? Its a Cisco 2900 switch.
Any help would be appreciated.
Quoted 10 lines · On Thu, 13 Jul 2006 14:10:57 -0500 "Ezsra McDonald" <[email protected]>…
I have read several articles for setting up a network bridge.
My configuration is:
WorkStation --> Switch0:VLAN1 --> Switch1:VLAN1 --> bridge --> Switch1:VLAN45 --> Laptop
I am running CentOS 4.3 on the bridge
Quoted 9 lines
#> brctl show
bridge name bridge id STP enabled interfaces br0 8000.0030843e5aa2 no eth1eth2
I followed the instructions at :
Read the wiki
http://linux-net.osdl.org/index.php/Bridge
Quoted 8 lines
I can't ping the laptop nor can the laptop ping my workstation. I put an IP on br0 and tried to ping out and got nothing. tcpdump shows no traffic except for an arp request from the laptop.
Was I supposed to recompile my kernel? I saw at least one article that recommended recompilig the kernel with a couple of config changes. I have the latest stock 2.6 kernel RPM installed.
Quoted 5 lines
Do I need to do any special configuration on the switches like setting the port to do port monitoring or anything like that? Its a Cisco 2900 switch.
Any help would be appreciated.
Look at the status of the interfaces.
# brctl showstp br0
Perhaps one or more interfaces are not reporting carrier. Also, because the implementation of STP inside doesn't know about VLAN's other switches may turn off the port because of seeing STP packets.
Quoted 18 lines · Stephen Hemminger
Quoted 15 lines · On Thu, 13 Jul 2006 14:10:57 -0500 "Ezsra McDonald" <[email protected]>…
I have read several articles for setting up a network bridge.
My configuration is:
WorkStation --> Switch0:VLAN1 --> Switch1:VLAN1 --> bridge --> Switch1:VLAN45 --> Laptop
I am running CentOS 4.3 on the bridge
#> brctl show
bridge name bridge id STP enabled interfaces br0 8000.0030843e5aa2 no eth1eth2
Quoted 7 lines
Quoted 4 lines
I followed the instructions at :
Read the wiki
http://linux-net.osdl.org/index.php/Bridge
Yep, read that one too.
Quoted 8 lines
Quoted 8 lines
I can't ping the laptop nor can the laptop ping my workstation. I put an IP on br0 and tried to ping out and got nothing. tcpdump shows no traffic except for an arp request from the laptop.
Was I supposed to recompile my kernel? I saw at least one article that recommended recompilig the kernel with a couple of config changes. I have the latest stock 2.6 kernel RPM installed.
Do we need to do any kernel compilations? Are the stock kernels ok? I do see the "bridge" module loaded with an lsmod.
Quoted 4 lines
Quoted 4 lines
Do I need to do any special configuration on the switches like setting the port to do port monitoring or anything like that? Its a Cisco 2900 switch.
Any suggestions here? Enable port monitoring or no?
Quoted 6 lines
Quoted 2 lines
Any help would be appreciated.
Look at the status of the interfaces.
# brctl showstp br0
[root@staff-bridge ~]# brctl showstp br0
br0
bridge id 8000.001346998d68
designated root 8000.001346998d68
root port 0 path cost 0 max age 19.99 bridge max age 19.99 hello time 1.99 bridge hello time 1.99 forward delay 14.99 bridge forward delay 14.99 ageing time 299.95 hello timer 1.14 tcn timer 0.00 topology change timer 0.00 gc timer 0.00
flags
eth1 (1)
port id 8001 state disabled designated root 8000.001346998d68 path cost 19 designated bridge 8000.001346998d68 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 disabled designated root 8000.001346998d68 path cost 19 designated bridge 8000.001346998d68 message age timer 0.00 designated port 8002 forward delay timer 0.00 designated cost 0 hold timer 0.00
flags
Quoted 4 lines
Perhaps one or more interfaces are not reporting carrier. Also, because the implementation of STP inside doesn't know about VLAN's other switches may turn off the port because of seeing STP packets.
eth1 Link encap:Ethernet HWaddr 00:13:46:99:8D:6A
inet6 addr: fe80::213:46ff:fe99:8d6a/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:537728 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:108031928 (103.0 MiB) TX bytes:0 (0.0 b)
Interrupt:3 Base address:0xe400eth2 Link encap:Ethernet HWaddr 00:13:46:99:8D:68
inet6 addr: fe80::213:46ff:fe99:8d68/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:115688 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8363266 (7.9 MiB) TX bytes:0 (0.0 b)
Interrupt:9 Base address:0x800Quoted 77 lines · On Thu, 13 Jul 2006 15:23:07 -0500 "Ezsra McDonald" <[email protected]>…
Quoted 18 lines · Stephen Hemminger
Quoted 15 lines · On Thu, 13 Jul 2006 14:10:57 -0500 "Ezsra McDonald" <[email protected]>…
I have read several articles for setting up a network bridge.
My configuration is:
WorkStation --> Switch0:VLAN1 --> Switch1:VLAN1 --> bridge --> Switch1:VLAN45 --> Laptop
I am running CentOS 4.3 on the bridge
#> brctl show
bridge name bridge id STP enabled interfaces br0 8000.0030843e5aa2 no eth1eth2
Quoted 7 lines
Quoted 4 lines
I followed the instructions at :
Read the wiki
http://linux-net.osdl.org/index.php/BridgeYep, read that one too.
Quoted 8 lines
Quoted 8 lines
I can't ping the laptop nor can the laptop ping my workstation. I put an IP on br0 and tried to ping out and got nothing. tcpdump shows no traffic except for an arp request from the laptop.
Was I supposed to recompile my kernel? I saw at least one article that recommended recompilig the kernel with a couple of config changes. I have the latest stock 2.6 kernel RPM installed.
Do we need to do any kernel compilations? Are the stock kernels ok? I do see the "bridge" module loaded with an lsmod.
Quoted 4 lines
Quoted 4 lines
Do I need to do any special configuration on the switches like setting the port to do port monitoring or anything like that? Its a Cisco 2900 switch.
Any suggestions here? Enable port monitoring or no?
Quoted 6 lines
Quoted 2 lines
Any help would be appreciated.
Look at the status of the interfaces.
# brctl showstp br0[root@staff-bridge ~]# brctl showstp br0
br0
bridge id 8000.001346998d68
designated root 8000.001346998d68root port 0 path cost 0 max age 19.99 bridge max age 19.99 hello time 1.99 bridge hello time 1.99 forward delay 14.99 bridge forward delay 14.99 ageing time 299.95 hello timer 1.14 tcn timer 0.00 topology change timer 0.00 gc timer 0.00flags
eth1 (1)
port id 8001 state disabled designated root 8000.001346998d68 path cost 19 designated bridge 8000.001346998d68 message age timer 0.00 designated port 8001 forward delay timer 0.00 designated cost 0 hold timer 0.00flags
Quoted 7 lines
eth2 (2)
port id 8002 state disabled designated root 8000.001346998d68 path cost 19 designated bridge 8000.001346998d68 message age timer 0.00 designated port 8002 forward delay timer 0.00 designated cost 0 hold timer 0.00flags
Ports are disabled (so that means the carrier state is off).
Quoted 14 lines
Quoted 4 lines
Perhaps one or more interfaces are not reporting carrier. Also, because the implementation of STP inside doesn't know about VLAN's other switches may turn off the port because of seeing STP packets.
eth1 Link encap:Ethernet HWaddr 00:13:46:99:8D:6A
inet6 addr: fe80::213:46ff:fe99:8d6a/64 Scope:Link UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:537728 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:108031928 (103.0 MiB) TX bytes:0 (0.0 b) Interrupt:3 Base address:0xe400
Quoted 8 lines
eth2 Link encap:Ethernet HWaddr 00:13:46:99:8D:68
inet6 addr: fe80::213:46ff:fe99:8d68/64 Scope:Link UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:115688 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:8363266 (7.9 MiB) TX bytes:0 (0.0 b) Interrupt:9 Base address:0x800
You can check on carrier by doing:
cat /sys/class/net/eth1/carrier
The link detection is a function of the ethernet device driver (not the bridge). You may need to bring the devices up to start carrier detection/auto-negotiation.
ifconfig eth1 up
Also, sometimes the linux distributions network configuration (and hotplug) scripts can get in the way. Make sure and NOT list the devices you intend to use in any of the configuration info. Some distributions have ways to configure bridges in their boot scripts.
Signature · 2 lines
Stephen Hemminger <[email protected]> "And in the Packet there writ down that doome"
Doh!
Nice how just rebooting a server can fix things.
Case closed. Thanks for your help.
Quoted 132 lines · Stephen Hemminger
Quoted 77 lines · On Thu, 13 Jul 2006 15:23:07 -0500 "Ezsra McDonald" <[email protected]>…
Quoted 18 lines · Stephen Hemminger
Quoted 15 lines · On Thu, 13 Jul 2006 14:10:57 -0500 "Ezsra McDonald" <[email protected]>…
I have read several articles for setting up a network bridge.
My configuration is:
WorkStation --> Switch0:VLAN1 --> Switch1:VLAN1 --> bridge --> Switch1:VLAN45 --> Laptop
I am running CentOS 4.3 on the bridge
#> brctl show
bridge name bridge id STP enabled interfaces br0 8000.0030843e5aa2 no eth1eth2
Quoted 7 lines
Quoted 4 lines
I followed the instructions at :
Read the wiki
http://linux-net.osdl.org/index.php/BridgeYep, read that one too.
Quoted 8 lines
Quoted 8 lines
I can't ping the laptop nor can the laptop ping my workstation. I put an IP on br0 and tried to ping out and got nothing. tcpdump shows no traffic except for an arp request from the laptop.
Was I supposed to recompile my kernel? I saw at least one article that recommended recompilig the kernel with a couple of config changes. I have the latest stock 2.6 kernel RPM installed.
Do we need to do any kernel compilations? Are the stock kernels ok? I do see the "bridge" module loaded with an lsmod.
Quoted 4 lines
Quoted 4 lines
Do I need to do any special configuration on the switches like setting the port to do port monitoring or anything like that? Its a Cisco 2900 switch.
Any suggestions here? Enable port monitoring or no?
Quoted 6 lines
Quoted 2 lines
Any help would be appreciated.
Look at the status of the interfaces.
# brctl showstp br0[root@staff-bridge ~]# brctl showstp br0
br0
bridge id 8000.001346998d68
designated root 8000.001346998d68root port 0 path cost 0 max age 19.99 bridge max age 19.99 hello time 1.99 bridge hello time 1.99 forward delay 14.99 bridge forward delay 14.99 ageing time 299.95 hello timer 1.14 tcn timer 0.00 topology change timer 0.00 gc timer 0.00flags
eth1 (1)
port id 8001 state disabled designated root 8000.001346998d68 path cost 19 designated bridge 8000.001346998d68 message age timer 0.00 designated port 8001 forward delay timer 0.00 designated cost 0 hold timer 0.00flags
Quoted 7 lines
eth2 (2)
port id 8002 state disabled designated root 8000.001346998d68 path cost 19 designated bridge 8000.001346998d68 message age timer 0.00 designated port 8002 forward delay timer 0.00 designated cost 0 hold timer 0.00flags
Ports are disabled (so that means the carrier state is off).
Quoted 14 lines
Quoted 4 lines
Perhaps one or more interfaces are not reporting carrier. Also, because the implementation of STP inside doesn't know about VLAN's other switches may turn off the port because of seeing STP packets.
eth1 Link encap:Ethernet HWaddr 00:13:46:99:8D:6A
inet6 addr: fe80::213:46ff:fe99:8d6a/64 Scope:Link UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:537728 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:108031928 (103.0 MiB) TX bytes:0 (0.0 b) Interrupt:3 Base address:0xe400Quoted 8 lines
eth2 Link encap:Ethernet HWaddr 00:13:46:99:8D:68
inet6 addr: fe80::213:46ff:fe99:8d68/64 Scope:Link UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:115688 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:8363266 (7.9 MiB) TX bytes:0 (0.0 b) Interrupt:9 Base address:0x800You can check on carrier by doing:
cat/sys/class/net/eth1/carrierThe link detection is a function of the ethernet device driver (not the bridge). You may need to bring the devices up to start carrier detection/auto-negotiation.
ifconfig eth1 up
Also, sometimes the linux distributions network configuration (and hotplug) scripts can get in the way. Make sure and NOT list the devices you intend to use in any of the configuration info. Some distributions have ways to configure bridges in their boot scripts.
--
Stephen Hemminger <[email protected]>
"And in the Packet there writ down that doome"