dhcpd user/vendor class support

Denys Vlasenko vda.linux at googlemail.com
Mon Sep 6 11:47:20 UTC 2010


On Mon, Sep 6, 2010 at 11:14 AM, Smith Will <smith.rday at gmail.com> wrote:
> Hi list,
> Seems dhcp server within busybox does not yet has support for
> interpreting user/vendor classes. I checked code for busybox-1.17.2

What do you mean by "interpreting"?

> Did i miss something or this feature hasnt been looked into yet?

It is somewhat hard to spot. Look into examples/udhcp/udhcpd.conf
file:

...
# Arbitrary option in hex form:
option  0x08    01020304        # option 8: "cookie server IP addr: 1.2.3.4"
...

Basically, if you want udhcpd to advertise an option and it is not
supported by name, you can still add it with the above format.
For vendor info element, you need to use

option 0x2b <hex string>

See

https://bugs.busybox.net/show_bug.cgi?id=341
https://bugs.busybox.net/show_bug.cgi?id=735

-- 
vda


More information about the busybox mailing list