2023. 11. 6. 12:24ㆍIT System Engineer
# Teaming Configuration
sudo yum install teamd
nmcli device status
- 디바이스들의 DEVICE , TYPE , STATE , CONNECTION 의 정보를 조회
nmcli connection show
- 네트워크 connection 상태를 확인 및 UUID 확인
nmcli connection delete con-name team0-port1 type team-slave ifname ens2f0 master team0
nmcli connection delete con-name team0-port2 type team-slave ifname ens2f1 master team0
nmcli connection add con-name team0-port1 type team-slave ifname ens2f0 master team0
nmcli connection add con-name team0-port2 type team-slave ifname ens2f1 master team0
nmcli connection add con-name team0 type team ifname team0 config '{"runner":{"name":"activebackup"}}'
- Team Mode 는 roundrobin Mode 로 설정하고 Device Name 은 team0 으로 설정
nmcli connection show
nmcli connection modify team0 ipv4.addresses x.x.x.x ipv4.method manual ipv4.gateway x.x.x.x connection.autoconnect yes ipv4.dns x.x.x.x
systemctl restart NetworkManager
teamdctl team0 state
- team 의 현재 구성을 확인
teamnl team0 ports
- 현재 team 에 설정되어 있는 port 확인
teamdctl team0 state
- 현재 Active 중인 port 확인
nmcli device disconnect ens2f0
- Active 중인 Port 연결 중단
teamdctl team0 state
- Active port 변경되었는지 확인
nmcli device connect ens2f0
# teamdctl team0 state
- 포트 정상화
teamnl team0 getoption activeport
teamnl team0 ports
'IT System Engineer' 카테고리의 다른 글
Linux TCP/UDP Port 확인 (Linux Opened TCP/UDP Port checking) (0) | 2023.11.06 |
---|---|
Linux multiple Gateway 설정 (Linux multiple gateway settings) (0) | 2023.11.06 |
Linux ssh, sftp port 분리 (Linux ssh, sftp port separation) (0) | 2023.11.06 |
Linux Swap 설정 (Swap settings on Linux) (0) | 2023.11.06 |
Linux ssh-keygen 생성 (Generate ssh-keygen) (0) | 2023.11.06 |