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

最新文章

  1. webpackJsonp is not defined?
  2. Python使用基础
  3. Hibernate 和 快照
  4. php动态调用方法_sux
  5. ubuntu 14.04 下试用Sublime Text 3
  6. hadoop cdh5的pig隐式转化(int到betyarray)不行了
  7. JAVA WEB快速入门之从编写一个JSP WEB网站了解JSP WEB网站的基本结构、调试、部署
  8. OpenStack的基础原理
  9. 剑指offer——python【第21题】栈的压入、弹出序列
  10. IDEA在debug时修改变量值
  11. Maven 自动打包上传到私服 Nexus
  12. Ajax与跨域Ajax
  13. git clone新项目后如何拉取分支代码到本地
  14. flex 布局 计算器
  15. react部署之页面空白
  16. elixir二进制模式匹配
  17. request.getSession()、reqeust.getSession(false)和request.getSession(true)
  18. mysql的InnoDB 数据库引擎TableSpace Exists 问题
  19. 【codevs2822】爱在心中
  20. IIS将http强转为https(重定向和重写)

热门文章

  1. mysqldump命令之常用模板
  2. MySQL--时间戳与时区问题
  3. Unity3D常用网络框架与实战解析 学习
  4. First 1
  5. ML(2)——感知器
  6. node inspector
  7. Scrapy 设置请求头
  8. python json.dumps(output) ^ SyntaxError: invalid syntax
  9. Linux split命令详解
  10. Spring Cloud(Dalston.SR5)--Hystrix 断路器-缓存