On Mon, Sep 6, 2010 at 5:17 PM, Denys Vlasenko <[email protected]> wrote: > On Mon, Sep 6, 2010 at 11:14 AM, Smith Will <[email protected]> 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"? > Means if the busybox dhcp server understands these options.. :)
>> 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> Ok, i have this scenario: I use ISC dhclient ( version 3.1.1) and within my dhclient.conf i use " send user-class "busybox-dhcp" ". My intention is that busybox dhcp server assigns me one of the address from non-default/non-global pool of addresses ( as an example, default pool can be 192.168.1.50 to 192.168.1.100 while for the "busybox-dhcp" user class, i would want udhcpd from busybox to give out an address from 192.168.1.150 to 192.168.1.200).Is this possible? Within /etc/udhcpd.conf, i can use "start 192.168.1.50" and "end 192.168.1.100" for default pool but for the user class pool of "busybox-dhcp", how do i specify? option 0x4d < how do i specify the other pool name and range? > > > See > > https://bugs.busybox.net/show_bug.cgi?id=341 > https://bugs.busybox.net/show_bug.cgi?id=735 > > -- > vda > -- Smith _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
