logo

NetworkManager

CLI

nmcli (nm for NetworkManager)

  • nmcli: shows information similar to the now obsolete ifconfig command, including the name and model of the NIC, the media access control (MAC) address and (internet protocol) IP address, and which NIC is configured as the default gateway.
  • nmcli device show: get complete information about known devices and
  • nmcli connection show: get an overview of active connection profiles.
  • nmcli -h: get help.

Related Files

  • /usr/lib/NetworkManager.
  • /etc/NetworkManager: configs.
  • /etc/NetworkManager/NetworkManager.conf: main conf.
  • /etc/NetworkManager/system-connections: interface connection files; for both the wired network and the wireless networks.

dnsmasq plugin

dnsmasq: a lightweight DNS server. dnsmasq accepts DNS queries and either answers them from a small, local cache or forwards them to a real, recursive DNS server.

dnsmasq can also provide DHCP and TFTP services to a small-scale network.

The dnsmasq plugin: instead of using the DNS nameserver assigned by DHCP, NetworkManager will configure a local copy of dnsmasq that can be customized.

/etc/NetworkManager/dnsmasq.d