Configuring WPAD (option 252)
The Web Proxy Auto-Discovery (WPAD) protocol is used by web browsers to locate a Proxy
Auto-Config (PAC) file automatically.
Note: The PAC file must have the file name wpad.dat for the DNS method to function.
- Enter global configuration mode.
- Configure an address pool in the DHCP server and enter DHCP server pool configuration mode.
- Enter the
optioncommand followed by the full network location of the PAC file. - Enter the
show ip dhcp-server address-poolscommand to view the configured network location of the PAC file.device(config)# show ip dhcp-server address-pools Showing all address pool(s): Pool Name: test Time elapsed since last save: 00d:00h:01m:21s Total number of active leases: 1 Address Pool State: active Pool Configured Options: lease: 1 0 0 network: 50.50.50.0 255.255.255.0 option 252 (WPAD ): http://172.26.67.243:8080/wpad.dat