On Sun, Jun 27, 2021 at 12:03 AM Geert Stappers via Dnsmasq-discuss < dnsmasq-discuss@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@lists.thekelleys.org.uk > https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss >
_______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss