Linux 101 : The "networkctl" tool and the "systemd-networkd" service.
The networkctl utility can be used to get the status of different network interfaces using the information provided by the systemd-networkd service.
Some "networkctl" commands:
The below command displays the state of network interfaces, it also shows information about the default gateway and DNS:
The below command lists all the interfaces on a system - physical or virtual - along with additional information about their status:
- carrier: device is ready to carry traffic.
- routable: the device has a routable address configured.
- unmanaged: means that "networkd" service is not managing the device.
- configured: means that the device is configured correctly.
Comments