You are here: DHCP Configuration > Configuring DHCP Modes > Configuring Local and Local-L3 DHCP Modes
Previous TopicNext Topic

Configuring Local and Local,L3 DHCP Scopes

You can configure Local and Local,L3 DHCP scopes by using the Instant UI or CLI.

Local — In this mode, the Virtual Controller acts as both the DHCP Server and the default gateway. The configured subnet and the corresponding DHCP scope are independent of subnets configured in other IAP clusters. The Virtual Controller assigns an IP address from a local subnet and forwards traffic to both corporate and non-corporate destinations. The network address is translated appropriately and the packet is forwarded through the IPSec tunnel or through the uplink. This DHCP assignment mode is used for the NAT forwarding mode.
Local, L3— In this mode, the Virtual Controller acts as a DHCP server and the gateway, and assigns an IP address from the local subnet. The IAP routes the packets sent by clients on its uplink. This mode does not provide corporate access through the IPsec tunnel. This DHCP assignment mode is used with the L3 forwarding mode.

In the Instant UI

To configure a Local or Local,L3 DHCP scope:

1. Click More>DHCP Server. The DHCP Server window is displayed.
2. To configure a Local or Local,L3 DHCP scopes, click New under Local DHCP Scopes. The New DHCP Scope window is displayed. The following figure shows the contents of the New DHCP Scope window.

Figure 1  New DHCP Scope: Other DHCP scopes

3. Based on type of DHCP scope, configure the following parameters:

Table 1: DHCP Mode: Configuration Parameters

Name

Description

Name

Enter a name for the DHCP scope.

Type

Select any of the following options:

l Local— On selecting Local, the DHCP server for local branch network is used for keeping the scope of the subnet local to the IAP. In the NAT mode, the traffic is forwarded through the IPSec tunnel or the uplink.
l Local, L3—On selecting Local, L3, the Virtual Controller acts as a DHCP server and gateway. In this mode, the IAP routes the packets sent by clients and also adds a route on the controller, after the VPN tunnel is set up during the registration of the subnet.
VLAN Specify a VLAN ID. To use this subnet, ensure that the VLAN ID specified here is assigned to an SSID profile. For more information on SSID profile configuration, see Configuring VLAN Settings for a WLAN SSID Profile and Configuring VLAN for a Wired Profile
Network Specify the network to use.
Net Mask If Local or Local,L3 is selected, specify the subnet mask. The subnet mask and the network determine the size of subnet.
Excluded address If Local,L3 is selected, specify the IP address to exclude, The value entered in the field determines the exclusion range of the subnet. Based on the size of the subnet, the IP addresses that come before or after the IP address value specified in this field are excluded.
DNS Server If required, specify the IP address of a DNS server for the Local and Local,L3 scopes.
Domain Name If required, specify the domain name for the Local and Local,L3 scopes.
Lease Time Specify a lease time for the client in minutes.
Option Specify the type and a value for the DHCP option. You can configure the organization-specific DHCP options supported by the DHCP server. For example, 176, 242, and 161. To add multiple DHCP options, click the + icon.
4. Click OK.

In the CLI

To configure Local DHCP scope:

(Instant Access Point)(config)# ip dhcp <profile-name>

(Instant Access Point)(DHCP Profile <profile-name>)# server-type <Local>

(Instant Access Point)(DHCP Profile <profile-name>)# server-vlan <vlan-ID>

(Instant Access Point)(DHCP Profile <profile-name>)# subnet <IP-address>

(Instant Access Point)(DHCP Profile <profile-name>)# subnet-mask <subnet-mask>

(Instant Access Point)(DHCP Profile <profile-name>)# dns-server <name>

(Instant Access Point)(DHCP Profile <profile-name>)# domain-name <domain-name>

(Instant Access Point)(DHCP Profile <profile-name>)# lease-time <minutes>

(Instant Access Point)(DHCP Profile <profile-name>)# option <type> <value>

(Instant Access Point)(DHCP Profile <profile-name>)# end

(Instant Access Point))# commit apply

To configure Local,L3 DHCP scope:

(Instant Access Point)(config)# ip dhcp <profile-name>

(Instant Access Point)(DHCP Profile <profile-name>)# server-type <Local,L3>

(Instant Access Point)(DHCP Profile <profile-name>)# server-vlan <vlan-ID>

(Instant Access Point)(DHCP Profile <profile-name>)# subnet <IP-address>

(Instant Access Point)(DHCP Profile <profile-name>)# subnet-mask <subnet-mask>

(Instant Access Point)(DHCP Profile <profile-name>)# exclude-address <IP-address>

(Instant Access Point)(DHCP Profile <profile-name>)# dns-server <name>

(Instant Access Point)(DHCP Profile <profile-name>)# domain-name <domain-name>

(Instant Access Point)(DHCP Profile <profile-name>)# lease-time <minutes>

(Instant Access Point)(DHCP Profile <profile-name>)# option <type> <value>

(Instant Access Point)(DHCP Profile <profile-name>)# end

(Instant Access Point))# commit apply