Creando VLAN en centos

Para crear VLANs en linux simplemente tenemos que crear nuevos subinterfaces con el nombre del fisico con la directriz VLAN=yes

es:

 network-scripts]# cat /etc/sysconfig/network-scripts/ifcfg-eth0.522
#
DEVICE=eth0.522
VLAN=yes
BOOTPROTO=static
IPADDR=10.1.2.19
NETMASK=255.255.255.224
ONBOOT=yes
[network-scripts]#

haces un ifup eth0.522 y a funcionar.

This entry was posted in centos, Networking and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *