- nmcli connection modify bond0 ipv4.method manual ipv4.addresses ‘10.20.30.2/27’ ipv4.dns “114.114.114.114”
#nmcli connection modify bond1 ipv4.method manual ipv4.addresses ‘100.68.0.4/16’ - nmcli connection modify bond0 ipv4.method manual ipv4.addresses ‘10.20.30.1/27’ ipv4.dns “114.114.114.114”
#nmcli connection modify bond1 ipv4.method manual ipv4.addresses ‘100.68.0.5/16’
SSLVPN_1
nmcli connection add type bond con-name bond0 ifname bond0 mode balance-rr
nmcli connection add type bond-slave con-name bond0-enp4s0f1 ifname enp4s0f1 master bond0
nmcli connection add type bond-slave con-name bond0-enp4s0f0 ifname enp4s0f0 master bond0
nmcli connection add type bond con-name bond1 ifname bond1 mode balance-rr
nmcli connection add type bond-slave con-name bond1-enp6s0f0 ifname enp6s0f0 master bond1
nmcli connection add type bond-slave con-name bond1-enp6s0f1 ifname enp6s0f1 master bond1
nmcli connection modify bond0 ipv4.method manual ipv4.addresses ‘10.20.30.2/27’ ipv4.dns “114.114.114.114”
#nmcli connection modify bond1 ipv4.method manual ipv4.addresses ‘100.68.0.4/16’
nmcli connection up bond0
nmcli connection up bond0-enp4s0f0
nmcli connection up bond0-enp4s0f1
nmcli connection up bond1
nmcli connection up bond1-enp6s0f1
nmcli connection up bond1-enp6s0f0
SSLVPN_2
nmcli connection add type bond con-name bond0 ifname bond0 mode balance-rr
nmcli connection add type bond-slave con-name bond0-enp4s0f1 ifname enp4s0f1 master bond0
nmcli connection add type bond-slave con-name bond0-enp4s0f0 ifname enp4s0f0 master bond0
nmcli connection add type bond con-name bond1 ifname bond1 mode balance-rr
nmcli connection add type bond-slave con-name bond1-enp6s0f0 ifname enp6s0f0 master bond1
nmcli connection add type bond-slave con-name bond1-enp6s0f1 ifname enp6s0f1 master bond1
nmcli connection modify bond0 ipv4.method manual ipv4.addresses ‘10.20.30.1/27’ ipv4.dns “114.114.114.114”
#nmcli connection modify bond1 ipv4.method manual ipv4.addresses ‘100.68.0.5/16’
nmcli connection up bond0
nmcli connection up bond0-enp4s0f0
nmcli connection up bond0-enp4s0f1
nmcli connection up bond1
nmcli connection up bond1-enp6s0f1
nmcli connection up bond1-enp6s0f0