传输与交换通信网课件_第1页
传输与交换通信网课件_第2页
传输与交换通信网课件_第3页
传输与交换通信网课件_第4页
传输与交换通信网课件_第5页
已阅读5页,还剩66页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、第1章 接入网基础 1.1 接入网概述1.2 接入网络分类与接口协议1.3 PPP协议通信网: 由终端、主机、传输与交换设备等组成,采用标准协议,实现信息采集与处理、传输与交换的网络。计算机网络:用通信线路和设备将分散在不同地理位置上、具有独立功能的多台计算机系统连接起来,按照网络协议进行数据通信,实现资源共享(硬、软件、数据),进行合作共享的计算机集合。 一、 信息网特点重在计算机应用、面向用户 (计算机网络)重在信息采集与处理、传输与交换 (通信网)信息网: 由用户与网络终端、传输与交换设备等组成,采用标准协议,实现信息采集与处理、传输与交换的网络,其实际形式包括通信网和/或计算机网络。

2、2. 接入网 实现不同用户驻地网或子网级的汇聚与分发、用户信息的集中/分发,以及内部交换,一般由NSP (network service provider)提供;3. 用户驻地网(CPN/CPE- Customer Premise Network /Equipment) 由用户驻地(如大学校园、工厂、办公大楼、居民住宅小区等)处的终端、主机、线路设备(如接线箱)、传输与交换设备等组成,实现用户认证及信息的集中/分发。其典型代表有用户单位的用户交换机(PABX)和计算机局域网。 1. 骨干网络backbone network,也称核心网(core network),实现信息高速、大容量的传输与交

3、换;(传输transmission + 交换switching =传送 transport); 用户驻地网 这3种网络的2种网络边界(核心网/接入网、接入网/用户驻地网)存在重叠接入网核心网二、信息网间关系 PSTN: 电信网CN: Computer NetworkBCN:Broadcasting & Cable TV Network)传送网由三个网络的任两个或全部组成的传送资源PSTNCNBCNInternet应用网/业务网网络 源 宿 传送资源由同一种网络提供;由2种网络提供;由3种网络提供;三网与因特网是分离的两个网,各有自己的业务(电话/数据/电视,WWW/FTP/E-MAIL);两者

4、均可完成数据业务的传送,但对数据业务支持的层次不同,三网完成IP层及以下的功能,而因特网完成IP及其以上各层的功能;因特网可有自己的物理网络,如局域网,更广大地区的用户需通过三网接入因特网;从业务角度而言,三网是物理承载(传送)网络,因特网是业务(应用)网。三、接入网概念1.早期含义 现有网络主要从电信网(PSTN)演变发展而成,接入网的早期形式是:1)本地用户环路(Local loop)2)用户网(Subscriber network)3)用户环路系统等。 see the chart on next pageSW- Switch,交换机RSU- Remote Switch Unit, 远端交

5、换单元RT- Remote Termination, 远端终结FP- Flexible Point, DP- Distribution Point CPN/CPE# - Customer Promise Network/Equipments-用户网2. ITU-T (G.902)定义由用户网络接口(UNI-User Network Interface)和业务结点接口(SNI-Service Node Interface)间的一系列传送实体组成(包括线路设施和交换设备),为传输电信业务提供所需传送承载能力,可通过Q3接口进行配置与管理。(see the chart on next page)接入

6、网组成模型接入网业务结点TMNQ3用户终端1用户终端NQ3SNIUNIUNI An implementation comprising those entities which provide the required transport bearer capabilities for the provision of telecommunications services between a Service Node Interface (SNI) and each of the associated User Network Interfaces (UNIs)。2.1 用户网络接口(UNI

7、)在接入网的用户侧,支持各种业务的接入。主要包括:1)模拟电话接口(POTS) Plain Old Telephone System2)ISDN UNI基本速率 2B+D; 基群速率(E1/T1) 30B+D /23B+D3)数字接口E1,N*64K4)低中速接口RS232/V.24,V.35,RS-449(422A、423A) 5)宽带接口a) SDH#接口: STM-N N=0,1,4,16,64 STM: Synchronous Transfer Module (同步传递模块) b) USB (Universal Serial Bus) c) GE (Gigabit Ethernet)2

8、.2 业务结点接口(SNI)位于接入网的业务侧,为不同的用户业务提供相应的业务结点接口,实现与核心网交换设备的连接。核心网交换设备早期主要指电话交换机,现在则指数据传输与交换设备(如路由器)实际上(现状是)可包括:现有交换机/路由器的几乎所有接口, 如SDH 同步数字序列/同步数体系(STM-N, 信元或分组, 在北美称为同步光联网SONETSynchronous Optical Networking), PDH (Plesiosynchronous Digital Hierarchy) 准同步数字序列, ATM,Ethernet (FE,GE,10GE)等2.3 Q3接口 TMN (Tele

9、communication Management Networks) 通过Q3实现对接入网的管理与协调,为用户提供所需接入类型与承载能力。 如UNI终接(termination)、激活去激活(Activation /Deactivation)、复用(multiplexing)、通道映射(mapping)、信令处理配置(使用何种信令、信令传送方式)、用户端口状态等。 四、IP接入网 1. 定义(ITU-T SG13, Y.1231)接入网指在 IP用户和IP 业务提供者之间(Internet Service Provider:ISP)为提供所需的接入到IP业务的能力、网络实体的实现。(图见纪P2

10、2) 接入网参考模型 (图见纪P22 )用户驻地网与接入网,接入网与核心网间有参考点 G.902与Y.1231的区别G.902Y.1231模型接口UNI、SNIRP传输功能复用、交叉连接,一般不含交换一般有交换计 费不(计费在核心网)需 要接口开放性V5系列 (现在很少用)众多选择五、广义接入网 由用户(或用户驻地网)和核心网间的传送实体组成(包括线路设施和传输交换等设备),用户(驻地网)及核心网与 接入网间接口采用开放的标准接口,经济地为用户提供所需的传送能力。(from my viewpoint) ANCNCPE/CPN开放接口 开放接口 远端模块交换机内部标准(如早期Pair gain,

11、电话倍增器) 用户内部标准 1.2 接入网分类与接口协议 1.1 接入网概述1.2 接入网络分类与接口协议1.3 PPP协议一、接入网分类 1) 按采用的技术体制分类(ATM、IP、Ethernet,或几种技术的混合);2) 按应用领域分类(民用(家庭、校园、社区,), 军用,应急等)按传输媒质的属性分类(有线、无线、混合)。1. 有线(传输)接入 铜线对 xDSL (Digital Subscriber Line)x=Asymmetric,High-speed bit rate, Very high-speed bit rate,ISDN, Rate Adaptive, Symmetric,

12、Ethernet (Ethernet over DSL), 128k51Mbps 几百m5km 光纤网络(OFN) 主要用于 FTTx (Fiber to the x , x=B, C, H, ) FTTB (building), FTTC (Curb), FTTH (Home)a) AON (Active Optical Network 有源光网络): 可提供电路信号 (如Ei, i=1,2,3,4,E1=2.048M;)和 数据业务PoS (Packet over SDH)SDH #(Synchronous Digital Hierarchy, 同步数字系列(体系),系列:下一等级速率是前

13、一等级的4倍) TUG: Tributary Unit Group/支路单元组)STM-N # N=0,1,4,16,64,256 51.84M 40GbpssSTM-2n (s-sub,子) n=1,2,4.(7.488, 14.400, 28.224)MbpssSTM-1k k=1,2,4,8,16 (2.880,5.184, 9.792,19.792, 37.444)MbpssSTM-2n 适用于光纤、双绞线、无线传送(TUG-2)sSTM-1k 适用于无线传送(TU-12)b) 无源光网 (xPON, Passive Optical Network, x=E/GE,A,G; Ether

14、net, Gigabit Ethernet, ATM, Gigabit ) : 由光合成/分配器件等无源器件组成; 例如,APON提供对称STM-1, 或上行STM-1/下行STM-4 混合光纤电缆HFC (Hybrid Fiber Coax (Coaxial Cable) 光纤到楼宇或小区,楼宇或小区内部使用Cable; 可提供模拟电视,数百用户可共享1000 Mbps的传输宽带(数据接入,Internet) 2. 无线(传输)接入 从用户终端(UNI)到业务结点接口(SNI)间全部或部分采用无线传输 固定无线接入覆盖:50m 几十km频率:几十M几十GHZ方式:FDMA,TDMA,CDMA

15、;二者的结合,如MF-TDMA(多频TDMA) 短波/超短波,PMP点到多点微波系统,直播卫星系位DBS,“无线光”视距传输 (2431GHZ, 宽带1G HZ) ,“灯光上网”:无线光通信技术Lifi在复旦大学实验成功, 迟楠教授,Light+fi (WiFi: Wireless Fidelity), 下行3.7Gbps,上行?移动无线接入 第2代无线系统:GSM. IS-95 第3代移动通信(3G):WCDMA(FDD/TDD Frequency/Time division Duplex) , CDMA2000 (1x/3x), TD-SCDMA (智能信号处理) UTRAN:UMTS (

16、Universal Mobile Telecommunication System) Terrestrial Radio Access Network,第一阶段基于ATM,第二阶段IP,第三阶段IP多媒体 第4代移动通信(4G):接入网LTE (长期演进)3. 混合接入 使用以上各种无线与有线(传输)接入技术的组合。WLAN: 无线LANIEEE802.11(1, 2 Mbps) /11a (6,12,18,24,36,48,54)Mbps /11b(1,2,5.5,11) Mbps / 11g (功能上11a+11b)(与11b兼容, 11g标准在完善) IEEE 802.16,其它(高、中

17、、低轨道,GEO/MEO/LEO, Geostationary Earth Orbit, )卫星、蓝牙Bluetooth、高空平台、 二、 接入网接口与协议 1.用户网络接口(UNI) 1)Z接口 是交换机和模拟用户线的接口,用以连接话机、话带MODEM、直流信令、DTMF/PULSE、振铃、计次。(DTMF#: Double Tones Multi- Frequency) 2)U接口 ISDN中NT与交换机线路终端(LT)间的数据接口。T/S接口可连接多达8个终端。 3)RS-232接口/V.24 (#) “D”型25pins或9pins插座,15m20k Bauds 。 +3V25V 表示

18、数据“0”, 控制线接通 -3V-25V 表示数据 “1” , 控制线断开 4)RS-449/V.36 RS-449规定接口的机械、功能、流程(procedural )特性; RS-422-A:平衡传输 60m2Mbps; RS-423-A:非平衡传输 10m300kbps; 5). RJ-11/45 (4线电话/8线网线) (用于电话(RJ-11)、#Ethernet(RJ-45)连接) 1 TXD+2 TXD-3 RXD+456 RXD-78DTEDTRRTSDCEDSRCTSDTE#: Digital Terminal Equipment DCE#: Dataset Communicat

19、ion Equipment Step1 DTR#: Digital Terminal ReadyStep2 DSR#: Dataset Send ReadyStep3 RTS#: Request TO Send Step4 CTS#: Clear TO Send 6)E1接口(G.703) # 线路编码:HDB3 速率: 2.048Mbps 阻抗: 120 ohm(平衡)/75 ohm(非平衡) 结构: 非成帧(32个时隙的纯字节)或成帧framing(CRC-4 有/无可选) 连接器: D15F(120 ohm),BNC(电视电缆75 ohm) ,也有采用RJ11或RJ45 7)V.35 (

20、同步传输接口)# RTS、DTS、DSR、CTS 非平衡 (共同地线) TXD、RXD、 Timing (定时,时钟)平衡方式(2线) 34-pins (8+9+8+9,4排) 或DB 37 (18+19,2排) ,也有设备厂商自定义,采用DB 26 【3排,(9+9+8)】、DB25,两排1213) 90m10Mbps (距离带宽积) 610m64kbps 2. 业务结点接口 (SNI)1) .业务结点指能独立地提供某种业务的“实体”,是一种可提供复用/交换的网元。(定义见陶P34)实例:电话交换机、X.25交换机、帧中继交换机、ATM交换机、router、Ethernet交换机,视频/音频

21、服务器等。 2) . 业务结点类型a) 仅支持一种接入类型ANSN业务1 SNI UNIb) 支持多种接入类型,所有接入类型具有相同的接入承载能力; ANSN业务1,2 SNI UNIc) 支持多种接入类型,每种接入类型要求不同的接入承载能力。 ANSN1业务1,2 SNI 1,2 UNISN23). 业务结点接口类型(SNI)当前实用的SNI还包括符合广义接入网中的各种现有网络接口,主要包括SDH、GE/10GE、E1等。 1.1 接入网概述1.2 接入网络分类与接口协议1.3 PPP协议1.3 PPP协议2022/7/24Dr. Zhanqi XU, National Key Lab on

22、 ISN, Xidian University351. PPP 协议简介 PPP (point to point protocol) 是一种应用最广泛的链路协议(如无线路由器),它提供多于常见链路层协议的功能。PPP 提供的功能#常见的数据链路控制(建立、终止、维护等)(可选的)链路配置与链路质量测试链路数据差错检测动态的IP地址指派与管理网络协议复用(传送多种网络层协议)多种协商选项(网络IP地址、数据压缩、认证方式等)2022/7/24Dr. Zhanqi XU, National Key Lab on ISN, Xidian University36PPP 协议传输 PPPIPIPX .

23、ADSL/RS-232SDH, InterfaceOSI LayerApplicationPresentationSessionTransportNetworkData LinkPhysicaldataIP datagramIPX datagramPPP FramePPP FrameSerial LinkAP IAP IIdata问题:因特网协议参考模型包括几层?每层的名称? TCP,UDPSerial Link2022/7/24Dr. Zhanqi XU, National Key Lab on ISN, Xidian University372. PPP 主要部件PPP 采用如下3种部件以

24、提供下3层“传送网”连接性: (1) 一种数据报(datagram)在串行链路上的封装方法(encapsulating). PPP采用高级数据链路协议 HDLC (High-Level Data Link Control)做为在WAN串行点到点数据链路(如早期电话modem拨号)上封装的基础。 注解:现在的PPP协议已不限制在串行线路,可工作在任何传输线路(如SDH提供的字节byte线路),采用的链路协议也不局限于HDLC,例如PPP over Ethernet (PPPoE)。 (2) 一个链路控制协议LCP (Link Control Protocol) 用于数据链路连接的建立、配置和测试

25、。 2022/7/24Dr. Zhanqi XU, National Key Lab on ISN, Xidian University38 (3) 网络控制协议NCPs (Network Control Protocols) 用于建立与配置不同的网络层协议. PPP 允许同时使用多个网络协议,如IP、 网间分组交换IPX (Internetwork Packet Exchange) 和 Appletalk. 2022/7/24Dr. Zhanqi XU, National Key Lab on ISN, Xidian University39 IPCP: IP control protoco

26、l (RFC1332,IETF Request For Comments:请求注解) , negotiation for the parameters of TCP/IP PPP支持的物理层包括:串行比特:电话拨号网(0比特插入、删除)字节信道:例如,SDH(两个Flag间的“数据”flag采用转义字符变换, 见下页)2022/7/24Dr. Zhanqi XU, National Key Lab on ISN, Xidian University403. PPP 帧格式线路Bit- or Byte-orientedPPP FrameBit/Octet StuffingFlag0 x7eAdd

27、r0 xffCont.0 x03Protocol16 bitsdataFlag0 x7epaddingFCS16/32bits0 xc0210 x00fdLCPCompressed datagramOctet Stuffing(填塞):0 x7e-0 x7d,0 x5e, 0 x7d-0 x7d,0 x5d在HDLC帧传输中,对于帧addr 到FCS的帧内容,有两种填塞或变换方法处理帧内容中可能的“帧标志flag ”:(1) 对于bit 信道,“0”比特插入 (连续5个1后加0)(2) 对于byte 信道,字节变换法2022/7/24Dr. Zhanqi XU, National Key La

28、b on ISN, Xidian University41协议域代码含义Value (Hex)Protocol Type 0 x0021IP(datagrams)0 x002dVJ Compressed TCP Header 0 x002fVJ Uncompressed TCP Header0 x00fdCompressed Datagrams0 x8021IPCP(NCP)0 xc021LCP0 xc023PAP0 xc223CHAPNote: vj-Van Jacobson TCP Header Compression注解:Password Authentication Protocol

29、(PAP) and Challenge Handshake Authentication Protocol (CHAP). 注解:PAP-口令鉴权协议,CHAP:(询问,查询挑战)握手鉴权协议2022/7/24Dr. Zhanqi XU, National Key Lab on ISN, Xidian University424. PPP 状态转移图Dead(Init)EstablishTerminateAuthenticationNetworkSuccessopenedFalseSuccessFalseDataTrans.2022/7/24Dr. Zhanqi XU, National Ke

30、y Lab on ISN, Xidian University434个阶段:链路建立与配置协商发送LCP帧以建立、配置、测试链路链路质量确定(可选阶段) 在链路建立与配置后网络层协议配置与协商源端发送NCP帧以选择和配置网络层协议,选择(TCP/IP, IPX & Appletalk) 配置,并用选择的网络层协议传送分组链路终止会话保持在配置的状态,直到用 LCP或 NCP帧终止,或有关激活定时器溢出,或用户终止。2022/7/24Dr. Zhanqi XU, National Key Lab on ISN, Xidian University445. PPP 协议流程1). 在链路建立与配置

31、协商阶段,每个 PPP设备发送LCP 分组以实现之。 LCP分组包括一个配置选择域以允许设备协商选项(options),例如, 最大传送单位长度MTU (maximum transmission unit), 特定PPP域的压缩方法,链路认证协议等。 在任何网络层数据报交换前(例如,IP数据报),必须使用 LCP首先打开链路连接以协商有关参数。2022/7/24Dr. Zhanqi XU, National Key Lab on ISN, Xidian University45LCP 帧格式Flag0 x7eAddr0 xffCont.0 x03PPP frameData/paddingLCP

32、0 xc021FCS16/32 bitsFlag0 x7eCode8bitsID8bitsLength16bitsData.Question: is there anybody to know the name of the frame if its control segment equals 0 x03 ?2022/7/24Dr. Zhanqi XU, National Key Lab on ISN, Xidian University46Code: 识别不同类型的 LCP分组链路配置: Configure Req/Ack/Nak/Rej (Nak: Negative acknowledg

33、ment, Rej: reject)链路终止: Terminate Req/Ack链路维护: Code-Reject, Protocol-reject, Echo Req/Reply, Discard req, etc.2) ID 识别相同类型(code相同)的帧序号,以防止错误操作3) Length整个PPP分组数据长度 (Code, ID, PPP data)2022/7/24Dr. Zhanqi XU, National Key Lab on ISN, Xidian University47LCP 协商Host AHost B(1)Configure-request(2)Configur

34、e-reject(3)Configure-request(4)Configure-ack(5)Configure-request(6)Configure-ack2022/7/24Dr. Zhanqi XU, National Key Lab on ISN, Xidian University48在链路建立与配置协商之后,允许LCP进行可选的链路质量确定,测试链路以确定其链路质量是否好到可承载链路层协议。 2). 另外,在链路建立和鉴权协议选择后,客户或用户站将被鉴权;如果使用鉴权,则需在网络层协议配置开始前完成。LCP可延迟网络层协议信息的发送,直到鉴权过程完成。2022/7/24Dr. Zh

35、anqi XU, National Key Lab on ISN, Xidian University493). 网络层协议配置协商 (可选:如采用链路质量测试,就当LCP完成链路质量确定后)采用 NCP可完成网络层协议的配置。PPP设备可发送NCP分组以选择和配置一个或多个网络层协议(IP, Novell IPX, AppleTalk)。 在PPP协议配置完成后,可采用人机接口命令,查看LCP和NCP的状态。4). 链路终止 可采用LCP在任何时刻终止链路连接,该行为通常基于用户请求,但也可能由于载波丢失或计时器溢出而发生。2022/7/24Dr. Zhanqi XU, National K

36、ey Lab on ISN, Xidian University501. PPP introduction (留作学习英语)PPPIPIPX .ADSL/RS-232SDH,InterfaceOSI LayerApplicationPresentationSessionTransportNetworkData LinkPhysicaldataIP datagramIPX datagramPPP FramePPP FrameSerial LinkAP IAP IIdataHow many layers are there in the Internet Reference Model ? And

37、 the name of each layer? PPP-point to point protocolTCP,UDP2022/7/24Dr. Zhanqi XU, National Key Lab on ISN, Xidian University511. PPP introduction WAN connections are controlled by protocols that perform the same basic functions as Layer 2 LAN protocols, such as EthernetIn a WAN environment, in orde

38、r to move data between any two nodes or routers, a data path must be established, and flow control procedures must be in place (adv. 适当地)to ensure delivery data - by WAN protocols2022/7/24Dr. Zhanqi XU, National Key Lab on ISN, Xidian University52Most widely used and most popular WAN protocol becaus

39、e it offerscontrol of data link setup(dynamic )assignment and management of IP addressesNetwork protocol multiplexingLink configuration and link quality testingError detectionnegotiation options for capabilities such as network-layer address negotiation and data compression negotiation2022/7/24Dr. Z

40、hanqi XU, National Key Lab on ISN, Xidian University532. PPP ComponentsPPP addresses the problems of Internet connectivity by employing three main components: (1) A method for encapsulating (封装) datagrams over serial links. PPP uses High-Level Data Link Control (HDLC) as a basis for encapsulating da

41、tagrams over point-to-point links. Comments/Tips:现在的PPP协议已不限制在串行线路,可工作在任何传输线路(如SDH提供的字节byte线路),采用的链路协议也不局限于HDLC,例如PPP over Ethernet (PPPoE)。 (2) A Link Control Protocol (LCP) for establishing, configuring, and testing the data-link connection. 2022/7/24Dr. Zhanqi XU, National Key Lab on ISN, Xidian

42、University54 (3) A family of Network Control Protocols (NCPs) for establishing and configuring different network-layer protocols. PPP is designed to allow the simultaneous use of multiple network-layer protocols. Today, PPP supports other protocols besides IP, including Internetwork Packet Exchange

43、(IPX) and Appletalk. As shown in the Figure on next page, PPP uses its NCP component to encapsulate multiple protocols.2022/7/24Dr. Zhanqi XU, National Key Lab on ISN, Xidian University55 IPCP: IP control protocol (RFC1332) , negotiation for the parameters of TCP/IP PPP支持的物理层包括:串行比特:电话拨号网(0比特插入、删除)字

44、节信道:例如,SDH(两个Flag间的“数据”flag采用转义字符变换,见下页)2022/7/24Dr. Zhanqi XU, National Key Lab on ISN, Xidian University563. PPP frame formatPPP FrameBit/Octet Stuffing线路Flag0 x7eAddr0 xffCont.0 x03Protocol16 bitsdataFlag0 x7epaddingFCS16/32bits0 xc0210 x00fdLCPCompressed datagramOctet Stuffing(填塞):0 x7e-0 x7d,0

45、x5e, 0 x7d-0 x7d,0 x5d In the HDLC frame transmission , there are two types of the stuffing or translation for the Flag possibly appears in the frame except the start/end flags , bit- or octet- based Stuffing, they use two different types for stuffing. How does the bit-based Stuffing work?2022/7/24D

46、r. Zhanqi XU, National Key Lab on ISN, Xidian University57Protocol FieldValue (Hex)Protocol Type 0 x0021IP(datagrams)0 x002dVJ Compressed TCP/IP 0 x002fVJ Uncompressed TCP/IP0 x00fdCompressed Datagrams0 x8021IPCP(NCP)0 xc021LCP0 xc023PAP0 xc223CHAPNote: vj-Van Jacobson TCP Header Compression2022/7/2

47、4Dr. Zhanqi XU, National Key Lab on ISN, Xidian University584. PPP State DiagramDead(Init)EstablishTerminateAuthenticationNetworkSuccessopenedFalseSuccessFalseDataTrans.2022/7/24Dr. Zhanqi XU, National Key Lab on ISN, Xidian University59PPP State DiagramFour distinct phases:Link est. and config nego

48、tiationsends LCP frames to config and test data linkLink quality determinationlink is est & negotiated (optional phase)Network-layer protocol config & negotiationsource sends NCP frames to choose and config net layer protocols, chosen protocol (TCP/IP, IPX & Appletalk) are configured and packets fro

49、m each protocol are sentLink terminationsession remains configured until LCP or NCP frames are sent to terminate session or an activity timer expires or a user intervenes (干涉/阻止)2022/7/24Dr. Zhanqi XU, National Key Lab on ISN, Xidian University605. PPP Procedures1. In the link establishment and conf

50、iguration negotiation phase, each PPP device sends LCP packets to configure and establish the data link. LCP packets contain a configuration option field that allows devices to negotiate the use of options, such as the maximum transmission unit (MTU), compression of certain PPP fields, and the link

51、authentication protocol. Before any network-layer datagrams (for example, IP) can be exchanged, LCP must first open the connection and negotiate the configuration parameters.2022/7/24Dr. Zhanqi XU, National Key Lab on ISN, Xidian University61PPP ProcedureLCP Frame FormatFlag0 x7eAddr0 xffCont.0 x03P

52、PP frameData/paddingLCP0 xc021FCS16/32 bitsFlag0 x7eCode8bitsID8bitsLength16bitsData.Question: is there anybody to know the name of the frame if its control segment equals 0 x03 ?2022/7/24Dr. Zhanqi XU, National Key Lab on ISN, Xidian University62 PPP ProcedureCode: Identifying the types of differen

53、t LCP packetsLink configuration: Configure Req/Ack/Nak/Rej (Nak: Negative acknowledgment, Rej: reject)Link termination: Terminate Req/AckLink maintenance: Code-Reject, Protocol-reject, Echo Req/Reply, Discard req, etc.2) ID Identifying the sequence number of the same type3) LengthTotal PPP data leng

54、th ( Code, ID, PPP data)2022/7/24Dr. Zhanqi XU, National Key Lab on ISN, Xidian University63 PPP ProcedureLCP NegotiationHost AHost B(1)Configure-request(2)Configure-reject(3)Configure-request(4)Configure-ack(5)Configure-request(6)Configure-ack2022/7/24Dr. Zhanqi XU, National Key Lab on ISN, Xidian

55、University64 PPP ProcedureLCP allows an optional link-quality determination phase following the link establishment and configuration negotiation phase. In the link-quality determination phase, the link is tested to determine whether the link quality is good enough to bring up network-layer protocols

56、. 2. In addition, after the link has been established and the authentication protocol chosen, the client or user workstation can be authenticated. Authentication, if used, takes place before the network-layer protocol configuration phase begins. LCP can delay transmission of network-layer protocol i

57、nformation until this phase is completed.2022/7/24Dr. Zhanqi XU, National Key Lab on ISN, Xidian University65 PPP ProcedureNetwork-layer protocol configuration negotiation When LCP finishes the link-quality determination phase, network-layer protocols can be separately configured by the appropriate

58、NCP and can be brought up and taken down at any time. In this phase, the PPP devices send NCP packets to choose and configure one or more network-layer protocols (such as IP, Novell IPX, and AppleTalk). When PPP is configured, you can check its LCP and NCP states by using the show interfaces command

59、.2022/7/24Dr. Zhanqi XU, National Key Lab on ISN, Xidian University66 PPP Procedure4. Link Termination LCP can terminate the link at any time. This is usually done at the request of a user but can happen because of a physical event, such as the loss of a carrier or a timeout. 2022/7/24Dr. Zhanqi XU,

60、 National Key Lab on ISN, Xidian University676. PPP authentication PPP supports two authentication protocols: Password Authentication Protocol (PAP) and Challenge Handshake Authentication Protocol (CHAP). 注解:PAP-口令鉴权协议,CHAP:(询问,查询挑战)握手鉴权协议The authentication options require that the calling side of t

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论