Dhcp Server Commands - D-Link DXS-3600 Series Reference Manual

Dxs-3600 series layer 2/3 managed 10gigabit ethernet switch
Hide thumbs Also See for DXS-3600 Series:
Table of Contents

Advertisement

DXS-3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide

21. DHCP Server Commands

21-1 address range
This command is used to specify an IP address range to be associated with a DHCP class in a DHCP
address pool. Use the no form of the command to remove the address range to be associated with a
DHCP class.
address range START-IP-ADDRESS END-IP-ADDRESS
no address range START-IP-ADDRESS END-IP-ADDRESS
Parameters
START-IP-ADDRESS
END-IP-ADDRESS
Default
None.
Command Mode
DHCP Pool Class Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
Use the address range command and the class command in a DHCP address pool to restrict the
allocation of IP address from a subnet in the address pool. The network for allocating addresses is
partitioned based on the DHCP option value of the request. If an address pool has classes defined, the
allocation of address will based on the class from this address pool if the IP DHCP use class setting is
enabled.
When the server attempts to allocate an address from an address pool and if the address pool has
classes defined, the server will check first whether the pool contains the subnet appropriate for the
request. If the subnet of the address pool contains the GIADDR (if not zero) or the subnet of the received
interface, then the server will directly matching the class definition of the address pool to allocate the
address. The server will only allocate an address from the matched class.
To remove an address range, only the exact range of addresses that are previously configured can be
specified.
Example
This example shows how a DHCP class "Customer-A" is created with the relay information option
matching pattern. They are associated with an address range in the DHCP address pool "pool1".
Switch# configure terminal
Switch(config)# ip dhcp class Customer-A
Switch(config-dhcp-class)# option 82 hex 1234 *
Switch(config-dhcp-class)# exit
Switch(config)# ip dhcp pool pool1
Switch(config-dhcp-pool)# network 172.28.5.0/24
Switch(config-dhcp-pool)# class Customer-A
Switch(config-dhcp-pool-class)# address range 172.28.5.1 172.28.5.12
witch(config-dhcp-pool-class)#
Specifies the address or the first address in a range of addresses.
Specifies the last address in a range of addresses.
332

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dxs-3600-32s

Table of Contents