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
当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »
因本文不是用Markdown格式的编辑器书写的,转换的页面可能不符合AMP标准。