Centos 5 单网卡添加多IP
/etc/sysconfig/network-scripts
ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
IPADDR=67.228.90.205
NETMASK=255.255.255.0
ifcfg-eth0:0
DEVICE=eth0:0
ONBOOT=yes
IPADDR=67.228.90.206
NETMASK=255.255.255.0
ifcfg-eth0:1
DEVICE=eth0:1
ONBOOT=yes
IPADDR=67.228.90.207
NETMASK=255.255.255.0
ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
IPADDR=67.228.90.205
NETMASK=255.255.255.0
ifcfg-eth0:0
DEVICE=eth0:0
ONBOOT=yes
IPADDR=67.228.90.206
NETMASK=255.255.255.0
ifcfg-eth0:1
DEVICE=eth0:1
ONBOOT=yes
IPADDR=67.228.90.207
NETMASK=255.255.255.0
因本文不是用Markdown格式的编辑器书写的,转换的页面可能不符合MIP标准。