Network tips and tricks: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== Netplan gateway configuration == | |||
<syntaxhighlight lang="bash"> | |||
Depending on the Netplan version, gateway configuration in Netplan yml need to be updated. | |||
Before | |||
... | |||
gateway : 192.168.1.168 | |||
To | |||
... | |||
routes: | |||
- to: default | |||
via: 192.168.1.1 | |||
</syntaxhighlight> | |||
== netplan-ovs-cleanup.service is marked world-inaccessible == | == netplan-ovs-cleanup.service is marked world-inaccessible == | ||
Although this warning doesn't seem to cause any harm, Canonical said this bug was fixed in the package netplan.io - 1.1.1-1<ref>https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/2072486</ref> | Although this warning doesn't seem to cause any harm, Canonical said this bug was fixed in the package netplan.io - 1.1.1-1<ref>https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/2072486</ref> |
Latest revision as of 09:26, 10 March 2025
Netplan gateway configuration
Depending on the Netplan version, gateway configuration in Netplan yml need to be updated.
Before
...
gateway : 192.168.1.168
To
...
routes:
- to: default
via: 192.168.1.1
netplan-ovs-cleanup.service is marked world-inaccessible
Although this warning doesn't seem to cause any harm, Canonical said this bug was fixed in the package netplan.io - 1.1.1-1[1]
ModuleNotFoundError: No module named 'netifaces'
#if you have pip installed
pip install netifaces
#on Ubuntu
sudo apt install python3-netifaces