If in a link-down state, an IP address is not assigned by NetworkManager. I want to always assign a static IP address to my Ethernet device regardless of its link status."
To do that, I created ‘unmanaged.conf’ in /etc/NetworkManager/conf.d to amek it an unmanaged device.
[root@pc ~] nmcli device status
DEVICE TYPE STATE CONNECTION
enp202s0f0np0 ethernet unmanaged –
And then, I careted ‘ifcfg-enp202s0f0np’ in /etc/sysconfig/netowork-scripts.
However, the device still does not have an IP address. Please let me know what I have done wrong.