[Dnsmasq-discuss] what is 'next-server' ? is it dhcp-option 66?

Geert Stappers stappers at stappers.nl
Sat Jun 26 16:19:03 UTC 2021


On Sat, Jun 26, 2021 at 02:58:16PM +0700, Bino Oetomo wrote:
> On Sat, Jun 26, 2021 at 1:24 PM Geert Stappers wrote:
> > On Sat, Jun 26, 2021 at 09:55:01AM +0700, Bino Oetomo wrote:
> > > Dear All.
> >
> > > Is 'next-server' different from dhcp-option-66?
> >
> > Yes, they are two different "fields" in a DHCP network packet.
> >
> 

Qouting https://datatracker.ietf.org/doc/html/rfc2131#page-9
RFC-2131 Dynamic Host Configuration Protocol


   0                   1                   2                   3
   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |     op (1)    |   htype (1)   |   hlen (1)    |   hops (1)    |
   +---------------+---------------+---------------+---------------+
   |                            xid (4)                            |
   +-------------------------------+-------------------------------+
   |           secs (2)            |           flags (2)           |
   +-------------------------------+-------------------------------+
   |                          ciaddr  (4)                          |
   +---------------------------------------------------------------+
   |                          yiaddr  (4)                          |
   +---------------------------------------------------------------+
   |                          siaddr  (4)                          |
   +---------------------------------------------------------------+
   |                          giaddr  (4)                          |
   +---------------------------------------------------------------+
   |                                                               |
   |                          chaddr  (16)                         |
   |                                                               |
   |                                                               |
   +---------------------------------------------------------------+
   |                                                               |
   |                          sname   (64)                         |
   +---------------------------------------------------------------+
   |                                                               |
   |                          file    (128)                        |
   +---------------------------------------------------------------+
   |                                                               |
   |                          options (variable)                   |
   +---------------------------------------------------------------+


> So, what is it's option number?
> is it the same as siaddr?

The above model of a DHCP network packet should answer those questions.



Regards
Geert Stappers
Fully are that knowning what is in the network packet,
does not mean knowning how it is implemented.
-- 
Silence is hard to parse



More information about the Dnsmasq-discuss mailing list