Netplan quirk

Zahid Rahman zahidr1000 at gmail.com
Wed Oct 20 17:08:17 UTC 2021


As you can see below a warning is shown
When running netplan apply.

ubuntu at ubuntu:~$ sudo netplan apply

** (generate:11395): WARNING **: 16:58:51.743: `gateway4` has b
een deprecated, use default routes instead.
See the 'Default routes' section of the documentation for more
details.

To remove the warning I took out the line

gateway4 :  192.168.0.1

Although the warning was gone  it had  disasterous  consequences , the pi
no longer was able to connect to the internet.


I am not sure which documents is being referred   to so I could see the new
change to be applied in the /etc/netplan/<anyname>.yaml file.



Regards

Zahid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20211020/65eb18c4/attachment.html>


More information about the ubuntu-users mailing list