diff options
author | makefu <github@syntax-fehler.de> | 2021-03-12 20:34:01 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2021-03-12 20:34:09 +0100 |
commit | fe393ec4e753f2b84439eb719613a9fa79ec0c15 (patch) | |
tree | d12abdaae681ff97277383af6c0099be25e9285a /krebs/1systems | |
parent | 60706778704c425b69415ec40436cd61a35e87d1 (diff) |
puyak.r: rename interface, use correct subnet
Diffstat (limited to 'krebs/1systems')
-rw-r--r-- | krebs/1systems/puyak/net.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/krebs/1systems/puyak/net.nix b/krebs/1systems/puyak/net.nix index 4cb8d247c..8dab11e16 100644 --- a/krebs/1systems/puyak/net.nix +++ b/krebs/1systems/puyak/net.nix @@ -1,11 +1,11 @@ let - ext-if = "enp0s25"; + ext-if = "et0"; shack-ip = "10.42.22.184"; shack-gw = "10.42.20.1"; in { services.udev.extraRules = '' SUBSYSTEM=="net", ATTR{address}=="8c:70:5a:b2:84:58", NAME="wl0" - SUBSYSTEM=="net", ATTR{address}=="3c:97:0e:07:b9:14", NAME="et0" + SUBSYSTEM=="net", ATTR{address}=="3c:97:0e:07:b9:14", NAME="${ext-if}" ''; networking = { firewall.enable = false; @@ -13,7 +13,7 @@ in { interfaces."${ext-if}".ipv4.addresses = [ { address = shack-ip; - prefixLength = 20; + prefixLength = 22; } ]; |