cannot get option 160 to work in isc-dhcp-server 4.4.1

Michael Mears MMears at vertical.com
Sun Jan 19 00:04:01 UTC 2020


I found the problem. Option 160 is already defined. I had to download the source code for the program and go through that to find out the alias for how it is defined. Option 160 is defined as v4-captive-portal


On Jan 18, 2020, at 6:21 PM, Bill Shirley <bill at c3po.polymerindustries.biz> wrote:



Did you try enclosing the URL in double-quotes?
# local proxy autodiscovery
option local-pac-server        code 252 = text;
option local-pac-server        "http://www.example.com/wpad.dat"<https://protect-us.mimecast.com/s/J0kWCpYPljCrEWuPV0vn?domain=example.com>;

What error message are you getting?

Bill

On 1/17/2020 6:03 PM, Michael Mears wrote:
Trying to get option 160 to work but when I configure it as a custom option the server fails to start. I have tried several configs and none of them work. The latest one is:

option phone-config code 160 = text;
option phone-config http://192.168.0.254<https://protect-us.mimecast.com/s/GAfkCrk6nlHK3YS4STqK?domain=192.168.0.254>;

I am thinking that maybe option 160 is already defined in the code but if it is I do not know what to call it. For instance option 66 is “tftp-server-name”.
Is there a name defined for option 160? Option 160 appears in the list of standard DHCP options defined in  ISC DHCP and Kea and lists it as DHCP Captive Portal. If that is the case I am not sure what to call it out as in the options.




_______________________________________________
dhcp-users mailing list
dhcp-users at lists.isc.org<mailto:dhcp-users at lists.isc.org>
https://lists.isc.org/mailman/listinfo/dhcp-users<https://protect-us.mimecast.com/s/n1UkCqx9mkcA63UXJxN4?domain=lists.isc.org>


_______________________________________________
dhcp-users mailing list
dhcp-users at lists.isc.org
https://protect-us.mimecast.com/s/n1UkCqx9mkcA63UXJxN4?domain=lists.isc.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20200119/9eaad906/attachment.htm>


More information about the dhcp-users mailing list