Skip to contentSkip to conversation

phosphor-network: does it make sense to disable systemd-networkd sending DHCP release?

DISCUSSION Heyi Guo 2 participants 3 messages Feb 21, 2022 – Mar 6, 2022

lore
Share & tools
lore

Heyi Guo

author
#0 lore raw

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

#1 lore raw
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=false

Does 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]
author
#2 lore raw

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=false

Does 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.