主网卡配置

DEVICE="em1"

NAME="em1"

HWADDR=78:45:c4:fb:48:5b

ONBOOT=yes

BOOTPROTO=static

IPADDR=X.X.X.x

NETMASK=255.255.255.X

GATEWAY=X.X.X.X

DNS1=8.8.8.8

DNS2=114.114.114.114

ARPCHECK=no

NM_CONTROLLED=no


新建文件

ifcfg-em1-range0



IPADDR_START=xxxx

IPADDR_END=xxxx

NETMASK=255.255.255.x

CLONENUM_START=0

ARPCHECK=no