You are on page 1of 1

nmcli con add type bond con-name bond0 ifname bond0 mode 802.

3ad ip4
138.35.219.174/24
nmcli con add type bond-slave ifname eno1 master bond0
nmcli con add type bond-slave ifname eno3 master bond0
nmcli con add type bond con-name bond1 ifname bond1 mode 802.3ad ip4 disabled
nmcli con add type bond-slave ifname eno2 master bond1
nmcli con add type bond-slave ifname eno4 master bond1
nmcli connection up bond-slave-eno1
nmcli connection up bond-slave-eno3
nmcli connection up bond-slave-eno2
nmcli connection up bond-slave-eno4
nmcli connection up bond0
nmcli connection up bond1
route add default gw 138.35.219.1 bond0

You might also like