30
Usage guidelines
This command can be used when the local interface is configured with an IP address, but the peer
has no IP address. To enable the peer to accept the IP address assigned by the local interface
(server), you must configure the
ip address ppp-negotiate
command on the peer to make the peer
act as a client.
This command enables the local interface to forcibly assign an IP address to the peer. If the peer is
not configured with the
ip address ppp-negotiate
command but configured with an IP address, the
peer will not accept the assigned IP address. This results in an IPCP negotiation failure.
PPP supports IP address assignment from a PPP or DHCP address pool, but the PPP address pool
takes precedence over the DHCP address pool. For example, if you use a pool name that identifies
both a PPP address pool and a DHCP address pool, the system uses only the PPP address pool for
address assignment.
To make the configuration of the
remote address
command take effect, configure this command
before the
ip address
command, which triggers IPCP negotiation. If you configure the
remote
address
command after the
ip address
command, the server assigns an IP address to the client
during the next IPCP negotiation.
After you use the
remote address
command to assign an IP address to the client, you can configure
the
remote address
command again or the
undo remote address
command for the peer. However,
the new configuration does not take effect until the next IPCP negotiation.
Examples
# Specify the IP address to be assigned to the client as 10.0.0.1 on Serial 2/1/0.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] remote address 10.0.0.1
# Configure Serial 2/1/0 to assign an IP address from address pool
aaa
to the client.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] remote address pool aaa
Related commands
ip address ppp-negotiate
ip pool
remote address dhcp client-identifier
Use
remote
address
dhcp
client-identifier
username
to use the PPP usernames as the DHCP
client IDs.
Use
undo
remote
address
dhcp
client-identifier
to restore the default.
Syntax
remote
address
dhcp
client-identifier
username
undo
remote
address
dhcp
client-identifier
Default
The PPP usernames are not used as the DHCP client IDs.
Views
Interface view
Summary of Contents for MSR810
Page 148: ...136 Related commands timer hold...
Page 331: ...319 Related commands timer hold...