upstream4: use staticIpv4Address in ospf.stubNets4

This commit is contained in:
Astro 2022-11-01 01:40:37 +01:00
parent 32f422058e
commit 2994c00459
1 changed files with 7 additions and 2 deletions

View File

@ -28,7 +28,7 @@ in
role = "container";
};
upstream4 = {
upstream4 = rec {
forwardPorts = [
{ # http
destination = "172.20.73.45";
@ -329,7 +329,12 @@ in
};
};
};
ospf.upstreamInstance = 8;
ospf = {
upstreamInstance = 8;
stubNets4 = [
"${interfaces.up4-pppoe.upstream.staticIpv4Address}/32"
];
};
role = "container";
};