Enabling The Dhcp Server On An Interface; Applying An Extended Address Pool On An Interface - H3C S5820X Series Configuration Manual

Layer 3 - ip services
Hide thumbs Also See for S5820X Series:
Table of Contents

Advertisement

Enabling the DHCP Server on an Interface

With the DHCP server enabled on an interface, upon receiving a client's request, the DHCP server will
assign an IP address from its address pool to the DHCP client.
Follow these steps to enable the DHCP server on an interface:
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, 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, regardless of whether the subaddress keyword is
used.
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, attempts to assign the client the statically bound IP
address first and then an IP address from the specified address pool. If no IP address is available,
address allocation fails, and the DHCP server will not assign the client any 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
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
6-14
Remarks
Optional
Enabled by default.
Remarks

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5800 series

Table of Contents