I configured a static IP for an interface:
IPADDR=‘2.2.2.14/16’
TYPE=‘Infiniband’
BOOTPROTO=‘static’
NETMASK=‘255.255.0.0’
STARTMODE=‘auto’
NAME=‘ib0’
IPOIB_MODE=‘connected’
The interface goes up after machine reboot but stays down after driver restart.
How can I configure it to go up after driver restart?
Maybe I need to configure somehow nanny to do so?
I already have “<use-nanny>true</use-nanny>” in the /etc/wicked/common.xml
Probably depends on what you mean by “driver restart.”
Drivers are “things” that aren’t started or stopped, they just exist and if are available “just work.”
But, the network service and the network interface can be stopped and started and utilize the network device driver.
So, for example
The following restarts the network service which affects all network interfaces on the machine
systemctl restart network.service
And, the following stops and starts the eth0 network interface (should work regardless whether configured for Wicked or Network Manager)