fix: slight changes to networking of jones

This commit is contained in:
silver 2023-01-25 09:07:20 +00:00
parent 19b06cfa0f
commit 07ff5dfbc7

View file

@ -42,20 +42,21 @@ in {
# vms are defined by teh vm host # vms are defined by teh vm host
networking.interfaces = { networking.interfaces = {
en01 = { en01 = {
ipv4.addresses = [ ipv4.routes = [
{ {
address = "${ip_pub}/32"; address = "${ip_pub}";
prefixLength = 24; prefixLength = 32;
# ITD skynet router # ITD skynet router
via = "193.1.99.65"; via = "193.1.99.65/32";
} }
]; ];
}; };
en02 = { en02 = {
useDHCP = false;
ipv4.addresses = [ ipv4.addresses = [
{ {
address = "${ip_priv}/32"; address = "${ip_priv}";
prefixLength = 24; prefixLength = 32;
} }
]; ];
}; };