Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Created November 28, 2019 10:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cleverca22/b595a3c980eaa6b67518fd1ea8dc6254 to your computer and use it in GitHub Desktop.
Save cleverca22/b595a3c980eaa6b67518fd1ea8dc6254 to your computer and use it in GitHub Desktop.
{
networking = {
wireless.interfaces = [ "wlp3s0" ];
interfaces = {
enp2s0f1 = {
useDHCP = false;
macAddress = "a0:af:bd:82:39:0d";
};
wlp3s0 = {
useDHCP = false;
#macAddress = "a0:af:bd:82:39:0d";
};
bond0 = {
useDHCP = true;
};
};
bonds.bond0 = {
driverOptions = {
downdelay = "200";
miimon = "100";
mode = "active-backup";
primary = "enp2s0f1";
};
interfaces = [ "enp2s0f1" "wlp3s0" ];
};
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment