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