Hola a todos mis amados lectores después de tiempo que les coloco algo, configurar vlan en centos 6.0 clonico de RED HAT.
root@localhost# modprobe 8021q
root@localhost# lsmod | grep --color 8021q
root@localhost# yum install vconfig
root@localhost# cat "modprobe 8021q" >> /etc/rc.modules
root@localhost# chmod +x /etc/rc.modules
Definir las interfaces de red, que te van a permitir utilizar y/o crear las redes vlan
[root@sakito ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
BOOTPROTO=static
HWADDR="4C:72:B9:20:9A:AD"
ONBOOT="no"
TYPE=Ethernet
IPADDR=0.0.0.0
NETMASK=255.255.255.0
[root@sakito ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0.11
DEVICE=eth0.11
VLAN=yes
TYPE=Ethernet
BOOTPROTO=static
IPADDR=172.16.7.131
NETMASK=255.255.255.224
Observación: "Si tiene instalado el network manager, te generara inconvenientes, mejor desinstalarlo con el siguiente comando"
root@localhost# yum remove NetworkManager.x86_64
root@localhost# chkconfig network on
No hay comentarios:
Publicar un comentario