4.2 basic PPP Configuration
Purpose:
1. master the basic configurations of PPP.
2. Understand the PPP Encapsulation Format.
Tutorial topology:
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/0619324622-0.png "title =" 4.2.png "/>
Tutorial steps:
1. Deploy the PPP encapsulation and IP address for the serial links of R1 and R2 Based on the topology shown in the figure. The configuration is as follows:
On R1
R1 (config) # int s0/0
R1 (config-if) # no shutdown
R1 (config-if) # encapsulation ppp
R1 (config-if) # ip address 12.1.1.1 255.255.255.0
R1 (config-if) # exit
On R2
R2 (config) # int s0/0
R2 (config-if) # no shutdown
R2 (config-if) # encapsulation ppp
R2 (config-if) # ip address 12.1.1.2 255.255.255.0
R2 (config-if) # exit
2. Check the interface encapsulation and test the direct connection connectivity.
R1 # show interfaces s0/0
Serial0/0 is up, line protocol is up
Hardware is M4T
Internet address is 12.1.1.1/24
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
Reliability 255/255, txload 1/255, rxload 1/255
Encapsulation PPP, LCP Open
Open: IPCP, CDPCP, crc 16, loopback not set
Keepalive set (10 sec)
Restart-Delay is 0 secs
Last input 00:00:25, output 00:00:08, output hang never
Last clearing of "show interface" counters 00:01:09
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations0/1/256 (active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Available Bandwidth 1158 kilobits/sec
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
25 packets input, 1394 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
26 packets output, 1699 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 output buffer failures, 0 output buffers swapped out
1 carrier transitionsDCD = upDSR = upDTR = upRTS = upCTS = up
As you can see, the router uses the PPP protocol for encapsulation and the interface is in normal state. Ping R2 on R1, as shown below:
R1 # ping 12.1.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 12.1.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/25/40 MS
In this case, after the PPP encapsulation, the direct connection is normal.
3. view the PPP Encapsulation Format as follows:
650) this. length = 650; "src =" http://s3.sinaimg.cn/mw690/d37011a2gx6BJWLOFai02&690 "real_src =" http://s3.sinaimg.cn/mw690/d37011a2gx6BJWLOFai02&690 "width =" 690 "height =" 149 "name =" image_operate_91601376104573808 "alt =" pinginginglab passed the classic series "CCNA fully configured Guide"- 4.2 <wbr> basic PPP configuration "title =" PingingLab classic series CCNA full Configuration Guide-4.2 <wbr> basic PPP configuration "/>
Compared with HDLC, PPP supports more functions, such as multi-protocol support, identity authentication, and link binding. It is compatible with different vendors and is a better Wan encapsulation protocol. This experiment is complete.
========================================================== =
PingingLab· High quality ITEducation provider
CCIELab-ITProject Practice · customization of high-end Talents
Shenzhen pinke Information Technology Co., Ltd. · waihuan West Road Station, Guangzhou University City
Sina Weibo :@PingingLab@ PingingLab-Chen xinjie
PingingLabPublic Account: pinginglab
PingingLabTechnical Exchange Group: 240920680
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/0619322311-1.jpg "title =" pinginglab .bmp "/>
This article from the "Chen xinjie network" blog, please be sure to keep this source http://chenxinjie.blog.51cto.com/7749507/1274489