centos7网卡配置bond
来源:互联网 发布:99客服软件下载 编辑:程序博客网 时间:2024/06/15 00:37
2016-03-03
晚上23:16:29
by:FHT
第一种方法用命令方式用的都是默认参数,比较方便快捷。
将网卡enp2s0f0和enp2s0f1绑到Bond0上
经过本人多次尝试,最终在真实服务器环境中使用!
[root@localhost ~]# cd /etc/sysconfig/network-scripts/
mkdir /tmp/wangka #在/tmp下面创建wangka的目录用户备份网卡配置文件
mv enp2s0f0 enp2s0f1 /tmp/wangka
将enp2s0f0 和 enp2s0f1 移除到 /tmp/wangka目录中,因为使用命令做Bond的时候会重新生成配置文件
下面正式开始使用命令来配置bond
nmcli con add type bond ifname bond0 mode balance-rr #(balance-rr负载均衡)
nmcli con add type bond-slave ifname enp2s0f0 master bond0 (enp20f0网卡名字)
nmcli con add type bond-slave ifname enp2s0f1 master bond0(enp2sof1网卡名字)
到此为止bond0已经配置完成
现在需要配置进入配置文件修改配置文件
[root@localhost network-scripts]# vim ifcfg-bond-bond0
[root@localhost network-scripts]# /etc/init.d/network restart
OK百分之百可以成功,经过好几天测试。
- centos7网卡配置bond
- centos7 网卡配置及bond配置
- CentOS7实现网卡bond
- bond网卡绑定配置
- 双网卡bond配置
- 网卡配置bond
- Linux下Bond网卡配置
- linux配置bond双网卡绑定
- bond网卡
- centos7配置网卡
- centos7 网卡配置
- CentOS7 配置网卡
- CentOS 6中配置bond多网卡负载均衡
- CentOS 6中配置bond多网卡负载均衡
- centos6.5 多网卡配置冗余(bond)
- linux配置bond网卡绑定与修改IP地址
- redhat 6.4 双网卡bond主备模式简单配置
- VirtualBox Centos7 双网卡配置
- Java:单例模式的七种写法
- c、OC、C++的三种预处理功能
- Leetcode House Robber
- ArrayList、Vector、LinkedList的区别及其优缺点?
- [C++11]_[初级]_[unique_ptr的使用场景]
- centos7网卡配置bond
- 函数简介
- Scala sbt 添加国内镜像
- 作用域
- python BeautifulSoup 库 笔记
- QT的signal和slot的几种常见使用场景
- POJ 3414 Pots【BFS】【图搜】
- 关于PHP.INI中的错误ERROR报告级别设置
- Hibernate一级缓存和二级缓存