ip dhcp pool

ip dhcp pool

default-router

[ ]

distributed range

dns-server {import | switch-gw-ip |

[ ]}

domain-name

lease

netbios-name-server {import |

[ ]}

network {|}

no ...

option {hex | ip | text }

pooltype {ipupsell | private | public}

vendor-class-identifier

Description

This command configures a DHCP pool on theMobility Conductor. A DHCP pool should be created for each IP subnetwork for which DHCP services should be provided. DHCP pools are not specifically tied to VLANs, as the DHCP server exists on every VLAN. WhenMobility Conductorreceives a DHCP request from a client, it examines the origin of the request to determine if it should respond. If the IP address of the VLAN matches a configured DHCP pool,Mobility Conductoranswers the request. When a sub-option,选择5, is configured, the DHCP server will allocate an address on the subnet specified in the link-selection sub-option.

Parameter

Description

default-router

IP address of the default router for the DHCP client. The client should be on the same subnetwork as the default router. You can specify up to 8 IP addresses.

distributed range

IP address range for the distributed pool.

Starting IP address of the address pool.

Ending IP address of the address pool.

Number of clients.

dns-server

Configure DHCP DNS server.

import

Use the DNS server address obtained through DHCP or PPPoE.

switch-gw-ip

Configure DNS server as Switch Gateway IP address. Use this parameter when Redirect-DNS has to be enabled on the current pool.

IP address of the DHCP DNS server. You can specify up to 8 IP addresses.

domain-name

Domain name to which the client belongs.

lease

The amount of time that the assigned IP address is valid for the client. Specify the lease in .

netbios-name-server

IP address of the NetBIOS Windows Internet Naming Service (WINS) server, which can be one of the following:

import

Use the NetBIOS name server address obtained through PPPoE or DHCP.

IP address of the WINS server. You can specify up to 8 IP addresses.

network

Range of addresses that the DHCP server may assign to clients, in the form of and or and .

Network prefix.

Network mask.

no

Negates any configured parameter.

option

Client-specific option code and IP address. See RFC 2132, “DHCP Options and BOOTP Vendor Extensions”.

hex

Specify the Hex string. Maximum hex characters allowed is 22.

ip

Specify IP address.

text

Specify optional string.

pooltype

Configure the DHCP Pool types.

ipupsell

Configure the DHCP pool as an IP upsell pool.

private

Configure the DHCP pool as private.

public

Configure the DHCP pool as public.

vendor-class-identifier

Send or suppress the Aruba AP vendor ID to clients.

Example

The following command configures a DHCP pool:

(host) [mynode] (config) #ip dhcp pool floor1

(host) [mynode] (config-submode) #default-router 10.26.1.1

(host) [mynode] (config-submode) #dns-server 192.168.1.10

(host) [mynode] (config-submode) #domain-name floor1.test.com

(host) [mynode] (config-submode) #lease 0 8 0

(host) [mynode] (config-submode) #network 10.26.1.0 255.255.255.0

Sub-option Example

The following command configures a sub-option for the DHCP option-82:

(host) [mynode] (config) #ip dhcp pool default

(host) [mynode] (config-submode)#option

<鳕鱼e> DHCP option code(range 0-254)

(host) [mynode] (config-submode)#option 5

(host) [mynode] (config-submode)#option 5

hex Configure hexadecimal option

ip Configure IPv4 option

text Configure text option

Command History

Release

Modification

ArubaOS8.4.0.0

The<鳕鱼e>switch-gw-ipsub-parameter was introduced.

ArubaOS8.0.0.0

Command introduced.

Command Information

平台

许可证

Command Mode

All platforms

Base operating system.

Config mode onMobility Conductor.