Network tips and tricks

From HPCWIKI
Revision as of 09:26, 10 March 2025 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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