HP C7000刀片服務器實戰6:redhat6.8網卡綁定
阿新 • • 發佈:2018-01-11
etc 綁定 oss 網卡文件 配置網卡 oot dha src mod
1. 配置網卡文件 cd /etc/sysconfig/network-scripts [root@localhost]# vim ifcfg-Bond0 DEVICE=Bond0 TYPE=bonding ONBOOT=yes IPADDR=10.212.126.219 NETMASK=255.255.255.0 Gateway=10.212.126.1 MTU=1500 BONDING_OPTS=‘mode=0 miimon=100‘ //mode 0 是主備 USERCTL=no NM_CONTROLLED=yes BOOTPROTO=none [root@localhost]# cat ifcfg-eth0 DEVICE=eth0 TYPE=Ethernet ONBOOT=yes MASTER=Bond0 SLAVE=yes USERCTL=no NM_CONTROLLED=yes BOOTPROTO=none [root@localhost]# cat ifcfg-eth1 DEVICE=eth1 TYPE=Ethernet ONBOOT=yes MASTER=Bond0 SLAVE=yes USERCTL=no NM_CONTROLLED=yes
BOOTPROTO=none
HP C7000刀片服務器實戰6:redhat6.8網卡綁定