diff --git a/machines/agentjones.nix b/machines/agentjones.nix index 26612ea..33cdae5 100644 --- a/machines/agentjones.nix +++ b/machines/agentjones.nix @@ -14,7 +14,7 @@ let # name of the server, sets teh hostname and record for it name = "agentjones"; ip_pub = "193.1.99.72"; - ip_priv = "172.20.20.1"; + ip_priv = "193.1.99.125"; hostname = "${name}.skynet.ie"; in { @@ -48,32 +48,21 @@ in { # this has to be defined for any physical servers # vms are defined by teh vm host networking.interfaces = { -# eno1 = { -# ipv4.addresses = [ -# { -# address = "193.1.99.72"; -# prefixLength = 26; -# } -# ]; -# ipv4.routes = [ -# { -# address = "193.1.99.72"; -# prefixLength = 26; -# via = "193.1.99.65"; -# } -# ]; -# }; - eno2 = { - #useDHCP = false; + eno1 = { ipv4.addresses = [ { address = "193.1.99.72"; prefixLength = 26; } + ]; + }; + eno2 = { + #useDHCP = false; + ipv4.addresses = [ { # internal address address = "193.1.99.125"; - prefixLength = 24; + prefixLength = 26; } ]; };