upstream4: use staticIpv4Address in ospf.stubNets4
This commit is contained in:
parent
32f422058e
commit
2994c00459
|
@ -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";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue