How to configure Distributed DHCP Scope on MAS 7.4 code.

Aruba Employee

Environment : No specific environment to configure this feature.

 

DHCP Scope Distribution
-------------------------------------

  • Max 6 aruba vpn pools
  • DHCP address assignment for branches connected to corporate via VPN
  • Max 4 ip range per pool
  • Only Distributed L3 supported
  • One pool per interface

Pre-requirements
 
 
Create VPN Pool
 
(host)(config)# ip dhcp aruba-vpn-pool <profile-name>
 
 
Configure IP range and client count.
 
(host)( Aruba VPN DHCP Pool <pool-name>)# ip-range <start-IP> <end-IP>
(host) (Aruba VPN DHCP Pool <pool-name>)# client-count <number>

 
Configure Optional parameters
 
(host)(Aruba VPN DHCP Pool <pool-name>)# dns-server <address>
(host)(Aruba VPN DHCP Pool <pool-name>)# domain-name <domain-name>
(host)(Aruba VPN DHCP Pool <pool-name>)# lease <days> <hours> <minutes> <seconds>
(host)(Aruba VPN DHCP Pool <pool-name>)# reserve {first | last} <count>
(host)(Aruba VPN DHCP Pool <pool-name>)#option <code> [ip <address> | text <string>]

(host)(Aruba VPN DHCP Pool <pool-name>)#server-type <server-type>
 
Troubleshooting command
 
(host) #show  ip dhcp aruba-vpn-pool
Aruba VPN DHCP Pool List
------------------------
Name  References  Profile Status
----  ----------  --------------
110   1           N/A
111   1           N/A
Total:2

 
 
 
(host) #show  ip dhcp aruba-vpn-pool 110
Aruba VPN DHCP Pool "110“
-------------------------
Parameter                    Value
---------                    -----
Server Type                  N/A
IP Range                     192.168.110.0 192.168.110.255
DNS Server(s)                N/A
Domain Name                  N/A
Option(s)                    N/A
Client Count                 14
First Reserved IP Addresses  0
Last Reserved IP Addresses   0
Lease Time                   0 days 12 hr 0 min 0 sec

 
 
(host) #show ip dhcp aruba-vpn-pool extensive
Aruba VPN DHCP Pool Table
-------------------------
Name  Vlan  Lease time  IP Range                       Client count  Reserve First  Reserve Last  Branch ID       Branch Netmask   Branch Router
----  ----  ----------  --------                       ------------  -------------  ------------  ---------       --------------   -------------
110   110   0:12:0:0    192.168.110.0-192.168.110.255  14            0              0             192.168.110.32  255.255.255.224  192.168.110.33
111   111   0:12:0:0    192.168.111.0-192.168.111.223  10            0              0             192.168.111.16  255.255.255.240  192.168.111.17

 
(host) #show ip dhcp binding
lease 192.168.110.70 {
  starts Tue Aug 05 10:41:41 2014
  ends Tue Aug 05 22:41:41 2014
  binding state active;
  next binding state free;
  hardware ethernet 00:00:20:f8:8e:3f;
  uid "\001\000\000 \370\216?";
}
lease 192.168.110.71 {
  starts Tue Aug 05 10:41:41 2014
  ends Tue Aug 05 22:41:41 2014
  binding state active;
  next binding state free;
  hardware ethernet 00:00:20:f8:8e:c1;
  uid "\001\000\000 \370\216\301";
}
 
Show log system
 
Jul 29 10:34:38 b3Smiley TongueRI-0 dhcpdwrap[1568]: <399814> <DBUG> |dhcpdwrap|  Sending message : http://3.3.3.1:80/iap/proc_route?branch_key=000b866a78004de85eff&subnet_ip=192.168.110.64&subnet_mask=255.255.255.224&route_action=add
Jul 29 10:34:38 b3Smiley TongueRI-0 dhcpdwrap[1568]: <399814> <DBUG> |dhcpdwrap|  Sending request to  3.3.3.1:80
Jul 29 10:34:38 b3Smiley TongueRI-0 dhcpdwrap[1568]: <399814> <DBUG> |dhcpdwrap|  Recieved 233 bytes (header/data) from 3.3.3.1:80
Jul 29 10:34:38 b3Smiley TongueRI-0 dhcpdwrap[1568]: <399814> <DBUG> |dhcpdwrap|    <iap>     <message>Done</message>   </iap>
Jul 29 10:34:38 b3Smiley TongueRI-0 dhcpdwrap[1568]: <399814> <DBUG> |dhcpdwrap|  Recieved response dhcpd_vlan_route_add_response  :   <iap>     <message>Done</message>   </iap>
Jul 29 10:34:38 b3Smiley TongueRI-0 dhcpdwrap[1568]: <399814> <DBUG> |dhcpdwrap|  Recieved response dhcpd_vlan_route_add_response for : 110

 
 
From controller
------------------------
 
(HQ_CONTLR) #show iap  table long
Trusted Branch Validation: Disabled
IAP Branch Table
----------------
Name      VC MAC Address     Status  Inner IP  Assigned Subnet                      Key                   Bid(Subnet Name)                                                                                                                                                                                                                                                  Tunnel End Points
----      --------------     ------  --------  ---------------                      ---                   ----------------                                                                                                                                                                                                                                                  -----------------
ArubaMAS  00:0b:86:96:f2:f7  UP      3.3.3.3   192.168.110.32/27,192.168.111.16/28 000b8696f2f753bbc2d6  1(192.168.110.0-192.168.110.255,14),1(192.168.111.0-192.168.111.223,10)
ArubaMAS  00:0b:86:6a:78:00  UP      3.3.3.4   192.168.110.64/27,192.168.111.32/28 000b866a78004de85eff  2(192.168.110.0-192.168.110.255,14),2(192.168.111.0-192.168.111.223,10)
Total No of UP Branches   : 2
Total No of DOWN Branches : 0
Total No of Branches      : 2
 
Show log system
 
 
Jul 29 10:34:58 :342005:  <DBUG> |IAP manager Pro|  register_iap_bid:334 Received from IAP - key='000b8696f2f753bbc2d6'; ip='3.3.3.3'; mac_addr='000b8696f2f7'; subnet_count='2';
 subnet='192.168.110.0-192.168.110.255,14'; bid='1'; max branch='8'; subnet='192.168.111.0-192.168.111.223,10'; bid='1'; max branch='14'; back_up='no';trusted_branch=yes
Jul 29 10:34:58 :342005:  <DBUG> |IAP manager Pro|  register_iap_bid:366 Adding in inrIPandBrnchID ip 3.3.3.3 brkey 000b8696f2f753bbc2d6
Jul 29 10:34:58 :342005:  <DBUG> |IAP manager Pro|  register_iap_bid:477 switch_role is NOT MSWITCH_ROLE_LMS
Jul 29 10:34:58 :342005:  <DBUG> |IAP manager Pro|  register_iap_bid:554 bid for '192.168.110.0-192.168.110.255,14' subnet = 1
Jul 29 10:34:58 :342005:  <DBUG> |IAP manager Pro|  register_iap_bid:566 setting bit 0x40000000
Jul 29 10:34:58 :342005:  <DBUG> |IAP manager Pro|  register_iap_bid:477 switch_role is NOT MSWITCH_ROLE_LMS
Jul 29 10:34:58 :342005:  <DBUG> |IAP manager Pro|  register_iap_bid:554 bid for '192.168.111.0-192.168.111.223,10' subnet = 1
Jul 29 10:34:58 :342005:  <DBUG> |IAP manager Pro|  register_iap_bid:566 setting bit 0x40000000
Jul 29 10:34:58 :342005:  <DBUG> |IAP manager Pro|  handle_iap_dpp_branch_add: new branch 000b8696f2f753bbc2d6/3.3.3.3
Jul 29 10:34:58 :342005:  <DBUG> |IAP manager Pro|  handle_iap_dpp_branch_add: added branch 000b8696f2f753bbc2d6
Jul 29 10:34:59 :342005:  <DBUG> |IAP manager Pro|  register_iap_bid:298 switch_role is 2

 

Version history
Revision #:
1 of 1
Last update:
‎04-07-2015 01:26 PM
Updated by:
 
Labels (1)
Contributors
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: