首页 > 其他 > 详细

HP C7000刀片服务器实战6:redhat6.8网卡绑定

时间:2018-01-11 15:14:39      阅读:296      评论:0      收藏:0      [点我收藏+]
技术分享图片

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网卡绑定

原文:http://blog.51cto.com/574549743/2059783

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!