On Wed, Aug 19, 2020 at 11:09 PM ToddAndMargo via users users@lists.fedoraproject.org wrote:
$ ifconfig | grep eno2 eno2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
$ /usr/bin/nmcli connection down eno2 Connection 'eno2' successfully deactivated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/6)
$ nmcli device | grep eno2 eno2 ethernet disconnected --
$ ping -c 1 8.8.8.8 ping: connect: Network is unreachable
$ ifconfig | grep eno2 eno2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
"UP" ??? On what planet?
On this one. A NIC can be "UP" and unconfigured.
"nmcli c" acts on the network layer, like "ip a".
"nmcli d" acts on the data link layer, like "ip l".