nerdexam
Red_Hat

EX300(23Q) · Question #6

Configure your serverX and desktopX, which watches for link changes and selects an active port for data transfers. serverX should have the address as 192.168.X.10/255.255.255.0. desktopX should have…

On Server Machine: nmcli con add type team con-name Team1 ifname Team1 config '{"runner": "activebackup"}' nmcli con modify Team1 ipv4.addresses 192.168.1.10/24 nmcli con modify Team1 ipv4.method manual nmcli con add type team-slave con-name Team1-slave1 ifname eth1 master…

Configure Link Aggregation

Question

Configure your serverX and desktopX, which watches for link changes and selects an active port for data transfers.
  • serverX should have the address as 192.168.X.10/255.255.255.0.
  • desktopX should have the address as 192.168.X.11/255.255.255.0. (Note: where X is your station number)

Explanation

On Server Machine: nmcli con add type team con-name Team1 ifname Team1 config '{"runner": "activebackup"}' nmcli con modify Team1 ipv4.addresses 192.168.1.10/24 nmcli con modify Team1 ipv4.method manual nmcli con add type team-slave con-name Team1-slave1 ifname eth1 master Team1 nmcli con add type team-slave con-name Team1-slave2 ifname eth2 master Team1

nmcli con up Team1 nmcli con up Team1-slave1 nmcli con up Team1-slave2

Verification & Testing: teamdctl Team1 state nmcli dev dis eth1 ---- Disconnect device for verification nmcli con up Team1-slave1 teamn1 Team1 ports teamn1 Team1 geloption activeport teamn1 Team1 geloption activeport PORT_NUMBER

ping -I Team1 192.168.1.11

On Desktop Machine: nmcli con add type team con-name Team1 ifname Team1 config '{"runner": "activebackup"}' nmcli con modify Team1 ipv4.addresses 192.168.1.11/24 nmcli con modify Team1 ipv4.method manual nmcli con add type team-slave con-name Team1-slave1 ifname eth1 master Team1 nmcli con add type team-slave con-name Team1-slave2 ifname eth2 master Team1

nmcli con up Team1 nmcli con up Team1-slave1 nmcli con up Team1-slave2

Verification & Testing: teamdctl Team1 state nmcli dev dis eth1 ---- Disconnect device for verification nmcli con up Team1-slave1 teamn1 Team1 ports teamn1 Team1 geloption activeport teamn1 Team1 geloption activeport PORT_NUMBER

ping -I Team1 192.168.1.10

Topics

#network bonding#link aggregation#active-backup mode#NetworkManager teaming

Community Discussion

No community discussion yet for this question.

Full EX300(23Q) Practice