Commit d3e5d98
committed
network: fix route for own subnet
Before the fix, the following routes were created for traffic to
ovirtmgmt:
default via 10.0.10.1 dev ovirtmgmt proto static
10.0.10.0/24 via 10.0.10.5 dev ovirtmgmt proto static
Where 10.0.10.5 is the IP address of the server itself.
While this seems to work fine on CentOS 9, this breaks traffic from the
own subnet on CentOS 10.
Therefor we replace it with the proper route:
10.0.10.0/24 dev ovirtmgmt proto kernel scope link src 10.0.10.5 metric 425
A question for this was also opened on the nmstate repository [1].
1: nmstate/nmstate#3003
Signed-off-by: Jean-Louis Dupond <jean-louis@dupond.be>1 parent a99350e commit d3e5d98
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
| 228 | + | |
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| |||
0 commit comments