microwave: create "james" bond network
This commit is contained in:
parent
fb7d59f0b9
commit
a42ec3247a
1 changed files with 23 additions and 7 deletions
|
@ -28,19 +28,35 @@ systemd.network = {
|
||||||
# wait-online.ignoredInterfaces = [ "wlan0" "enp53s0" ];
|
# wait-online.ignoredInterfaces = [ "wlan0" "enp53s0" ];
|
||||||
|
|
||||||
# Interfaces on the machine
|
# Interfaces on the machine
|
||||||
networks."10-ether" = {
|
netdevs."10-james" = {
|
||||||
|
netdevConfig = {
|
||||||
|
Name = "james";
|
||||||
|
Kind = "bond";
|
||||||
|
};
|
||||||
|
bondConfig = {
|
||||||
|
Mode = "active-backup";
|
||||||
|
PrimaryReselectPolicy = "always";
|
||||||
|
MIIMonitorSec = "1s";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
networks."10-ether-bond" = {
|
||||||
matchConfig = { Name = "enp53s0"; };
|
matchConfig = { Name = "enp53s0"; };
|
||||||
networkConfig = {
|
networkConfig = {
|
||||||
DHCP = "yes";
|
Bond = "james";
|
||||||
IPv6AcceptRA = true;
|
PrimarySlave = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
networks."10-wlan" = {
|
networks."10-wlan-bond" = {
|
||||||
matchConfig = { Name = "wlan0"; };
|
matchConfig = { Name = "wlan0"; };
|
||||||
|
networkConfig = {
|
||||||
|
Bond = "james";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
networks."10-james-bond" = {
|
||||||
|
matchConfig = { Name = "james"; };
|
||||||
networkConfig = {
|
networkConfig = {
|
||||||
DHCP = "yes";
|
DHCP = "yes";
|
||||||
IPv6AcceptRA = true;
|
IPv6AcceptRA = true;
|
||||||
IgnoreCarrierLoss = true;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue