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.