network VLAN

How to configure VLAN interfaces

Linux

root@server[/etc/sysconfig/network-scripts]# cat ifcfg-eth3
DEVICE=eth3
ONBOOT=yes
HWADDR=00:0e:0c:f7:8f:4d

root@server[/etc/sysconfig/network-scripts]# cat ifcfg-eth3.20
DEVICE=eth3.20
VLAN=yes
ONBOOT=yes
BOOTPROTO=static
IPADDR=10.1.20.55
NETMASK=255.255.255.0
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License