拓扑图
R1
Router#
Router#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1
R1(config)#int s2/0
R1(config-if)#ip add 172.20.106.1 255.255.255.0
R1(config-if)#no sh
%LINK-5-CHANGED: Interface Serial2/0, changed state to down
R1(config-if)#
%LINK-5-CHANGED: Interface Serial2/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up
R1(config-if)#encapsulation ppp
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to down
R2:
Router>enable
Router#config
Router(config)#int s2/0
Router(config-if)#ip add 172.20.106.2 255.255.255.0</