Interface teaming with nmcli

Published: Mon 28 December 2015
By Jon M

In misc.

Create the team interface

This creates a new team interface named team0 and sets runner (bond mode) to lacp. In these examples the name of the interface is team0 - this is entirely for personal tastes. The connection name can be anything, using team simply makes things easier to follow.

$ nmcli connection add \
  type team \
  con-name team0 \
  ifname team0 \
  config '{"runner":{"name":"lacp"}}

Add slave device

$ nmcli connection add \
  type team-slave \
  con-name team0-port1 \
  ifname eno1 \
  master team0

Additional information can be found in the Red Hat Enterprise Linux Networking Guide documentation.

links

social