ArubaOS and Controllers

Occasional Contributor I

DHCP Option 252 syntax


I am trying to set up a guest network which provides a proxy configuration file via dhcp option 252 with the proxy.pac file being hosted on the controller. I have got this working before but for some reason cannot anymore. I need to know the syntax to set the dhcp option please.

I have used:
conf t
ip dhcp pool "guest_pool"
option 252 text ""

The location of the pac file is correct and I have confirmed this by downloading the flashbackup.

The problem is that the option does not appear to be applied as if I do a packet capture on the client, do not se it attempt to get the pac file after receiving its address via dhcp.

any ideas?

Re: DHCP Option 252 syntax

You might try this:

option 252 text "\n"

That's how I have seen it configured on other DHCP servers, using the newline character at the end.

Have you done a packet capture on the client during the DHCP process to see if the server is returning the option?
Jon Green, ACMX, CISSP
Security Guy
Occasional Contributor I

Re: DHCP Option 252 syntax

Yes have tried the packet capture and do not see the option from the server. I have done this before and got it to work and always saw the the option from the server in the packet capture which makes me think I had not set it up correctly. I will try the newline character.
Occasional Contributor II

Re: DHCP Option 252 syntax

Right, did that work ? Without the \n it does not work here as well.
Thanks, regards

Alcatel-Lucent Enterprise Italy

Re: DHCP Option 252 syntax

It didn't work for me with or without the \n

ACCX #540 | ACMX #353 | ACDX #216 | AMFX #11

If a reply adequately addresses your issue, please click on the "Accept as Solution" and "Give Kudos" button so this information can benefit other users via search.
Guru Elite

Option 252


There was a bug where the controller was adding an extra space to the end of the DHCP option when it is text and that was keeping the option from being downloaded to the client. The bug is fixed in ArubaOS and ArubaOS, if you want to try now. It is in the and release notes.

*Answers and views expressed by me on this forum are my own and not necessarily the position of Aruba Networks or Hewlett Packard Enterprise.*
ArubaOS 8.3 User Guide
InstantOS 8.3 User Guide
Airheads Knowledgebase
Airheads Learning Videos
Search Airheads
Showing results for 
Search instead for 
Did you mean: