centos7网卡配置vlan

修改network

[root@localhost sysconfig]# cat /etc/sysconfig/network
VLAN=yes

添加VLAN ID 为2000网络

cp ifcfg-eno1 ifcfg-eno1.2000
[root@localhost network-scripts]# cat ifcfg-eno1.2000
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=static
IPADDR=192.168.24.55
NETMASK=255.255.255.0
GATEWAY=192.168.24.254
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
NAME=eno1.2000
UUID=f6088a13-3f15-454c-8bdd-7358922360f0
DEVICE=eno1.2000
ONBOOT=yes

centos7网卡配置vlan

上一篇:Install Cygwin on Win7 64bit with SSH


下一篇:关键词