Bugzilla – Bug 150771
VLAN configuration uses ambigious ethernet device
Last modified: 2006-03-29 11:58:28 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.
Which configuration (program/tool/dialog) are you talking about?
/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.
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.
Martin: Something for you? If not, please assign it back to us.
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
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.
reassigning to the maintainer of vlan.rpm
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?
I added this to the README in vlan.rpm.