Created
August 12, 2023 19:56
-
-
Save JosiahKerley/f50fb674c47422643d7cc88da15a2678 to your computer and use it in GitHub Desktop.
QAD DHCP Bond-on-a-Bridge
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nmcli --terse con show | cut -d':' -f2 | xargs -I {} nmcli con delete {} | |
nmcli con add type bridge con-name bridge0 ifname bridge0 | |
nmcli con add type bond con-name bond0 ifname bond0 bond.options "downdelay=100,miimon=100,mode=active-backup,updelay=100" master bridge0 | |
nmcli device status | awk '/ethernet/{print $1}' | xargs -I {} nmcli con add type ethernet con-name {} ifname {} master bond0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment