Enabling the DHCP server on an interface
Perform this task to enable the DHCP server on an interface. Upon receiving a DHCP request on the
interface, the DHCP server assigns the client an IP address and other configuration parameters from
a DHCP address pool.
To enable the DHCP server on an interface:
Step
1.
Enter system view.
2.
Enter interface view.
3.
Enable the DHCP server on
the interface.
Applying an address pool on an interface
Perform this task to apply a DHCP address pool on an interface.
Upon receiving a DHCP request from the interface, the DHCP server performs address allocation in
the following ways:
•
If a static binding is found for the client, the server assigns the static IP address and
configuration parameters from the address pool that contains the static binding.
•
If no static binding is found for the client, the server uses the address pool applied to the
interface for address and configuration parameter allocation.
To apply an address pool on an interface:
Step
1.
Enter system view.
2.
Enter interface view.
3.
Apply an address pool on the
interface.
Configuring a DHCP policy for dynamic address
assignment
In a DHCP policy, each DHCP user class has a bound DHCP address pool. Clients matching
different user classes obtain IP addresses and other parameters from different address pools. The
DHCP policy must be applied to the interface that acts as the DHCP server. When receiving a DHCP
request, the DHCP server compares the packet against the user classes in the order that they are
configured.
•
If a match is found and the bound address pool has assignable IP addresses, the server
assigns an IP address and other parameters from the address pool. If the address pool does
not have assignable IP addresses, the address assignment fails.
Command
system-view
interface interface-type interface-number
dhcp select server
Command
system-view
interface interface-type
interface-number
dhcp server apply ip-pool
pool-name
53
Remarks
N/A
N/A
By default, the DHCP
server on the interface
is enabled.
Remarks
N/A
N/A
By default, no address pool is applied
on an interface.
If the applied address pool does not
exist, the DHCP server fails to perform
dynamic address allocation.
Need help?
Do you have a question about the FlexNetwork MSR Series and is the answer not in the manual?