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

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

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

Michael Mears

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;

 

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
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

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

Bill Shirley-2

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";

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;

 

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
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users

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

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

Michael Mears
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 <[hidden email]> 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";

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;

 

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
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
_______________________________________________
dhcp-users mailing list
[hidden email]
https://protect-us.mimecast.com/s/n1UkCqx9mkcA63UXJxN4?domain=lists.isc.org

_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users