243
Step Command
Remarks
2.
Configure DHCP.
•
If the server acts as a DHCP
server, perform the following
tasks:
{
Configure the DHCP
server.
{
Configure a DHCP
address pool on the
server.
•
If the server acts as a DHCP
relay agent, perform the
following tasks:
{
Configure the DHCP
relay agent on the server.
{
Configure a DHCP
address pool on the
remote DHCP server.
{
Enable the DHCP relay
agent to record relay
entries.
{
Configure a DHCP relay
address pool.
For information, see
"
3.
Enter ISP domain view.
domain
isp-name
N/A
4.
Associate the ISP domain with
the configured DHCP address
pool for address assignment.
authorization-attribute ip-pool
pool-name
By default, no DHCP address
pool is associated.
For more information about this
command, see AAA commands
in
User Access Command
Reference
.
5.
Return to system view.
quit
N/A
6.
Enter interface view.
interface interface-type
interface-number
N/A
7.
Configure an IP address for the
interface.
ip address ip-address
By default, no IP address is
configured on an interface.
8.
(Optional.) Configure the
method of generating DHCP
client IDs when PPP users act
as DHCP clients.
remote address dhcp
client-identifier
{ {
callingnum
|
username
} [
session-info
] |
session-info
}
By default, the method of
generating DHCP client IDs
when PPP users act as DHCP
clients is not configured.
When DHCP client IDs are
generated based on PPP
usernames, make sure different
users use different PPP
usernames to come online.
Enabling IP segment match
This feature enables the local interface to check whether its IP address and the IP address of the
remote interface are in the same network segment. If they are not, IPCP negotiation fails.
To enable IP segment match:
Step Command
Remarks
1.
Enter system view.
system-view
N/A