You are here: Home > CLI Commands > Just_CLI_Topics > ip dhcp pool

ip dhcp pool

ip dhcp pool <name>

default-router <address> [<address2> <address3> <address4> <address5> <address6> <address7> <address8>]

distributed range <startip> <endip> <hosts>

dns-server {import | switch-gw-ip | <address> [<address2> <address3> <address4> <address5> <address6> <address7> <address8>]}

domain-name <domain>

lease <days> <hours> <minutes> <seconds>

netbios-name-server {import | <address> [<address2> <address3> <address4> <address5> <address6> <address7> <address8>]}

network <network-number> {</prefix(1-30)>|<mask>}

no ...

option <code> {hex <hex string> | ip <ipaddr> | text <option-string>}

pooltype {ipupsell | private | public}

vendor-class-identifier

Description

This command configures a DHCPDynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network.  pool on the Mobility Master.

Syntax

Parameter

Description

default-router <address>

IP address of the default router for the DHCPDynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network.  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.

<startip>

Starting IP address of the address pool.

<endip>

Ending IP address of the address pool.

<hosts>

Number of clients.

dns-server

Configure DHCPDynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network.  DNSDomain Name System. A DNS server functions as a phone book for the intranet and Internet users. It converts human-readable computer host names into IP addresses and IP addresses into host names. It stores several records for a domain name such as an address 'A' record, name server (NS), and mail exchanger (MX) records. The Address 'A' record is the most important record that is stored in a DNS server, because it provides the required IP address for a network peripheral or element. server.

import

Use the DNSDomain Name System. A DNS server functions as a phone book for the intranet and Internet users. It converts human-readable computer host names into IP addresses and IP addresses into host names. It stores several records for a domain name such as an address 'A' record, name server (NS), and mail exchanger (MX) records. The Address 'A' record is the most important record that is stored in a DNS server, because it provides the required IP address for a network peripheral or element. server address obtained through DHCPDynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network.  or PPPoEPoint-to-Point Protocol over Ethernet. PPPoE is a method of connecting to the Internet, typically used with DSL services, where the client connects to the DSL modem..

switch-gw-ip

Configure DNSDomain Name System. A DNS server functions as a phone book for the intranet and Internet users. It converts human-readable computer host names into IP addresses and IP addresses into host names. It stores several records for a domain name such as an address 'A' record, name server (NS), and mail exchanger (MX) records. The Address 'A' record is the most important record that is stored in a DNS server, because it provides the required IP address for a network peripheral or element. server as Switch GatewayGateway is a network node that allows traffic to flow in and out of the network. IP address. Use this parameter when Redirect-DNSDomain Name System. A DNS server functions as a phone book for the intranet and Internet users. It converts human-readable computer host names into IP addresses and IP addresses into host names. It stores several records for a domain name such as an address 'A' record, name server (NS), and mail exchanger (MX) records. The Address 'A' record is the most important record that is stored in a DNS server, because it provides the required IP address for a network peripheral or element. has to be enabled on the current pool.

<address>

IP address of the DHCPDynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network.  DNSDomain Name System. A DNS server functions as a phone book for the intranet and Internet users. It converts human-readable computer host names into IP addresses and IP addresses into host names. It stores several records for a domain name such as an address 'A' record, name server (NS), and mail exchanger (MX) records. The Address 'A' record is the most important record that is stored in a DNS server, because it provides the required IP address for a network peripheral or element. server. You can specify up to 8 IP addresses.

domain-name <domain>

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 <days> <hours> <minutes> <seconds>.

netbios-name-server

IP address of the NetBIOSNetwork Basic Input/Output System. A program that lets applications on different computers communicate within a LAN. Windows Internet Naming Service (WINS) server, which can be one of the following:

import

Use the NetBIOSNetwork Basic Input/Output System. A program that lets applications on different computers communicate within a LAN. name server address obtained through PPPoEPoint-to-Point Protocol over Ethernet. PPPoE is a method of connecting to the Internet, typically used with DSL services, where the client connects to the DSL modem. or DHCPDynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network. .

<address>

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

network

Range of addresses that the DHCPDynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network.  server may assign to clients, in the form of <ipaddr> and <netmask>Netmask is a 32-bit mask used for segregating IP address into subnets. Netmask defines the class and range of IP addresses. or <ipaddr> and <prefix>.

</prefix(1-30)>

Network prefix.

<mask>

Network mask.

no

Negates any configured parameter.

option

Client-specific option code and IP address. See RFCRequest For Comments. RFC is a commonly used format for the Internet standards documentss. 2132, “DHCPDynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network.  Options and BOOTP Vendor Extensions”.

hex <hex string>

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

ip <ipaddr>

Specify IP address.

text <option-string>

Specify optional string.

pooltype

Configure the DHCPDynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network.  Pool types.

ipupsell

Configure the DHCPDynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network.  pool as an IP upsell pool.

private

Configure the DHCPDynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network.  pool as private.

public

Configure the DHCPDynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network.  pool as public.

vendor-class-identifier

Send or suppress the Aruba AP vendor ID to clients.

Usage Guidelines

A DHCPDynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network.  pool should be created for each IP subnetwork for which DHCPDynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network.  services should be provided. DHCPDynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network.  pools are not specifically tied to VLANsVirtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN., as the DHCPDynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network.  server exists on every VLANVirtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN.. When Mobility Master receives a DHCPDynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network.  request from a client, it examines the origin of the request to determine if it should respond. If the IP address of the VLANVirtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN. matches a configured DHCPDynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network.  pool, Mobility Master answers the request. When a sub-option, option 5, is configured, the DHCPDynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network.  server will allocate an address on the subnetSubnet is the logical division of an IP network. specified in the link-selection sub-option.

Example

The following command configures a DHCPDynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network.  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 DHCPDynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network.  option-82:

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

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

<code> 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

ArubaOS 8.4.0.0

The switch-gw-ip sub-parameter was introduced.

ArubaOS 8.0.0.0

Command introduced.

Command Information

Platform

License

Command Mode

All platforms

Base operating system.

Config mode on Mobility Master.

/*]]>*/