Skip to content
Snippets Groups Projects
Commit 236136a3 authored by GitBot's avatar GitBot Committed by Tobias Kahlki
Browse files

Integrate meta-seconorth-machine/kirkstone-stabilize-ip-for-edgehog

--

Commit: seco-ne/yocto/layers/meta-seconorth-machine@48a0f29e



systemd-conf:wired.network: do not send DHCP release on service stop

Fix the problem with floating IP addresses after first reboot in Edgehog
image.

Even when a stable MAC is assigned to device via device-tree, an IP address
may change after the first reboot.
This is due to default implementation of built-in DHCP client provided by
systemd-network daemon - DHCP RELEASE packet is sent to the DHCP server
during reboot by this daemon. So, next time a new IP address is allocated
to the same DHCP client (device).

To change this behavior of the DHCP client, a
"KeepConfiguration=dhcp-on-stop" option is enabled in configuration file
for systemd-networkd.

Signed-off-by: default avatarMikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
parent eb38e76e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment