1
2
3
4
5
| root@localhost# modprobe 8021qroot@localhost# lsmod | grep --color 8021qroot@localhost# yum install vconfigroot@localhost# cat "modprobe 8021q" >> /etc/rc.modulesroot@localhost# chmod +x /etc/rc.modules |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| [root@sakito ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0DEVICE="eth0"BOOTPROTO=staticHWADDR="4C:72:B9:20:9A:AD"ONBOOT="no"TYPE=Ethernet IPADDR=0.0.0.0NETMASK=255.255.255.0[root@sakito ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0.11 DEVICE=eth0.11VLAN=yesTYPE=EthernetBOOTPROTO=staticIPADDR=172.16.7.131NETMASK=255.255.255.224
|
1
2
| root@localhost# yum remove NetworkManager.x86_64 root@localhost# chkconfig network on |