1.[root@localhost ~]# cd /etc/sysconfig/network-scripts/ 进入此目录
2.[root@localhost network-scripts]# ls
ifcfg-eth1 ifdown-ippp ifdown-tunnel ifup-ipv6 ifup-sit
ifcfg-eth1:2 ifdown-ipv6 ifup ifup-isdn ifup-tunnel
ifcfg-lo ifdown-isdn ifup-aliases ifup-plip ifup-wireless
3.[root@localhost network-scripts]# cp ifcfg-eth1 ifcfg-eth1\:2
4.[root@localhost network-scripts]# vim ifcfg-eth1:2
6.[root@localhost network-scripts]# service network start
7.ifcfg-eth0 因为第一次配置后,没有成功, ifconfig -a 就显示eth1 所以我把ifcfg-eth0 改为
ifcfg-eth1