summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2021-03-12 20:34:01 +0100
committermakefu <github@syntax-fehler.de>2021-03-12 20:34:09 +0100
commitfe393ec4e753f2b84439eb719613a9fa79ec0c15 (patch)
treed12abdaae681ff97277383af6c0099be25e9285a /krebs
parent60706778704c425b69415ec40436cd61a35e87d1 (diff)
puyak.r: rename interface, use correct subnet
Diffstat (limited to 'krebs')
-rw-r--r--krebs/1systems/puyak/net.nix6
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;
}
];