That broke ipv4 but not 6! Let's try and see if this works

This commit is contained in:
Lillian Violet 2024-05-07 10:36:30 +02:00
parent 41ca870d1c
commit 00179e7f62

View file

@ -103,14 +103,14 @@
# networking.nat.internalInterfaces = ["ve-+"]; # networking.nat.internalInterfaces = ["ve-+"];
# networking.nat.externalInterface = "ens18"; # networking.nat.externalInterface = "ens18";
networking.enableIPv6 = lib.mkForce true; networking.enableIPv6 = lib.mkForce true;
networking.nameservers = ["79.143.183.251" "79.143.183.252" "2a02:c207::1:53" "2a02:c207::2:53"]; networking.nameservers = ["2a02:c207::1:53" "2a02:c207::2:53"];
networking.interfaces.ens18.ipv4.addresses = [ # networking.interfaces.ens18.ipv4.addresses = [
{ # {
address = "62.171.160.195"; # address = "62.171.160.195";
prefixLength = 32; # prefixLength = 32;
} # }
]; # ];
networking.interfaces.ens18.ipv6.addresses = [ networking.interfaces.ens18.ipv6.addresses = [
{ {