1. Mode
- 0 : balance-rr
- 1 : active-bakcup
2. Setting
예시로 [ens32], [ens34] Bonding 진행시
# nmcli device status
# nmcli connection add type bond con-name [bond0] ifname [bond0] bond.options "mode=active-backup,miimon=1000"
# nmcli device status
# nmcli connection add type ethernet slave-type bond con-name [bond0-ens32] ifname [ens32] master [bond0]
# nmcli connection add type ethernet slave-type bond con-name [bond0-ens34] ifname [ens34] master [bond0]
# nmcli connection modify [bond0] ipv4.addresses [192.168.0.150/24]
# nmcli connection modify [bond0] ipv4.gateway [192.168.0.1]
# nmcli connection modify [bond0] ipv4.dns [168.126.63.1]
# nmcli connection modify [bond0] ipv4.method manual
# nmcli connection down [ens32]
# nmcli connection down [ens34]
# nmcli connection up [bond0]
# nmcli device
# ifconfig
# cat /proc/net/bonding/[bond0]
# ifconfig [ens34] down
# ifconfig
'Linux' 카테고리의 다른 글
| [리눅스 마스터 1급] - 리눅스 운영체제 (0) | 2025.10.08 |
|---|---|
| [리눅스] 네임 서버 (0) | 2025.02.10 |
| [리눅스] 텔넷,SSH 서버 구축 (0) | 2025.02.04 |
| [리눅스] bash 셸 스크립트 기본 (0) | 2025.02.03 |
| 리눅스 - 하드디스크 관리 Part 2 (0) | 2025.02.02 |