본문 바로가기

Linux/3) 리눅스 네트워크 관리자 과정

01_04_01 Network Configuration Administration - 본딩 (Bonding)

Bonding 설정

1. bond interface 설정

# nmcli connection add type bond ifname bond0 con-name bond0 \

   bond0.options "mode=active-backup, miimon=1000'

 

2. bond interface에 interface 할당

# nmcli connection add type ethernet slave-type bond ifname ens33 con-name bond0-port1 \

  master bond0

 

# nmcli connection add type ehternet slave-type bond ifname ens36 con-name bpnd0-port2 \

   master bond0

 

3. bond0 interface에 IP 할당

# nmcli connection modify bond0 ipv4.addresses 192.168.10.200/24 ipv4.method manual ipv4.gateway 192.168.10.2 ipv4.dns 168.126.63.1 ipv4.dns-search example.com

 

4. bond0 활성화

# nmcli connection up bond0

 

5. 확인

# cat /prco/net/bonding/bond0