NetworkManager is not disabling interfaces
Issue
- Do not want a networking interface
NICto show up asUPon boot or have ip address assignment in the output of
# ip address
- Do not want the networking interface to power the
switchporton boot - Have tried disabling
autoconnectbut even when theip addressdoes not show, I still see the interface isUP
# nmcli con mod enp1s0 connection.autoconnect no
-
However the interface still comes up on boot even if there is no
ip addressassigned. Want to completely disable the networking interface. -
Devices are showing
UPflag even though there isn't a link on that interface,ethtoolas well does not show any link:
eth1 Link encap:Ethernet HWaddr aa:aa:aa:xx:xx:xx
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Environment
- Red Hat Enterprise Linux (RHEL) 7
- Red Hat Enterprise Linux (RHEL) 8
- NetworkManager
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.