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

Bino Oetomo bino at jogjacamp.co.id
Sun Jun 27 08:06:14 UTC 2021


On Sun, Jun 27, 2021 at 12:03 AM Geert Stappers via Dnsmasq-discuss <
dnsmasq-discuss at lists.thekelleys.org.uk> 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)           |
>    +-------------------------------+-------------------------------+
>    |                          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.
>
>
> After blindly guessing, I found that I have to add
''DHCP-Server-IP-Address'' in rest response to freeradius.
And now it works smooth.

Thankyou Geert Stappers,
I really really appreciate your helps.

Sincerely
-bino-


> 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
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20210627/813fef43/attachment.htm>


More information about the Dnsmasq-discuss mailing list