Applying An Extended Address Pool On An Interface - H3C LS-3100-52P-OVS-H3 Operation Manual

S5500-ei series ethernet switches
Table of Contents

Advertisement

To do...
Enter system view
Enter interface view
Enable the DHCP server on an
interface
If a DHCP relay agent exists between the DHCP server and client, the DHCP server, regardless of
whether the subaddress keyword is used, will select an IP address from the address pool containing
the primary IP address of the DHCP relay agent's interface (connected to the client) for a requesting
client.
When the DHCP server and client are on the same subnet:
With the keyword subaddress specified, the DHCP server will assign an IP address from the
address pool containing the secondary IP address of the server interface (connected to the client);
if the interface has multiple secondary IP addresses, the address pool containing the first
secondary IP address is selected. If the interface has no secondary IP addresses, the server is
unable to assign an IP address to the client.
Without the keyword subaddress specified, the DHCP server will assign an IP address from the
address pool containing the primary IP address of the server interface (connected to the client).

Applying an Extended Address Pool on an Interface

After you create an extended address pool and apply it on an interface, the DHCP server, upon
receiving a client's request on the interface, will assign an IP address from this address pool to the client.
If no IP address is available in this address pool, address allocation fails, and the DHCP server will not
assign an IP address from other address pools.
Follow these steps to apply an extended address pool on an interface:
To do...
Enter system view
Enter interface view
Apply an extended address
pool on the interface
Use the command...
system-view
interface interface-type interface-number
dhcp select server global-pool
[ subaddress ]
Use the command...
system-view
interface interface-type
interface-number
dhcp server apply ip-pool
pool-name
2-13
Remarks
Optional
Enabled by default.
Remarks
Optional
By default, the DHCP server has
no extended address pool applied
on its interface, and assigns an IP
address from a common address
pool to a requesting client.

Advertisement

Chapters

Table of Contents
loading

Table of Contents