upstream4: use staticIpv4Address in ospf.stubNets4
This commit is contained in:
parent
32f422058e
commit
2994c00459
|
@ -28,7 +28,7 @@ in
|
||||||
role = "container";
|
role = "container";
|
||||||
};
|
};
|
||||||
|
|
||||||
upstream4 = {
|
upstream4 = rec {
|
||||||
forwardPorts = [
|
forwardPorts = [
|
||||||
{ # http
|
{ # http
|
||||||
destination = "172.20.73.45";
|
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";
|
role = "container";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue