/srv/irclogs.ubuntu.com/2023/05/31/#netplan.txt

Guest61Hi 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
Guest61network:05:25
Guest61  version: 205:25
Guest61  renderer: networkd05:25
Guest61  ethernets:05:25
Guest61    ens4:05:25
Guest61      addresses:05:25
Guest61      - 10.128.0.2/2005:25
Guest61      gateway4: 10.128.0.105:25
Guest61      dhcp4: no05:25
Guest61      routes:05:25
Guest61      - to: 0.0.0.0/005:25
Guest61        via: 10.128.0.105:25
Guest61        table: 100005:25
Guest61      routing-policy:05:25
Guest61      - to: 10.128.0.2/2005:25
Guest61        table: 100005:25
Guest61      - from: 10.128.0.2/2005:25
Guest61        addresses:05:25
Guest61        - 8.8.8.805:25
Guest61        - 8.8.4.405:25
Guest61result: ** (process:2141): WARNING **: 05:28:57.107: `gateway4` has been deprecated, use default routes instead.05:29
Guest61See 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
Guest61Error: Conflicting default route declarations for IPv4 (table: main, metric: default), first declared in ens5 but also in ens405: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!