Hi all,
I've just upgraded to CentOS 6.2 from CentOS 5.5.
I've noticed the following issue when creating VLAN interface scripts:
I create the following script:
Code:
# ifcfg-eth1.0099
DEVICE="eth1.0099"
BOOTPROTO="none"
MTU="1500"
NM_CONTROLLED="no"
ONBOOT="yes"
TYPE="Ethernet"
VLAN="yes"
VLAN_NAME_TYPE="DEV_PLUS_VID"
PHYSDEV="eth1"
This is exactly the same script I use in CentOS 5.5.
When I try to bring up the interface I get the following error:
Code:
ifup eth1.0099
Error: argument "0099" is wrong: id is invalid
ERROR: could not add vlan 0099 as eth1.0099 on dev eth1
If I alter the script and change the DEVICE line to DEVICE="eth1.99" then I can bring up the interface but it obviously now is not padded like I want it to be.
Has padding been deprecated? A quick 'man vconfig' makes me think it hasn't. Has any one else come across the issue and know a resolution?
Thanks