VLAN over BRIDGE not working [SOLVED]

Lukas Rueegg list2007 at rtpartner.ch
Fri Sep 26 03:36:37 CDT 2008


hi list
just for archive reasons:

the problem was the network driver for the broadcom netXtreme II  
BCM5708 NICs included in RHEL5.2 (bnx2 v1.6.9).
i got a newer one from broadcom support (1.8.0d) which i could  
compile. and this one solves the problem correctly.

regards
lukas rueegg


On 12.09.2008, at 12:49, Lukas Rueegg wrote:

> hello
>
> we have three PE2850 with dual intel e1000 NIC cards inside running
> CentOS 5.2. we created a network bridge with the two NIC's and created
> three VLAN's running over the bridge. everything works fine, including
> STP.
>
> we now bougth a new PE2950 with dual broadcom netXtreme II BCM5708 NIC
> cards. same OS, same configuration. unfortunately i don't get any
> traffic through when running this configuration.
>
> interestingly enough, bridging alone works well, as VLAN does. only in
> combination, something doesn't work. although i'm quite sure not
> having any configuration errors, i would be glad if someone could
> quickly check my configuration:
>
> [root at host ~]# uname -a
> Linux host 2.6.18-92.1.10.el5 #1 SMP Tue Aug 5 07:42:41 EDT 2008
> x86_64 x86_64 x86_64 GNU/Linux
>
> [root at host ~]# cat /etc/sysconfig/network
> NETWORKING=yes
> NETWORKING_IPV6=no
> HOSTNAME=host
> GATEWAY=xx.xx.xx.1
>
> [root at host ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
> # Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet
> DEVICE=eth0
> BOOTPROTO=static
> HWADDR=00:1e:c9:f4:17:b9
> ONBOOT=yes
> TYPE=Ethernet
> BRIDGE=br0
>
> [root at host ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
> # Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet
> DEVICE=eth1
> BOOTPROTO=static
> HWADDR=00:1E:C9:F4:17:BB
> ONBOOT=yes
> TYPE=Ethernet
> BRIDGE=br0
>
> [root at host ~]# cat /etc/sysconfig/network-scripts/ifcfg-br0
> DEVICE=br0
> BOOTPROTO=static
> ONBOOT=yes
> TYPE=Bridge
> STP=yes
>
> [root at host ~]# cat /etc/sysconfig/network-scripts/ifcfg-vlan2
> VLAN=yes
> VLAN_NAME_TYPE=VLAN_PLUS_VID_NO_PAD
> DEVICE=vlan2
> PHYSDEV=br0
> BOOTPROTO=static
> ONBOOT=yes
> TYPE=Ethernet
> IPADDR=xx.xx.xx.18
> NETMASK=255.255.255.0
> NETWORK=xx.xx.xx.0
>
> [root at host ~]# /etc/init.d/network start
> Bringing up loopback interface:                            [  OK  ]
> Bringing up interface eth0:                                [  OK  ]
> Bringing up interface eth1:                                [  OK  ]
> Bringing up interface vlan2: Added VLAN with VID == 2 to IF -:br0:-
>                                                            [  OK  ]
> Bringing up interface br0:                                 [  OK  ]
>
>
> [root at host ~]# ifconfig
> br0       Link encap:Ethernet  HWaddr 00:1E:C9:F4:17:B9
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:15930 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:7141 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:2175348 (2.0 MiB)  TX bytes:705064 (688.5 KiB)
>
> eth0      Link encap:Ethernet  HWaddr 00:1E:C9:F4:17:B9
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:10 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:640 (640.0 b)  TX bytes:492 (492.0 b)
>           Interrupt:169 Memory:f8000000-f8012100
>
> eth1      Link encap:Ethernet  HWaddr 00:1E:C9:F4:17:BB
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:1 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:64 (64.0 b)  TX bytes:1068 (1.0 KiB)
>           Interrupt:169 Memory:f4000000-f4012100
>
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:39 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:39 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:8531 (8.3 KiB)  TX bytes:8531 (8.3 KiB)
>
> vlan2     Link encap:Ethernet  HWaddr 00:1E:C9:F4:17:B9
>           inet addr:xx.xx.xx.18  Bcast:xx.xx.xx.255  Mask: 
> 255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:0 (0.0 b)  TX bytes:1352 (1.3 KiB)
>
> [root at host ~]# route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref
> Use Iface
> xx.xx.xx.0     0.0.0.0         255.255.255.0   U     0      0        0
> vlan2
> 169.254.0.0     0.0.0.0         255.255.0.0     U     0      0
> 0 br0
> 0.0.0.0         xx.xx.xx.1     0.0.0.0         UG    0      0        0
> vlan2
>
> [root at host ~]# ping xx.xx.xx.1
> PING xx.xx.xx.1 (xx.xx.xx.1) 56(84) bytes of data.
> From xx.xx.xx.1: icmp_seq=1 Destination Host Unreachable
> From xx.xx.xx.1: icmp_seq=2 Destination Host Unreachable
> From xx.xx.xx.1: icmp_seq=3 Destination Host Unreachable
> From xx.xx.xx.1: icmp_seq=4 Destination Host Unreachable
>
>
>
>
> thanks for any infos or hints...
> regards
> lukas rueegg
>
>
>
> _______________________________________________
> Linux-PowerEdge mailing list
> Linux-PowerEdge at dell.com
> http://lists.us.dell.com/mailman/listinfo/linux-poweredge
> Please read the FAQ at http://lists.us.dell.com/faq
>



More information about the Linux-PowerEdge mailing list