版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、Configure HDLC and PPP protocols on a serial WAN connection Configure PAP and CHAP authentication on a PPP connection Verify proper point-to-point HDLC and PPP configuration,Objectives,WAN Overview,Service Provider,WANs connect sites Connection requirements vary depending on user requirements and co
2、st,Leased Line (点对点),Synchronous serial,Telephone Company,Circuit-switched (按需拨号),Asynchronous serial, ISDN Layer 1,Service Provider,Packet-switched (帧中继),Synchronous serial,WAN Connection Types: Layer 1,Point-to-point or circuit-switched connection,中心交换机,Customer Premises Equipment,接线箱,Local Loop,W
3、AN service provider toll network,Trunks and switches,Interfacing WAN Service Providers,Provider assigns connection parameters to subscriber,Router connections 60针的接口支持所有标准,Network connections at the CSU/DSU,EIA/TIA-232,EIA/TIA-449,EIA-530,V.35,X.21,CSU/DSU,End user device,Service Provider,DTE,DCE,Se
4、rial Point-to-Point Leased Line Connections,Leased Line,Circuit-switched,PPP, SLIP, HDLC,HDLC, PPP, SLIP,Packet-switched,X.25, Frame Relay, ATM,Typical WAN Encapsulation Protocols: Layer 2,Telephone Company,Service Provider,Flag,Address,Control,Data,FCS,Flag,HDLC,Supports only single protocol on a s
5、ingle link Cisco HDLC is the default layer 2 protocol for Cisco router serial interfaces,Flag,Address,Control,Proprietary,Data,FCS,Flag,Cisco HDLC,HDLC Frame Format,Ciscos HDLC has a proprietary data field to supportmultiprotocol on a single link,HDLC Command,Router(config-if)#encapsulation hdlc,Ena
6、ble hdlc encapsulation HDLC is the default encapsulation on synchronous serial interfaces If the network consists of Cisco and non-Cisco devices, you should PPP instead of HDLC,因为非cisco的设备不支持cisco HDLC封装格式,PPP Encapsulation,TCP/IP Novell IPX AppleTalk,Multiple protocol encapsulations using NCPs in P
7、PP,PPP can carry packets from several protocol suites using Network Control Programs PPP controls the setup of several link options using LCP,Link setup and control using LCP in PPP,An Overview of PPP,Synchronous or Asynchronous Physical Media,Link Control Protocol,Authentication, other options,Netw
8、ork Control Protocol,PPP,Data Link Layer,Physical Layer,Network Layer,IPCP,IPXCP,Many Others,IP,IPX,Layer 3 Protocols,Layering PPP Elements,PPPA data link with network-layer services,Feature,How It Operates,Protocol,Authentication,PAP,CHAP,Perform Challenge Handshake,Require a password,Compression,C
9、ompress data at source; reproduce data at destination,Stacker or Predictor,Error Detection,Avoid frame looping,Monitor data dropped on link,Multilink,Load balancing across multiple links,Multilink Protocol (MP),PPP LCP Configuration Options,Quality Magic Number,PPP Authentication Overview,Two PPP au
10、thentication protocols: PAP and CHAP,PPP Session Establishment1Link Establishment Phase 2Optional Authentication Phase3 Network-Layer Protocol Phase,Dialup or Circuit-Switched Network,Passwords sent in clear text Peer in control of attempts,Selecting a PPP Authentication Protocol,Remote Router (Sant
11、aCruz),Central-Site Router (HQ),Hostname: santacruz Password: boardwalk,username santacruz password boardwalk,PAP 2-Way Handshake,“santacruz, boardwalk”,Accept/Reject,Selecting a PPP Authentication Protocol (cont.),A:Remote Router (SantaCruz),B:Central-Site Router (HQ),Hostname: santacruz Password:
12、boardwalk,username santacruz password boardwalk,CHAP 3-Way Handshake,Challenge,Response,Accept/Reject,1、B向A发起连接的同时发送一个挑战口令(随机代码)给A; 2、A用该代码来加密自己的主机名和密码,并发送给B; 3、B用上述随机代码对保存在自己数据库中的A的主机名和密码进行同样的加密运算,并与A发过来的结果进行比较,如果二者一致,B向A发接受信号,反之,发拒绝信号。 4、A对B也要进行类似的验证。,Configuring PPP and Authentication Overview,Se
13、rviceProvider,Verify who you are.,Router to Be Authenticated (The router that initiated the call.) ppp encapsulation hostname username / password ppp authentication,Authenticating Router (The router that received the call.) ppp encapsulation hostname username / password ppp authentication,Enabling P
14、PP,Enabling PPP Authentication,Enabling PPP,Enabling PPP Authentication,Configuring PPP,Router(config-if)#encapsulation ppp,Enable PPP encapsulation,Configuring PPP Authentication,Router(config)#hostname name,Assigns a host name to your router,Router(config)#username name password password,Identifie
15、s the username and password of authenticating router 对端路由器的主机名和密码的,Configuring PPP Authentication(cont.),Router(config-if)#ppp authenticationchap | chap pap | pap chap | pap,Enables PAP and/or CHAP authentication,If both PAP and CHAP are enabled, then the first method specified will be requested dur
16、ing link negotiation. If the peer suggests using the second method or simply refuses the first method, then the second method will be tried,Configuring CHAP Example,hostname left username right password sameone ! int serial 0 ip address 10.0.1.1 255.255.255.0 encapsulation ppp ppp authentication CHA
17、P,hostname right username left password sameone ! int serial 0 ip address 10.0.1.2 255.255.255.0 encapsulation ppp ppp authentication CHAP,Leftrouter,Right router,PSTN/ISDN,When you configure the usernames and passwords for the local databases, the passwords on both systems must be identical. Userna
18、mes and passwords are case sensitive,Verifying HDLC and PPP Encapsulation Configuration,Router#show interface s0 Serial0 is up, line protocol is up Hardware is HD64570 Internet address is 10.140.1.2/24 MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/255 Encapsulation PPP, loopback
19、 not set, keepalive set (10 sec) LCP Open Open: IPCP, CDPCP Last input 00:00:05, output 00:00:05, output hang never Last clearing of show interface counters never Queueing strategy: fifo Output queue 0/40, 0 drops; input queue 0/75, 0 drops 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute outp
20、ut rate 0 bits/sec, 0 packets/sec 38021 packets input, 5656110 bytes, 0 no buffer Received 23488 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 38097 packets output, 2135697 bytes, 0 underruns 0 output errors, 0 collisions, 6045 interface res
21、ets 0 output buffer failures, 0 output buffers swapped out 482 carrier transitions DCD=up DSR=up DTR=up RTS=up CTS=up,Verifying PPP Authentication with the debug ppp authentication Command,#debug ppp authentication 4d20h: %LINK-3-UPDOWN: Interface Serial0, changed state to up 4d20h: Se0 PPP: Treatin
22、g connection as a dedicated line 4d20h: Se0 PPP: Phase is AUTHENTICATING, by both 4d20h: Se0 CHAP: O CHALLENGE id 2 len 28 from ”left 4d20h: Se0 CHAP: I CHALLENGE id 3 len 28 from ”right 4d20h: Se0 CHAP: O RESPONSE id 3 len 28 from ”left 4d20h: Se0 CHAP: I RESPONSE id 2 len 28 from ”right 4d20h: Se0 CHAP: O SUCCESS id 2 len 4 4d20h: Se0 CHAP: I SUCCESS id 3 len 4 4d20h: %LINEPROTO-5-UPDO
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026年隆林各族自治县医疗事业单位人员招聘笔试参考题库及答案解析
- 2026年铅山县医疗事业单位人员招聘考试模拟试题及答案解析
- 2026年盐池县医疗事业单位人员招聘笔试模拟试题及答案解析
- 2026年应县医疗事业单位人员招聘考试模拟试题及答案解析
- 2026年临泉县医疗事业单位人员招聘笔试参考题库及答案解析
- 2026年临泽县医疗事业单位人员招聘笔试参考题库及答案解析
- 2026年临泉县带编教师招聘笔试备考题库及答案解析
- 2026年威远县中小学幼儿园教师招聘考试备考试题及答案解析
- 2026年镇远县医疗事业单位人员招聘考试模拟试题及答案解析
- 2026年礼县医疗事业单位人员招聘笔试备考试题及答案解析
- 创新教育评价体系的构建与实施
- 2025深信服超融合一体机产品手册
- 人教版八年级上册数学教学计划的时间安排
- 回流焊的工艺流程
- 无人机通信与导航技术-洞察分析
- T-BAAA 001-2024 事故车辆损失鉴定评估规范
- 手术器械的包装操作流程
- 测绘人员培训与岗位管理制度
- AQuietHouse(课件)英语启蒙丽声北极星分级绘本第二级上
- 材料力学第4版单辉祖习题答案
- 广联达钢筋算量框架梁节点设置解析
评论
0/150
提交评论