33
Internet Address: 200.1.1.2/16 Primary
Link layer protocol: PPP
LCP opened, IPCP opened
...
The output shows that:
{ The physical layer status and link layer status of the interface are both up.
{ The states of LCP and IPCP are both Opened, indicating that PPP negotiation has succeeded.
# Verify that Router A and Router B can ping each other.
[RouterB-Serial2/1/0] ping 200.1.1.1
Ping 200.1.1.1 (200.1.1.1): 56 data bytes, press CTRL_C to break
56 bytes from 200.1.1.1: icmp_seq=0 ttl=128 time=3.197 ms
56 bytes from 200.1.1.1: icmp_seq=1 ttl=128 time=2.594 ms
56 bytes from 200.1.1.1: icmp_seq=2 ttl=128 time=2.739 ms
56 bytes from 200.1.1.1: icmp_seq=3 ttl=128 time=1.738 ms
56 bytes from 200.1.1.1: icmp_seq=4 ttl=128 time=1.744 ms
--- Ping statistics for 200.1.1.1 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 1.738/2.402/3.197/0.576 ms
IP address negotiation configuration examples
Specifying an IP address for the client on the server interface
Network requirements
As shown in Figure 6, configure Router A to allocate an IP address to Serial 2/1/0 of Router B through
PPP negotiation. The IP address is specified on Serial 2/1/0 of Router A.
Figure 6 Network diagram
Configuration procedure
1. Configure Router A:
# Configure an IP address to be assigned to the peer interface on Serial 2/1/0.
<RouterA> system-view
[RouterA] interface serial 2/1/0
[RouterA-Serial2/1/0] remote address 200.1.1.10
# Configure an IP address for Serial 2/1/0.
[RouterA-Serial2/1/0] ip address 200.1.1.1 16
2. Enable IP address negotiation on Serial 2/1/0 of Router B.
<RouterB> system-view
[RouterB] interface serial 2/1/0
[RouterB-Serial2/1/0] ip address ppp-negotiate