241
Specifying a PPP address pool on the server interface
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure a PPP address pool.
ip
pool
pool-name
start-ip-address
[
end-ip-address
]
[
group
group-name
]
By default, no PPP address
pool is configured.
3.
(Optional.) Enable new IP
address assignment.
ip pool pool-name
allocate-new-ip enable
By default, new IP address
assignment is disabled.
4.
(Optional.) Configure a
gateway address for the PPP
address pool.
ip pool pool-name gateway
ip-address
[
vpn-instance
vpn-instance-name
]
By default, the PPP address
pool is not configured with a
gateway address.
5.
(Optional.) Configure a PPP
address pool route.
ppp ip-pool route ip-address
{
mask-length
|
mask
}
[
vpn-instance
vpn-instance-name
]
By default, no PPP address
pool route exists.
The destination network of the
PPP address pool route must
include the PPP address pool.
6.
Enter interface view.
interface interface-type
interface-number
N/A
7.
Configure the interface to
assign an IP address from the
configured PPP address pool
to the peer.
remote address pool
pool-name
By default, an interface does not
assign an IP address to the
peer.
8.
Configure an IP address for the
interface.
ip address ip-address
By default, no IP address is
configured on an interface.
Specifying a DHCP address pool on the server interface
Step Command
Remarks
1.
Enter system view.
system-view
N/A
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 interface view.
interface interface-type
interface-number
N/A