Guest61 | Hi all. I just spent 18 hours reading Stack Exchange and wasn't able to migrate from gateway4. This config works fine, but I'd like to get rid of the warnings. If I remove gateway4 and try default instead, I lose access to the vm and have to reconstruct it. | 05:25 |
---|---|---|
Guest61 | network: | 05:25 |
Guest61 | version: 2 | 05:25 |
Guest61 | renderer: networkd | 05:25 |
Guest61 | ethernets: | 05:25 |
Guest61 | ens4: | 05:25 |
Guest61 | addresses: | 05:25 |
Guest61 | - 10.128.0.2/20 | 05:25 |
Guest61 | gateway4: 10.128.0.1 | 05:25 |
Guest61 | dhcp4: no | 05:25 |
Guest61 | routes: | 05:25 |
Guest61 | - to: 0.0.0.0/0 | 05:25 |
Guest61 | via: 10.128.0.1 | 05:25 |
Guest61 | table: 1000 | 05:25 |
Guest61 | routing-policy: | 05:25 |
Guest61 | - to: 10.128.0.2/20 | 05:25 |
Guest61 | table: 1000 | 05:25 |
Guest61 | - from: 10.128.0.2/20 | 05:25 |
Guest61 | addresses: | 05:25 |
Guest61 | - 8.8.8.8 | 05:25 |
Guest61 | - 8.8.4.4 | 05:25 |
Guest61 | result: ** (process:2141): WARNING **: 05:28:57.107: `gateway4` has been deprecated, use default routes instead. | 05:29 |
Guest61 | See the 'Default routes' section of the documentation for more details. | 05:29 |
Guest61 | ** (process:2141): WARNING **: 05:28:57.107: Problem encountered while validating default route consistency.Please set up multiple routing tables and use `routing-policy` instead. | 05:29 |
Guest61 | Error: Conflicting default route declarations for IPv4 (table: main, metric: default), first declared in ens5 but also in ens4 | 05:29 |
=== JanC is now known as Guest5232 | ||
=== JanC_ is now known as JanC | ||
=== JanC_ is now known as JanC | ||
=== JanC_ is now known as JanC |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!