Is there a command to renew dhcp lease for ipmi?
I have updated config of my dhcp server, so that server should get a new ipmi address. But the server stay at its old address for some time. If I do not want to wait, I want to go to the server and force it to ask for the dhcp address. Is there a special command for that?
I know I can make
ipmitool bmc reset cold
and it works, but just wondering if it is possible without rebooting ipmi.
I have found a solution to rerequest an address for ipmi (at least I have tested it working on Supermicro server).
The trick is to set ip address source to static and then back to dhcp. For example:
ipmitool lan set 1 ipsrc static
ipmitool lan set 1 ipsrc dhcp
This way is faster than resetting bmc.
Note: a channel number may be different if you use non Supermicro server.