RHEL7 - Link aggregation - It is pretty same concept like on Solaris LDOM - link aggregation.
Setup and configure link aggregation on RHEL7 server
Serer Address: 192.168.10.120/24
Client Address: 192.168.10.121/24
Configure on your server
# nmcli con add type team con-name Team1 ifname Team1 config '{"runner": {"name": "activebackup"}}'
# nmcli con modify Team1 ipv4.addresses 192.168.10.120/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
Test the connection
# teamdctl Team1 state
Disconnect the first interface
# nmcli dev dis eth1
# nmcli con up Team1-slave1
# teamnl Team1 ports
# teamnl Team1 getoption activeport
# teamnl Team1 setoption activeport PORT_NUMBER
Now, set up a client and once done, test the connectivity between client and server.
# ping –I Team1 192.168.10.121
Set up and configure on client
# nmcli con add type team con-name Team1 ifname Team1 config '{"runner": {"name": "activebackup"}}'
# nmcli con modify Team1 ipv4.addresses 192.168.10.121/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
Testing the connectivity
# teamdctl Team1 state
# nmcli dev dis eth1
# nmcli con up Team1-slave1
# teamnl Team1 ports
# teamnl Team1 getoption activeport
# teamnl Team1 setoption activeport PORT_NUMBER
Verify the connectivity with server.
# ping –I Team1 192.168.10.120
Setup and configure link aggregation on RHEL7 server
Serer Address: 192.168.10.120/24
Client Address: 192.168.10.121/24
Configure on your server
# nmcli con add type team con-name Team1 ifname Team1 config '{"runner": {"name": "activebackup"}}'
# nmcli con modify Team1 ipv4.addresses 192.168.10.120/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
Test the connection
# teamdctl Team1 state
Disconnect the first interface
# nmcli dev dis eth1
# nmcli con up Team1-slave1
# teamnl Team1 ports
# teamnl Team1 getoption activeport
# teamnl Team1 setoption activeport PORT_NUMBER
Now, set up a client and once done, test the connectivity between client and server.
# ping –I Team1 192.168.10.121
Set up and configure on client
# nmcli con add type team con-name Team1 ifname Team1 config '{"runner": {"name": "activebackup"}}'
# nmcli con modify Team1 ipv4.addresses 192.168.10.121/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
Testing the connectivity
# teamdctl Team1 state
# nmcli dev dis eth1
# nmcli con up Team1-slave1
# teamnl Team1 ports
# teamnl Team1 getoption activeport
# teamnl Team1 setoption activeport PORT_NUMBER
Verify the connectivity with server.
# ping –I Team1 192.168.10.120
No comments:
Post a Comment