Controller Based WLANs

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

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(), "10.121.122.0", "255.255.255.0"))  
              return "10.163.140.11:8080";
      else
        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
default-router 10.121.122.1
dns-server 10.121.252.42 10.121.252.43
option 252 text "http://172.17.131.129/upload/custom/New_Guest-cp_prof/proxy.pac"
network 10.121.122.0 /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.

 

Option-252

Version history
Revision #:
1 of 1
Last update:
‎07-04-2014 02:21 AM
Updated by:
 
Contributors
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: 
Is this a frequent problem?

Request an official Aruba knowledge base article to be written by our experts.