NIC Link Aggregation

1. The link aggregation advantage backup card device
Team, aggregated connection (also referred to as a link aggregation)
by a plurality of NICs (team-slave) from the formation with the virtual network adapter, i.e., "team"
effect: hot backup ( activebackup) connection redundancy
configuration link aggregation
1) Create a virtual NIC team0, specify the operating modes: hot backup mode
nmcli connection add type team con-name team0 ifname team0 autoconnect yes config '{ "runner": { "name": "activebackup"}} '// man teamd.conf Find Example
/ etc / sysconfig / Network-scripts / team0 the ifcfg-
2) add members
nmcli connection add type team-slave con -name team0-p1 ifname eth1 master team0 autoconnect yes
Team-the Add Connection type nmcli Slave name team0-CON-P2 ifname eth2 Master team0 autoConnect Yes
. 3) ip address configuration
nmcli team0 ipv4.method Modify Connection Manual ipv4.addresses '192.168.1.1/24' Yes connection.autoconnect
. 4) to activate the configuration
Connection up team0 nmcli
nmcli Connection up team0-1
nmcli Connection up team0-2
5) View
teamdctl team0 state // View team0 state
ifconfig eth1 down // manually disable the network card
ifconfig eth1 up // manually activate the card

Published 81 original articles · won praise 7 · views 1222

Guess you like

Origin blog.csdn.net/weixin_45157506/article/details/103881220