NetworkManager.service
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
ifupdown section
ifupdown sectionExample configuration for a Debian-based machine
Last updated
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
ifupdown sectionLast updated
source /etc/network/interfaces.d/*
#The loopback network interface
auto lo
iface lo inet loopback[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false# wrong configuration
iface eth0 inet dhcp$ nmcli device status
DEVICE TYPE STATE CONNECTION
eth0 ethernet connected Wired connection 1
lo loopback connected (externally) lo $ ifconfig
# notice the inet field
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.22.6 netmask 255.255.255.0 broadcast 10.0.22.255
...
$ cat /etc/resolv.conf
# Generated by NetworkManager
nameserver [configured_nameserver_addr] # will usually be the router gateway or VPN DNS server