ArubaOS and Controllers

Reply
Occasional Contributor I

DHCP Option 252 syntax

Hi,

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 "http://192.168.2.254/upload/custom/guest/proxy.pac"

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?
Moderator

Re: DHCP Option 252 syntax

You might try this:

option 252 text "http://192.168.2.254/upload/custom/guest/proxy.pac\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
Alex

Alcatel-Lucent Enterprise Italy

Re: DHCP Option 252 syntax

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

-------------------------------------------------------
-------------------@whereisjrw-------------------
------------------------blog-------------------------
ACCX #540 | ACMX #353 | ACDX #216
-----------Mobility First Expert #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




James,

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 3.3.2.21 and ArubaOS 3.4.0.6, if you want to try now. It is in the 3.4.0.6 and 3.3.2.21 release notes.



Colin Joseph
Aruba Customer Engineering

Looking for an Answer? Search the Community Knowledge Base Here: Community Knowledge Base

Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: