On 2020-08-20 05:28, ToddAndMargo via users wrote:
oh and it gets even screwier:
$ 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?
I just created:
ifconfig reports network status incorrectly https://bugzilla.redhat.com/show_bug.cgi?id=1870370
NOTABUG
ifconfig, as well as "ip link", are showing the status at the OSI Link Layer.
If you were to pull the cable you'd see.
[egreshko@meimei ~]$ ip link show enp2s0 2: enp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000