Skip to content

Instantly share code, notes, and snippets.

@JulesAaelio
Created February 1, 2018 18:57
Show Gist options
  • Save JulesAaelio/23fee175380590afd0468e48029163ad to your computer and use it in GitHub Desktop.
Save JulesAaelio/23fee175380590afd0468e48029163ad to your computer and use it in GitHub Desktop.
[unix] bound two network interfaces

[Unix] Bound two network interfaces.

Install required packets

apt install ifenslave

Edit network configuration

nano /etc/network/interfaces 

ens34 and ens35 are the two interfaces we want to bound.

auto MyBond0
iface MyBond0 inet manual
        bond-slaves ens34 ens35
        bond-mode active-backup
        bond-miimon 100
        bond-primary ens34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment