Browse Source

Add static IPv4 to storage.hq

master
Emery Hemingway 3 months ago
parent
commit
6ac2a2c6d4
1 changed files with 14 additions and 0 deletions
  1. 14
    0
      hosts/server7/containers/storage/default.nix

+ 14
- 0
hosts/server7/containers/storage/default.nix View File

@@ -55,6 +55,20 @@ name:
55 55
       };
56 56
     };
57 57
 
58
+    networking.interfaces.eth0 = {
59
+      ipv4 = {
60
+        addresses = [{
61
+          address = "172.22.99.20";
62
+          prefixLength = 24;
63
+        }];
64
+        routes = [{
65
+          address = "0.0.0.0";
66
+          prefixLength = 0;
67
+          via = "172.22.99.1";
68
+        }];
69
+      };
70
+    };
71
+
58 72
     networking.firewall.enable = false;
59 73
   };
60 74
 

Loading…
Cancel
Save