HP 5920 Series Configuration Manual page 40

Hide thumbs Also See for 5920 Series:
Table of Contents

Advertisement

Step
5.
Enter address pool view.
6.
Specify the primary subnet for
the address pool.
7.
(Optional.) Specify the common
address range.
8.
(Optional.) Specify an IP
address range for a DHCP user
class.
9.
(Optional.) Specify the address
lease duration.
10.
(Optional.) Exclude the
specified IP addresses in the
address pool from dynamic
allocation.
11.
Return to system view.
12.
(Optional.) Exclude the
specified IP addresses from
automatic allocation globally.
Specifying a primary subnet and multiple secondary subnets for a DHCP address pool
In scenarios where the DHCP server and the DHCP clients reside on the same subnet, the DHCP server
needs to assign addresses in different address ranges to the DHCP clients. To satisfy this need, you can
specify a primary subnet and multiple secondary subnets in an address pool. Upon receiving a client
request, the DHCP server selects an address from the primary subnet. If no assignable address is found,
the server selects an address from the secondary subnets in the order they are configured.
In scenarios where the DHCP server and the DHCP clients reside on different subnets and the DHCP
clients obtain IP addresses through a DHCP relay agent, the DHCP server needs to use the same address
pool to assign IP addresses to clients in different subnets. To satisfy this need, you can specify a primary
subnet and multiple secondary subnets in a DHCP address pool, which are consistent with the subnets
where the relay agent interfaces reside. Upon receiving a DHCP request forwarded by a relay agent, the
DHCP server reads the giaddr field in the request to find the corresponding subnet and selects an IP
address for the client.
Follow these guidelines when you specify a primary subnet and secondary subnets for a DHCP address
pool:
You can specify only one primary subnet in each address pool. If you use the network command
multiple times, the most recent configuration takes effect.
Command
dhcp server ip-pool pool-name
network network-address
[ mask-length | mask mask ]
address range start-address
end-address
class class-name range start-address
end-address
expired { day day [ hour hour
[ minute minute [ second second ] ] ]
| unlimited }
forbidden-ip ip-address&<1-8>
quit
dhcp server forbidden-ip
start-ip-address [ end-ip-address ]
31
Remarks
N/A
By default, no primary subnet is
specified.
By default, no IP address range
is specified.
By default, no IP address range
is specified for a user class.
The DHCP user class must
already exist.
To specify address ranges for
multiple DHCP user classes,
repeat this step.
The default setting is one day.
By default, all the IP addresses
in the DHCP address pool are
assignable.
To exclude multiple address
ranges from dynamic
allocation, repeat this step.
N/A
By default, except for the IP
address of the DHCP server
interface, all IP addresses in
address pools are assignable.
To exclude multiple IP address
ranges, repeat this step.

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900 series

Table of Contents