How to configure dhcp option 252 for Explicit mode proxy server?

Aruba Employee
Aruba Employee

Introduction :

Product and Software: This article applies to all Aruba controllers and ArubaOS versions.


Configuration Steps :


Steps to configure option 252 in the controller:

1. Create proxy.pac or wpad.dat file with client network, proxy server ip and port number as given below.

function FindProxyForURL(url, host)
          if (isInNet(myIpAddress(), "", ""))  
              return "";
        return "DIRECT";

2. Upload proxy.pac file in the controller to one of the captive portal profile. In this case, proxy.pac is uploaded to profile New_Guest-cp_prof.

3. Configure dhcp pool in the controller with option 252 as given below.

ip dhcp pool Aruba_proxy
option 252 text ""
network /24

Answer : The option 252 can also be configured using external dhcp server. When its configured using windows dhcp server, proxy server information is provided in the DHCP Offer packet and when its configured in the Aruba Controller, its provided in the DHCP Inform packet.


Verification :


To verify, if the option 252 is pushed to the client. Packet capture is the only way to identify it.
In the packet capture, option 252 is pushed to the client browser using DHCP Inform packet and the DHCP ACK should give details of option 252 configured in the controller.



Version history
Revision #:
1 of 1
Last update:
‎07-04-2014 02:21 AM
Updated by:
Search Airheads
Showing results for 
Search instead for 
Did you mean: