fix: the names for the interfaces were wrong
This commit is contained in:
parent
3129e76528
commit
19b06cfa0f
1 changed files with 4 additions and 2 deletions
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue