网络组和多网卡绑定技术bonding相似,但是相较于后者来说,提供了更好的性能和扩展性

  • 多种运行方式

      broadcast
      roundrobin
      activebackup
      loadbalance
      lacp (implements the 802.3ad Link Aggregation Control Protocol) 
    
  • 启动网络组接口不会自动启动网络组中的port接口

  • 启动网络组接口中的port接口总是会自动启动网络组接口

  • 禁用网络组接口会自动禁用网络组中的port接口

  • 没有port接口的网络组接口可以启动静态ip连接

  • 启用dhcp连接时,没有port接口的网络组会等待port接口的加入

nmcli实现网络组

  • 创建网络接口组

      nmcli connect add type team con-name 连接名 ifname 组接口名
      [config '{"runner":{"name":"网络组模式“}}']
    
  • 创建port接口

      nmcli connect add type team-slave con-name  从连接名 ifname port接口 master 组接口  
    
  • 开启网络组

      nmcli connect up 从连接名
    
  • 可以通过对网络组配置ip等实现网络通讯