[PATCH] - DHCP option support for VLAN and other applications

Nigel Hathaway Nigel.Hathaway at ubiquisys.com
Thu Mar 31 14:53:54 UTC 2011


Package: busybox
Version: v1.18.4
Severity: low

This patch adds support for VLAN DHCP options 132 and 133, and this
works with both the udhcp client and the server (and is conditionally
compiled by enabling FEATURE_UDHCP_8021Q which is enabled by default).

The udhcp client also forwards all (formerly) unrecognised DHCP options
arriving from the server onto the dhcpc client script in the form of
environment variables. For example, an environment variable of the
following form:

opt8=01020304

(as produced from a back-to-back test with udhcpd using the example
config file)

This is explained as:

optN=XXXX..XX, where N is the decimal option number and XXXX..XX is a
string of hex digit pairs representing the bytes passed in the option
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dhcp_otps.patch
Type: application/octet-stream
Size: 7012 bytes
Desc: dhcp_otps.patch
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20110331/8db1638b/attachment.obj>


More information about the busybox mailing list