Bug 150771

Summary: VLAN configuration uses ambigious ethernet device
Product: [openSUSE] SUSE Linux 10.1 Reporter: Chip Schweiss <chip>
Component: NetworkAssignee: Peter Poeml <poeml>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: suse-beta
Version: Beta 4   
Target Milestone: ---   
Hardware: All   
OS: SuSE Linux 10.1   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Chip Schweiss 2006-02-14 12:38:23 UTC
VLAN configuration requires the specification of an ethernet device such as eth0, eth1, etc.  However, ever since network devices have been loaded via hotplug, the eth number cannot be predicted.

This assignment should be the same as for the ethernet device itself, assignable by the mac address.  

This bug is present all they way back to at least SuSE 9.3.
Comment 1 Michael Gross 2006-02-14 12:55:45 UTC
Which configuration (program/tool/dialog) are you talking about?
Comment 2 Chip Schweiss 2006-02-14 17:52:55 UTC
/etc/sysconfig/network/ifcfg-vlanX where X is the vlan being configured.

Also see /usr/share/doc/packages/vlan/README.SuSE  

ETHERDEVICE only accepts ethX.  eth numbers often varries from boot to boot.

It should use something like eth-id.
Comment 3 Chip Schweiss 2006-02-14 21:27:11 UTC
This is not an enhancement request.  If more than one ethernet device is in a machine, vlan configuration fails frequently.  Ethernet device configuration was updated many versions ago to reflect configuration based on mac address.  VLAN configuration was broken at this point.
Comment 4 Michael Gross 2006-02-15 14:33:41 UTC
Martin: Something for you? If not, please assign it back to us.
Comment 5 Martin Vidner 2006-02-15 14:55:16 UTC
According to man ifcfg-vlan, it is already possible. Does ETHERDEVICE="eth-id-xx:xx:xx:xx:xx:xx" work for you? If not, it is a bug of sysconfig -> zoz@suse.de
Comment 6 Chip Schweiss 2006-02-16 13:52:35 UTC
I had tried that but now with the quotes.  I was not aware of the man page only the /usr/share/docs/packages/vlan/README.SuSE.   

It now works as it should.  Might want to update the README.SuSE file to mention the proper way to config the vlan and mention the man page there also.

Comment 7 Martin Vidner 2006-02-16 14:47:27 UTC
reassigning to the maintainer of vlan.rpm
Comment 8 Peter Poeml 2006-02-16 16:36:50 UTC
ETHERDEVICE='eth-id-4c:00:10:51:11:ab' works, is there a problem with
that?

Do I understand correctly that the problem is that this is not covered
in the README?
Comment 9 Peter Poeml 2006-03-29 11:58:28 UTC
I added this to the README in vlan.rpm.