nmcli 网卡链路绑定team
来源:互联网 发布:微博域名修改 编辑:程序博客网 时间:2024/06/08 04:15
[root@server0 ~]# nmcli con show
创建一个名为team0并且属性为team的链路接口
[root@server0 ~]# nmcli con add type team con-name team0 ifname team0 config ‘{“runner”: {“name”:”activebackup”}}’
为team0配置ip地址与网关
[root@server0 ~]# nmcli connection modify team0 ipv4.addresses “192.168.25.211/24 192.168.25.250”
为team0配置DNS
[root@server0 ~]# nmcli connection modify team0 ipv4.dns “192.168.10.86 192.168.10.87”
设置team0的属性为 manual
[root@server0 ~]# nmcli connection modify team0 ipv4.method manual
将ent34网卡口 加到team0接口
[root@server0 ~]# nmcli connection add type team-slave conn-name team-port1 ifname ens34 master team0
将ent35网卡口 加到team0接口
[root@server0 ~]# nmcli connection add type team-slave conn-name team-port2 ifname ens35 master team0
启用接口中的网卡
[root@server0 ~]# nmcli connection up team-port1;nmcli connection up team-port2
[root@server0 ~]# teamdctl team0 state view
setup:
runner: activebackup
ports:
ens34
link watches:
link summary: up
instance[link_watch_0]:
name: ethtool
link: up
ens35
link watches:
link summary: up
instance[link_watch_0]:
name: ethtool
link: up
runner:
active port: ens34 //当前team0的主接口
转:http://blog.163.com/qiushuhui1989%40126/blog/static/2701108920152544352794/
- nmcli 网卡链路绑定team
- Centos7 通过nmcli team实现网卡绑定
- nmcli双网卡绑定
- CentOS 7.2 team实现网卡聚合链路(双网卡绑定)脚本及验证
- 在 Linux 中用 nmcli 命令绑定多块网卡
- Linux中使用team方法绑定网卡
- 网卡链路聚合之team
- nmcli
- 网卡的Team
- nmcli添加网卡 并且修改设备名字 添加IP地址
- 绑定网卡
- 网卡绑定
- RedHat 6 配置网卡team
- CentOS 7.2 bond实现网卡聚合链路(双网卡绑定)脚本及验证(适合云平台)
- linux网卡命令,网卡绑定
- linux 无线网卡的连接(命令行) —— network-manager(nmcli)
- bond,team链路聚合
- bongding 工作模式 和 所绑定的物理网卡的活动及链路状态
- HDU
- 2017多校2 1003Maximum Sequence
- HDU 3416 Marriage Match IV(最短路,网络流)
- Spring MVC 基础及入门
- 快速幂,矩阵快速幂(模板)
- nmcli 网卡链路绑定team
- CSU 1569Wet Tiles
- 最少拦截系统
- hdu 1757 A Simple Math Problem(矩阵快速幂基础题)
- HDU 4578 Transformation(线段树+做了4天的神题+详解)
- Ubuntu的Samba服务,实现Windows映射网络盘到Ubuntu
- python 关于协程的二三事
- linux服务器查看防火墙状态
- laravel资源路由