Page 1 of 1

DHCP option 252

Posted: 14 Jun 2021 08:17
by lawrence
Hello, I'm trying to use dhcp option 252 for proxy configuration but no success, anyone has a clue? here is my config, the other params are working, using wireshark I have no http request for the proxy, setting it manually works as expected

Code: Select all

        option proxy code 252 =  text;
		 subnet 10.100.7.0 netmask 255.255.255.0 {       
			dynamic-dhcp range 10.100.7.50 10.100.7.60 {
				...
				option proxy  "http://example.com/wpad.pac";
				}
		}

Re: DHCP option 252

Posted: 24 Jun 2021 09:29
by lawrence
got it solved, my dhcpd.conf file looks like this:

Code: Select all

	subnet 10.100.7.0 netmask 255.255.255.0 {       
			dynamic-dhcp range 10.100.7.50 10.100.7.60 {
				...
				option 252 "http://x.y.z/wpad.pac";
				}
		}