R0106-HP MSR Router Series Layer 2 - WAN Configuration Guide(V7)

28
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. Configure Router B:
# Enable IP address negotiation on Serial 2/1/0.
<RouterB> system-view
[RouterB] interface serial 2/1/0
[RouterB-Serial2/1/0] ip address ppp-negotiate
3. Verify the configuration:
# After the configuration is complete, display summary information about Serial 2/1/0 on Router
B.
[RouterB-Serial2/1/0] display interface serial 2/1/0 brief
Brief information on interface(s) under route mode:
Link: ADM - administratively down; Stby - standby
Protocol: (s) - spoofing
Interface Link Protocol Main IP Description
S2/1/0 UP UP 200.1.1.10
The output shows Serial 2/1/0 obtains IP address 200.1.1.10 through PPP negotiation.
# Ping Serial 2/1/0 of Router A from Router B.
[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