DHCP option 52 from DHCP server

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

DHCP option 52 from DHCP server

Dominic L A J S
Hi,
I am trying to make my DHCP Server send DHCP option 52. But I have not succeeded still. Any suggestion on the dhcpd.conf will be of great help.


host mx106 {
     hardware ethernet 00:19:8F:19:C9:63;
     fixed-address 192.168.2.106;
     max-lease-time 4294967295;
     option subnet-mask 255.255.255.0;
            option dhcp-option-overload 3;
            #option dhcp-max-message-size 1024;
     option dhcp-client-identifier "AA1424FE6YV";
     option tftp-server-name "192.168.2.10";
     option bootfile-name "ZTP_IC/AA1424FE6YV.txt";
            #next-server 192.168.2.10;
            server-name "192.168.2.10";
            filename "ZTP_IC/AA1424FE6YV.txt";
            server-identifier 192.168.2.10;
            option host-name "192.168.2.10";
}

Thanks and Regards,
Dominic L A J S

_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: DHCP option 52 from DHCP server

A.L.M.Buxey
Hi,

>    I am trying to make my DHCP Server send DHCP option 52. But I have not
>    succeeded still. Any suggestion on the dhcpd.conf will be of great help.

I'd verify with eg tcpdump that the DHCP info being returned to the client
is what you expect (check contents) and likewise, check with tcpdump that the
client is talking/able to talk to the server and able to get that file.

alan
_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: DHCP option 52 from DHCP server

glenn.satchell
On Mon, June 6, 2016 8:05 pm, [hidden email] wrote:

> Hi,
>
>>    I am trying to make my DHCP Server send DHCP option 52. But I have
>> not
>>    succeeded still. Any suggestion on the dhcpd.conf will be of great
>> help.
>
> I'd verify with eg tcpdump that the DHCP info being returned to the client
> is what you expect (check contents) and likewise, check with tcpdump that
> the
> client is talking/able to talk to the server and able to get that file.
>
> alan

While you're looking at tcpdump, check that the client is asking for
option 52. To avoid confusing a client, the dhcp server only sends the
options the client asks for.

If it's the ISC dhclient, you want something like

    also request dhcp-option-overload;

See dhclient.conf man page in this case.

Other clients will do something similar.

regards,
-glenn

_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: DHCP option 52 from DHCP server

Niall O'Reilly
On 6 Jun 2016, at 11:48, Glenn Satchell wrote:

> If it's the ISC dhclient, you want something like
>
>     also request dhcp-option-overload;
>
> See dhclient.conf man page in this case.
>
> Other clients will do something similar.

  If it's not convenient to configure the client like this,
  AND you can use some client signature (class/subclass or
  even MAC address) to reliably identify any client of
  interest, you can configure the server to insert additional
  items in option 55, and so force delivery of options which
  you KNOW the client needs, even though it doesn't request
  them.

  Best regards,
  Niall O'Reilly
_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users