PATCH: Force broadcast flag in dhclient

François-Xavier Le Bail fx.lebail at yahoo.com
Fri Jul 29 09:46:27 UTC 2011


Hello,

ISC DHCP is useful in production but also in test environments.

In some case test, we need to force broadcast flag for DHCPv4 client requests, even if "can_receive_unicast_unconfigured" function return true (like in Linux packet filter code).

The access or configuration of the DHCP server (via always-broadcast true;) is not always possible.

The new –b the flag permit to force the use of the BOOTP_BROADCAST flag in client requests.

Usage: 'dhclient ... -b ...'

It may be useful for other users.

Here is a patch for dhcp-4.2.2rc1.

Please let me know your feedback.

Best Regards,
Francois-Xavier Le Bail
-------------- next part --------------
A non-text attachment was scrubbed...
Name: force_broadcast_flag.patch
Type: text/x-patch
Size: 2887 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20110729/91eae312/attachment.bin>


More information about the dhcp-users mailing list