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

Geert Stappers stappers at stappers.nl
Sun Jun 27 08:53:44 UTC 2021


On Sun, Jun 27, 2021 at 03:06:14PM +0700, Bino Oetomo wrote:
> On Sun, Jun 27, 2021 at 12:03 AM Geert Stappers wrote:
> > 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)           |
> >    +-------------------------------+-------------------------------+
          ...
> >    +---------------------------------------------------------------+
> >    |                          siaddr  (4)                          |
> >    +---------------------------------------------------------------+
          ...
> >    +---------------------------------------------------------------+
> >    |                          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.
> 
> After blindly guessing, I found that I have to add
> ''DHCP-Server-IP-Address'' in rest response to freeradius.
> And now it works smooth.

OK, it got implemented well.



> > --
> > Silence is hard to parse
> >
> > 
> Thankyou Geert Stappers,
> I really really appreciate your helps.

Share with the Internet
the working  Freeradius DHCP server configuration.
 


Groeten
Geert Stappers
-- 
Silence is hard to parse



More information about the Dnsmasq-discuss mailing list