Mailinglist Archive: opensuse-bugs (4067 mails)

< Previous Next >
[Bug 713194] New: Vlan interface does not work
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 19 Aug 2011 15:59:43 +0000
  • Message-id: <bug-713194-21960@http.bugzilla.novell.com/>

https://bugzilla.novell.com/show_bug.cgi?id=713194

https://bugzilla.novell.com/show_bug.cgi?id=713194#c0


Summary: Vlan interface does not work
Classification: openSUSE
Product: openSUSE 11.4
Version: Final
Platform: x86-64
OS/Version: openSUSE 11.4
Status: NEW
Severity: Major
Priority: P5 - None
Component: Kernel
AssignedTo: kernel-maintainers@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: luizluca@xxxxxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---
Blocker: ---


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20100101
Firefox/6.0

Hello,


First of all, yast cannot configure correctly a vlan interface using a bond0.
When I configure it, it copies the bond0 configuration and just rename it to
ifcfg-bond0.<vlanid>. However, the network scripts does not bring it up as they
consider it a bond device, which need bond interfaces.

I created by hand the same configuration that works with SLES.
ifcfg-vlan<vlan-id> and defined bond0 as its device. However, even with the
devices up, I get no network traffic. All configurations seems to be OK:

# cat /etc/sysconfig/network/ifcfg-bond0
BONDING_MASTER='yes'
BONDING_MODULE_OPTS='mode=802.3ad miimon=100'
BONDING_SLAVE0='eth0'
BONDING_SLAVE1='eth1'
BOOTPROTO='none'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR=''
MTU=''
NAME=''
NETMASK=''
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
USERCONTROL='no'

# cat /etc/sysconfig/network/ifcfg-vlan1704
BOOTPROTO='static'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR='0.0.0.0/32'
MTU=''
NAME=''
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
USERCONTROL='no'
ETHERDEVICE='bond0'

# cat /etc/sysconfig/network/ifcfg-vlan1709
BOOTPROTO='static'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR='0.0.0.0/32'
MTU=''
NAME=''
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
USERCONTROL='no'
ETHERDEVICE='bond0'



# cat /proc/net/bonding/bond0 /proc/net/vlan/*
Ethernet Channel Bonding Driver: v3.7.0 (June 2, 2010)

Bonding Mode: IEEE 802.3ad Dynamic link aggregation
Transmit Hash Policy: layer2 (0)
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0

802.3ad info
LACP rate: slow
Aggregator selection policy (ad_select): stable
Active Aggregator Info:
Aggregator ID: 1
Number of ports: 2
Actor Key: 17
Partner Key: 301
Partner Mac Address: 00:21:91:05:b7:e5

Slave Interface: eth0
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 00:1c:c4:ee:8c:ce
Aggregator ID: 1
Slave queue ID: 0

Slave Interface: eth1
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 00:1c:c4:ee:8c:cc
Aggregator ID: 1
Slave queue ID: 0
VLAN Dev name | VLAN ID
Name-Type: VLAN_NAME_TYPE_PLUS_VID_NO_PAD
vlan1704 | 1704 | bond0
vlan1709 | 1709 | bond0
vlan1704 VID: 1704 REORDER_HDR: 1 dev->priv_flags: 8001
total frames received 0
total bytes received 0
Broadcast/Multicast Rcvd 0

total frames transmitted 18
total bytes transmitted 1372
total headroom inc 0
total encap on xmit 0
Device: bond0
INGRESS priority mappings: 0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0
EGRESS priority mappings:
vlan1709 VID: 1709 REORDER_HDR: 1 dev->priv_flags: 8001
total frames received 0
total bytes received 0
Broadcast/Multicast Rcvd 0

total frames transmitted 18
total bytes transmitted 1372
total headroom inc 0
total encap on xmit 0
Device: bond0
INGRESS priority mappings: 0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0
EGRESS priority mappings:

The bond interface:

bond0 Link encap:Ethernet HWaddr 00:1C:C4:EE:8C:CE
inet6 addr: fe80::21c:c4ff:feee:8cce/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:810 errors:0 dropped:0 overruns:0 frame:0
TX packets:335 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:77953 (76.1 Kb) TX bytes:40652 (39.6 Kb)


And the interfaces with no rx

vlan1704 Link encap:Ethernet HWaddr 00:1C:C4:EE:8C:CE
inet6 addr: fe80::21c:c4ff:feee:8cce/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:1372 (1.3 Kb)

vlan1709 Link encap:Ethernet HWaddr 00:1C:C4:EE:8C:CE
inet6 addr: fe80::21c:c4ff:feee:8cce/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:1372 (1.3 Kb)


Wireshark shows that the tagged packages are received in bond0 interface. The
problem is just that it does not get to vlan<vlanid> interfaces.

THe hardware is a ProLiant DL380 G5, Broadcom Corporation NetXtreme II BCM5708
Gigabit Ethernet. Opensuse is 11.4, x86_64, fully updated.


Reproducible: Always

Steps to Reproduce:
1. configure vlan as shown before
2. try to use the network
Actual Results:
3. no package (tagged) is received from network in vlan interface

Expected Results:
3. the tagged package should arrive in the respective vlan interface

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
This Thread
  • No further messages