RHEL7 -- 使用team替换bonding实现链路聚合网卡绑定
2015-08-17 22:06
549 查看
将网卡enp0s8、enp0s9进行链路绑定 安装teamd包 # yum install teamd 创建一个team链接 # nmcli con add con-name team0 type team ifname team0 config '{"runner":{“name”:"activebackup"}}' Connection 'team0' (7100f55b-3fa5-46d3-84e8-26803f2a6117) successfully added. 将两个网卡加进来 # nmcli con add type team-slave con-name team0-slave1 ifname enp0s8 master team0 Connection 'team0-slave1' (061bc662-c233-4350-9a8a-3893e6ff59c2) successfully added. # nmcli con add type team-slave con-name team0-slave2 ifname enp0s9 master team0 Connection 'team0-slave2' (6ac26f01-c19d-4a1d-af1e-140bc0a4ac5d) successfully added. 为聚合网卡配置ip,设置manual属性 # nmcli con mod team0 ipv4.addresses 192.168.56.123/24 ipv4.method manual 启动聚合链接 # nmcli con up team0 Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/4) 查看状态 # teamdctl team0 state setup: runner: activebackup ports: enp0s8 link watches: link summary: up instance[link_watch_0]: name: ethtool link: up enp0s9 link watches: link summary: up instance[link_watch_0]: name: ethtool link: up runner: active port: enp0s9
相关文章推荐
- jqueryMobile的重要知识点
- hdu-1869 六度分离
- role
- hdoj 2066 一个人的旅行
- 数据库的基本命令及使用
- leetcode-110:判断平衡二叉树 Java
- POJ 2752 Seek the Name, Seek the Fame
- 关于System.Convert那些事
- 【Unity3D Game develop by example】简单的例子—平板接掉落球
- leetcode-110:判断平衡二叉树 Java
- POJ 3764 The xor-longest Path(字典树 + 贪心)
- Kruskal算法-图由邻接表实现
- 编辑距离计算-动态规划法
- 在Unity项目中使用渐进网格技术
- NS3网络仿真(12): ICMPv4协议
- java中String的常用方法
- Shell脚本学习笔记
- hdu(1069)——Monkey and Banana(LIS变形)
- POJ 3080--Blue Jeans【KMP && 暴力枚举】
- 每日五题(mybatis)