Bug#797894: systemd-networkd: allow to configure DHCP broadcast behaviour

Max Vozeler xam at debian.org
Thu Sep 3 13:37:02 BST 2015


Package: systemd
Version: 215-17+deb8u1
Severity: wishlist
Tags: patch

In some setups DHCP requests are filtered if they have the broadcast
flag set. systemd-networkd in stable always sets the broadcast flag and
thus cannot be used for DHCP in such setups.

Later versions of systemd-networkd changed the default to unicast
(commit f5de5b00204f041aaec828d336c8afd9e860a5c3) and added a
configuration option RequestBroadcast to control the behaviour.

This patch backports the configuration option but leaves the default
value unchanged as it seems there is no "right" answer for all setups
and I didn't want to risk breaking setups that are currently working.

Please consider applying the patch. Adding

  [DHCP]
  RequestBroadcast=false

with this change made systemd-networkd work for us in a cloud setup that
did not work before (FWIW, this was German cloud provider Jiffybox).

Thanks and have a nice day,

	Max
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sd-dhcp-client-make-request-broadcasts-configurable.patch
Type: text/x-diff
Size: 6844 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20150903/7a330d3c/attachment.patch>


More information about the Pkg-systemd-maintainers mailing list