cd /etc/sysconfig/network-scripts/
cp ifcfg-eth0 ifcfg-eth0:1
vim ifcfg-eth0:1
DEVICE=eth0:1 # 修改网卡名称
HWADDR=29:61:16:5B:29:7C
TYPE=Ethernet
UUID=bf14538c-a6cf-4fd3-b459-e4db69437c2e
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=static
IPADDR=192.168.1.203
NETMASK=255.255.255.192
GATEWAY=xxx.xxx.xx.xxx
DNS1=8.8.8.8