Wireless Access

Reply
Occasional Contributor II
Posts: 36
Registered: ‎04-14-2015

RAP as dhcp server; and with public IP

Dear Members,

 

Our customer would like to use RAP at a certain location, where the RAP needs to be in bridge mode. There is no DHCP at all, so the RAP has to be the DHCP server as well. We configured it in the AP system profile under RAP DHCP settings. The RAP has public IP. The client was able to get IP from the RAP, but they can't reach neither the default gateway (which is set to the RAP DHCP server IP) nor the Internet. We know that the traffic needs to be NAT-ed to the RAP's public IP. Is it done automatically, or do we have to set a user role, where all client traffic is source nat-ed?

Could you help us?

 

Thank you for your answer in advance.

br.

Guru Elite
Posts: 21,272
Registered: ‎03-29-2007

Re: RAP as dhcp server; and with public IP

[ Edited ]

Here is what you need to do at minimum:

 

In the AP system profile in the ap-group of that RAP, you need to define the Remote-AP DHCP Server VLAN that you will be providing DHCP.  This number can be arbitrary, but it  needs to match the VLAN of your bridged traffic.  If you are broadcasting a Virtual AP on that AP with the forwarding mode "bridged", you need to match the VLAN above.   Addresses will be given out by the DHCP server defined in the Remote-AP DHCP Server commands in that AP system profile; the defaults will work just fine, initially.   When you create your Virtual AP for those clients, their role only needs to have two ACLS:

 

any any service dhcp permit

any any any route src-nat

 

The first ACL will allow your clients to obtain an ip address.  The second ACL will source-nat the traffic out of the public address that the RAP obtains.

 

 

 

 



Colin Joseph
Aruba Customer Engineering

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

Occasional Contributor II
Posts: 36
Registered: ‎04-14-2015

Re: RAP as dhcp server; and with public IP

Hi cjoseph,

 

Thank you for your answer, and the confirmation.

 

Br.

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