phosphor-network: does it make sense to disable systemd-networkd sending DHCP release?
Hi all,
Now systemd-networkd will send DHCP release packet when BMC reboots. This may cause BMC to lose its original aquired IP after next boot up. I see this feature can be disabled by adding below lines to the configuration file of systemd-networkd:
[DHCPv4]
SendRelease=false
Does it make sense to disable DHCP release? Or is there any reason for the current default configuration in phosphor-network?
Thanks,
Heyi
Quoted 4 lines · Heyi Guo
Hi all,
Now systemd-networkd will send DHCP release packet when BMC reboots. This may cause BMC to lose its original aquired IP after next boot up. I see this feature can be disabled by adding below lines to the configuration file of systemd-networkd:
Quoted 9 lines
[DHCPv4]
SendRelease=falseDoes it make sense to disable DHCP release? Or is there any reason for the current default configuration in phosphor-network?
Thanks,
Heyi
FWIW, users within Intel get very cranky when their IPv4 addresses change. I'm presently working on a defect related to the IP address being altered.
As it is unclear there is a run-time mechanism for changing this value, I'd at least like to see a compile time control. I expect Intel will choose to block sending a DHCP release request for when the BMC reboots.
Signature · 6 lines
Johnathan Mantey Senior Software Engineer *azad te**chnology partners* Contributing to Technology Innovation since 1992 Phone: (503) 712-6764 Email: [email protected]
Hi Johnathan,
Thanks for your feedback; I'll try to make a patch for that.
Heyi
Quoted 21 lines · Johnathan Mantey
Quoted 4 lines · Heyi Guo
Hi all,
Now systemd-networkd will send DHCP release packet when BMC reboots. This may cause BMC to lose its original aquired IP after next boot up. I see this feature can be disabled by adding below lines to the configuration file of systemd-networkd:
Quoted 9 lines
[DHCPv4]
SendRelease=falseDoes it make sense to disable DHCP release? Or is there any reason for the current default configuration in phosphor-network?
Thanks,
Heyi
FWIW, users within Intel get very cranky when their IPv4 addresses change. I'm presently working on a defect related to the IP address being altered.
As it is unclear there is a run-time mechanism for changing this value, I'd at least like to see a compile time control. I expect Intel will choose to block sending a DHCP release request for when the BMC reboots.