Network tips and tricks: Difference between revisions

From HPCWIKI
Jump to navigation Jump to search
No edit summary
(Add categories: Network, Reference)
Line 28: Line 28:
== References ==
== References ==
<references />
<references />
[[Category:Network]]
[[Category:Reference]]

Revision as of 00:58, 15 July 2026

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

References