Setup a static IP
List Attached Network Interfaces
ip addr
Setup a static IP
See also How exactly are NetworkManager, networkd, netplan, ifupdown2, and iproute2 interacting?
Linux Mint
For a desktop, the best option is to configure it through the UI via NetworkManager.
Debian (linux cnc)
Ubuntu 20.04 LTS / netplan.io
- netplan creates configurations for either network manager before it starts. It is really a configuration abstraction and wheather it uses systemd-networkd or NetworkManager is part of the configuration.
Prefer NetworkManager for system with GUI, and networkd for headless server.
So far setting up a static ip with netplan with NetworkManager, prevent creation of interface for usb/ethernet adapter, unless explictly authorized in net plan config, for eg:
Ubuntu Server 18.04
Raspbian
Communicating with devices on a different subnet
Written on July 16, 2017, Last update on February 4, 2023
linux
network
system