H3C Technologies H3C SecPath F5020 User Manual
Page 18
10
Step Command
Remarks
2.
Enter interface view.
interface interface-type
interface-number
N/A
3.
Enable IP address
negotiation.
ip address ppp-negotiate
By default, IP address negotiation
is not enabled.
This command is mutually
exclusive with the ip address
command. For more information
about the ip address command,
see Layer 3—IP Services
Command Reference.
Configure the server to assign an IP address to a client by using the following methods:
•
Method 1: Specify an IP address for the client on the server interface.
•
Method 2: Specify a PPP or DHCP address pool on the server interface.
•
Method 3: Associate a PPP or DHCP address pool with an ISP domain.
For clients requiring no authentication, you can use either method 1 or method 2, but not both.
For clients requiring authentication, you can use one or more of the three methods, but cannot use
method 1 and method 2 at the same time. When multiple methods are configured, method 3 takes
precedence over method 1 or method 2.
PPP supports IP address assignment from a PPP or DHCP address pool. The PPP address pool takes
precedence over the DHCP address pool. If you reference a pool name that identifies both a PPP
address pool and a DHCP address pool, the system only uses the PPP address pool for address
assignment.
To configure the device as the server (Method 1):
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface interface-type
interface-number
N/A
3.
Configure the interface to assign
an IP address to the peer.
remote address ip-address
By default, an interface does not
assign an IP address to the peer.
4.
Configure an IP address for the
interface.
ip address ip-address
By default, no IP address is
configured on an interface.
To configure the device as the server (Method 2: Specify a PPP address pool):
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.) 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.