Please Urgent: Failover problem

Glenn Satchell Glenn.Satchell at uniq.com.au
Thu Apr 12 12:56:01 UTC 2007


>From: Simon Hobson <dhcp1 at thehobsons.co.uk>
>
>
>17 = root-path
>31 = router-discovery
>66 = tftp-server-name
>67 = bootfile-name
>
>
>Looked up in the excellent book "The DHCP Handbook" by Ralph Droms 
>and Ted Lemon. An appendix has tables for number->name (both ISC and 
>Windows), and name->number.
>
>I also assume that there will be a table somewhere in the source code.

In the source distribution in common/tables.c is a structure listing the
names dhcpd uses and the option numbers:

struct option dhcp_options [256] = {
        { "pad", "",                                    &dhcp_universe, 0 },
        { "subnet-mask", "I",                           &dhcp_universe, 1 },
        { "time-offset", "l",                           &dhcp_universe, 2 },
        { "routers", "IA",                              &dhcp_universe, 3 },
...

regards,
-glenn
--
Glenn Satchell     mailto:glenn.satchell at uniq.com.au | Some days we are
Uniq Advances Pty Ltd         http://www.uniq.com.au | the flies;  some
PO Box 70 Paddington NSW Australia 2021              | days we  are the
tel:0409-458-580  tel:02-9380-6360  fax:02-9380-6416 | windscreens...


More information about the dhcp-users mailing list