Linux聚合网络
2024-10-19 03:34:26
Linux聚合网络
作者:Eric
微信:loveoracle11g 链路聚合
[root@server1 ~]# ifconfig | grep eno
[root@server1 ~]# ls /etc/sysconfig/network-scripts/ | grep eno
[root@server1 ~]# nmcli connection show
[root@server1 ~]# nmcli device status 创建team虚拟网卡
[root@server1 ~]# nmcli connection add con-name team0 type team ifname team0 config '{"runner":{"name":"activebackup"}}' 加入team0组
[root@server1 ~]# nmcli connection add con-name eth1 ifname eno33554960 type team-slave master team0
[root@server1 ~]# nmcli connection add con-name eth2 ifname eno50332184 type team-slave master team0 配置team0的IP地址
[root@server1 ~]# nmcli connection modify team0 ipv4.addresses "192.168.10.20/24" ipv4.method manual connection.autoconnect yes 开启虚拟接口和网卡组
[root@server1 ~]# nmcli connection up team0
[root@server1 ~]# teamdctl team0 state
[root@server1 ~]# systemctl restart network
[root@server1 ~]# ifconfig
[root@server1 ~]# nmcli connection show
[root@server1 ~]# nmcli device status
[root@server1 ~]# ping 192.168.10.20 测试冗余
[root@server1 ~]# nmcli connection down eth1
最新文章
- webpackJsonp is not defined?
- Python使用基础
- Hibernate 和 快照
- php动态调用方法_sux
- ubuntu 14.04 下试用Sublime Text 3
- hadoop cdh5的pig隐式转化(int到betyarray)不行了
- JAVA WEB快速入门之从编写一个JSP WEB网站了解JSP WEB网站的基本结构、调试、部署
- OpenStack的基础原理
- 剑指offer——python【第21题】栈的压入、弹出序列
- IDEA在debug时修改变量值
- Maven 自动打包上传到私服 Nexus
- Ajax与跨域Ajax
- git clone新项目后如何拉取分支代码到本地
- flex 布局 计算器
- react部署之页面空白
- elixir二进制模式匹配
- request.getSession()、reqeust.getSession(false)和request.getSession(true)
- mysql的InnoDB 数据库引擎TableSpace Exists 问题
- 【codevs2822】爱在心中
- IIS将http强转为https(重定向和重写)