fix: the names for the interfaces were wrong

This commit is contained in:
silver 2023-01-24 20:03:00 +00:00
parent 3129e76528
commit 19b06cfa0f

View file

@ -41,15 +41,17 @@ in {
# this has to be defined for any physical servers # this has to be defined for any physical servers
# vms are defined by teh vm host # vms are defined by teh vm host
networking.interfaces = { networking.interfaces = {
eth0 = { en01 = {
ipv4.addresses = [ ipv4.addresses = [
{ {
address = "${ip_pub}/32"; address = "${ip_pub}/32";
prefixLength = 24; prefixLength = 24;
# ITD skynet router
via = "193.1.99.65";
} }
]; ];
}; };
priv0 = { en02 = {
ipv4.addresses = [ ipv4.addresses = [
{ {
address = "${ip_priv}/32"; address = "${ip_priv}/32";