Bug#1052365: systemd: DHCP client fails if multiple DHCP servers on network
Alexandre Ferreira
alexandref75 at hotmail.com
Mon Sep 25 12:53:59 BST 2023
Michael,
On 9/23/23 11:39, Michael Biebl wrote:
> Hi Alexandre
>
> Am 21.09.23 um 01:59 schrieb Alexandre Ferreira:
>> DHCP client on systemd-networkd sends requests as broadcast so if
>> there is more than one DHCP server on the network
>> all but one will answer NAK: wrong server-ID. DHCP client stops at
>> the first NAK and ignores the ACK that will be sent.
>> THe attached patch included a test refusing any NAK that does not
>> come from the same IP that the request was sent.
>
>
> Patches like this one, should be submitted upstream and reviewed there.
>
> Can you please create a PR at
> https://github.com/systemd/systemd/pulls
>
> Thanks,
> Michael
>
Thank you, I added a PR and it was merged yesterday.
sd-dhcp-client: reject NAKs from servers that we did not send an offer
to (#29290) (https://github.com/systemd/systemd/pull/29290)
This change will only be valid for 255. How can we backport it to 252 up
to 254?.
Thanks,
--
Alexandre Peixoto Ferreira
---------------------------
Any girl can be glamorous; all you have to do is stand still and look stupid.
-- Hedy Lamarr
More information about the Pkg-systemd-maintainers
mailing list