diff --git a/machines/agentjones.nix b/machines/agentjones.nix index 72857b2..7e6727a 100644 --- a/machines/agentjones.nix +++ b/machines/agentjones.nix @@ -42,20 +42,21 @@ in { # vms are defined by teh vm host networking.interfaces = { en01 = { - ipv4.addresses = [ + ipv4.routes = [ { - address = "${ip_pub}/32"; - prefixLength = 24; + address = "${ip_pub}"; + prefixLength = 32; # ITD skynet router - via = "193.1.99.65"; + via = "193.1.99.65/32"; } ]; }; en02 = { + useDHCP = false; ipv4.addresses = [ { - address = "${ip_priv}/32"; - prefixLength = 24; + address = "${ip_priv}"; + prefixLength = 32; } ]; };