Skip to content

Commit

Permalink
Revert "- bond"
Browse files Browse the repository at this point in the history
This reverts commit 5bd9449.
  • Loading branch information
oluceps committed Mar 22, 2024
1 parent 75113e0 commit 426986b
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions hosts/hastur/network.nix
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,18 @@
};

netdevs = {
# bond0 = {
# netdevConfig = {
# Kind = "bond";
# Name = "bond0";
# # MTUBytes = "1300";
# };
# bondConfig = {
# Mode = "active-backup";
# PrimaryReselectPolicy = "always";
# MIIMonitorSec = "1s";
# };
# };
bond0 = {
netdevConfig = {
Kind = "bond";
Name = "bond0";
# MTUBytes = "1300";
};
bondConfig = {
Mode = "active-backup";
PrimaryReselectPolicy = "always";
MIIMonitorSec = "1s";
};
};

wg0 = {
netdevConfig = {
Expand Down Expand Up @@ -128,36 +128,36 @@
DHCP = "no";
};

# "20-wired-bond0" = {
# matchConfig.Name = "eth0";
"20-wired-bond0" = {
matchConfig.Name = "eth0";

# networkConfig = {
# Bond = "bond0";
# PrimarySlave = true;
# };
networkConfig = {
Bond = "bond0";
PrimarySlave = true;
};

# };
};

# "40-wireless-bond1" = {
# matchConfig.Name = "wlan0";
# networkConfig = {
# Bond = "bond1";
# };
# };
"40-wireless-bond1" = {
matchConfig.Name = "wlan0";
networkConfig = {
Bond = "bond1";
};
};

"5-eth0" = {
matchConfig.Name = "eth0";
"5-bond0" = {
matchConfig.Name = "bond0";
DHCP = "yes";
dhcpV4Config.RouteMetric = 2046;
dhcpV6Config.RouteMetric = 2046;
# address = [ "192.168.0.2/24" ];

# networkConfig = {
# BindCarrier = [ "eth0" "wlan0" ];
# };
networkConfig = {
BindCarrier = [ "eth0" "wlan0" ];
};


# linkConfig.MACAddress = "fc:62:ba:3a:e1:5f";
linkConfig.MACAddress = "fc:62:ba:3a:e1:5f";
};

"30-rndis" = {
Expand Down

0 comments on commit 426986b

Please sign in to comment.