《Link Layer Computer Networking:A Top Down Approach》课程教学资源(PPT课件讲稿)Chapter 5 The Data Link Layer

Computer Networking Chapter 5 A Top-Down Approach Link layer KUROSE ROSS Anote on the use of these ppt slides We re making these slides freely available to all (faculty, students, readers) Combuter They re in PowerPoint form so you see the animations; and can add, modify and delete slides(including this one) and slide content to suit your needs Networking: A Top They obviously represent a lot of work on our part. In return for use, we only ask the following Down Approach .I If you use these slides(e.g, in a class)that you mention their source (after all, we d like people to use our book!) 6th edition .I if you post any slides on a ww site, that you note that they are adapted Jim Kurose, Keith Ross from(or perhaps identical to) our slides, and note our copyright of this material Addison-Wesley March 20 2 Thanks and enjoy! JFK/KWR All material copyright 1996-2012 J F Kurose and K.W. Ross, All Rights Reserved Link Layer 5-1
Chapter 5 Link Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A note on the use of these ppt slides: We’re making these slides freely available to all (faculty, students, readers). They’re in PowerPoint form so you see the animations; and can add, modify, and delete slides (including this one) and slide content to suit your needs. They obviously represent a lot of work on our part. In return for use, we only ask the following: ❖ If you use these slides (e.g., in a class) that you mention their source (after all, we’d like people to use our book!) ❖ If you post any slides on a www site, that you note that they are adapted from (or perhaps identical to) our slides, and note our copyright of this material. Thanks and enjoy! JFK/KWR All material copyright 1996-2012 J.F Kurose and K.W. Ross, All Rights Reserved Link Layer 5-1

Chapter 5: The data link Layer Our goals: 口理解数据链路层服务原理 o差错检测和纠正 o共享广播信道:多址接入 o链路层编址 o可靠传输、流量控制:done! 口链路层实现 o以太网 o虚拟局域网 5: DataLink Layer 5-2
5: DataLink Layer 5-2 Chapter 5: The Data Link Layer Our goals: 理解数据链路层服务原理: 差错检测和纠正 共享广播信道: 多址接入 链路层编址 可靠传输、流量控制:done! 链路层实现 以太网 虚拟局域网

Link layer, LANs: outline 5. 1 introduction 5.5 link virtualization services 5.6 data center 5.2 error detection networking correction 5. 7 a day in the life of 5. 3 multiple access a web request protocols 5 4 LANS addressing, ARP Ethernet switches VLANS Link Layer 5-3
Link Layer 5-3 Link layer, LANs: outline 5.1 introduction, services 5.2 error detection, correction 5.3 multiple access protocols 5.4 LANs ▪ addressing, ARP ▪ Ethernet ▪ switches ▪ VLANS 5.5 link virtualization 5.6 data center networking 5.7 a day in the life of a web request

网络层和链路层的关系 网络层: 口选路:路由器确定去往目的节点的下一跳 口转发:在路由器内部将数据报从输入端口转移到输出 端口 链路层: 口将数据报从一个节点传输到相邻的下一个节点,如: o源主机→源路由器 o路由器→下一跳路由器 o目的路由器->目的主机 5: DataLink Layer 5-4
5: DataLink Layer 5-4 网络层和链路层的关系 网络层: 选路:路由器确定去往目的节点的下一跳 转发:在路由器内部将数据报从输入端口转移到输出 端口 链路层: 将数据报从一个节点传输到相邻的下一个节点,如: 源主机 -> 源路由器 路由器 -> 下一跳路由器 目的路由器-> 目的主机

些术语 节点:主机和路由器统称 心 为节点 链路:连接相邻节点的通 信信道 o有线链路 o无线链路 o局域网 帧:链路层分组称为帧 5: Datalink Layer 5-5
5: DataLink Layer 5-5 一些术语 节点:主机和路由器统称 为节点 链路:连接相邻节点的通 信信道 有线链路 无线链路 局域网 帧:链路层分组称为帧

链路层服务 组帧(基本服务) o从原始比特流中提取出完整的帧 口链路接入(广播链路需要) o在广播信道上协调各个节点的发送行为 口差错检测(基本服务) o检测传输错误 口差错纠正(有些提供): o检测并纠正传输错误(不使用重传) 5: Datalink Layer 5-6
5: DataLink Layer 5-6 链路层服务 组帧(基本服务) 从原始比特流中提取出完整的帧 链路接入(广播链路需要) 在广播信道上协调各个节点的发送行为 差错检测(基本服务) 检测传输错误 差错纠正(有些提供): 检测并纠正传输错误(不使用重传)

链路层服务(续) 可靠交付(部分协议提供) o通过确认、重传等机制确保接收节点正确收到每一个帧 (停-等、GBN、SR) o低误码率链路(如光纤、某些双绞线)上很少使用,高 误码率链路(如无线链路)应当使用 口流量控制: o调节发送速度,避免接收节点缓存溢出 o提供可靠交付的链路层协议,不需要专门的流量控制 ◎不提供可靠交付的链路层协议,需要有流量控制机制 半双工和全双工: o半双工通信时,提供收/发转换 5: DataLink Layer 5-7
5: DataLink Layer 5-7 链路层服务(续) 可靠交付(部分协议提供) 通过确认、重传等机制确保接收节点正确收到每一个帧 (停-等、GBN、SR) 低误码率链路(如光纤、某些双绞线)上很少使用,高 误码率链路(如无线链路)应当使用 流量控制: 调节发送速度,避免接收节点缓存溢出 提供可靠交付的链路层协议,不需要专门的流量控制 不提供可靠交付的链路层协议,需要有流量控制机制 半双工和全双工: 半双工通信时,提供收/发转换

链路层在哪儿实现? 口路由器:链路层在线卡中实 host schematic 现 口主机:链路层主体部分在网T时 cpu memory 络适配器(网卡)中实现 口网络适配器连接物理媒体, 所以还实现物理层的功能 controller (e.g, PCl) link 链路层由硬件和软件实现:mm physica rans ission o网卡中的控制器芯片:组帧、 链路接入、检错、可靠交付、 network adapter 流量控制等 card o主机上的链路层软件:与网络 层接口,激活控制器硬件、响 应控制器中断等 5: Datalink Layer 5-8
5: DataLink Layer 5-8 链路层在哪儿实现? 路由器:链路层在线卡中实 现 主机:链路层主体部分在网 络适配器(网卡)中实现 网络适配器连接物理媒体, 所以还实现物理层的功能 链路层由硬件和软件实现: 网卡中的控制器芯片:组帧、 链路接入、检错、可靠交付、 流量控制等 主机上的链路层软件:与网络 层接口,激活控制器硬件、响 应控制器中断等 controller physical transmission cpu memory host bus (e.g., PCI) network adapter card host schematic application transport network link link physical

网络适配器之间的通信 controller controller sendinglhost receiving host datagra frame 发送侧: 接收侧: o将数据报封装到帧中 o提取帧,检测传输错误 o生成校验比特 o执行可靠传输和流量控制 o执行可靠传输和流量控制 o解封装裝数据报,交给上层协议 5: Datalink Layer 5-9
5: DataLink Layer 5-9 网络适配器之间的通信 发送侧: 将数据报封装到帧中 生成校验比特 执行可靠传输和流量控制 接收侧: 提取帧,检测传输错误 执行可靠传输和流量控制 解封装数据报,交给上层协议 controller controller sending host receiving host datagram datagram datagram frame

Link layer LANs: outline 5.1 introduction, 5.5 link virtualization services 5.6 data center 5.2 error detection networking correction 5. 7 a day in the life of 5. 3 multiple access a web request protocols 5 4 LANS addressing, ARP Ethernet switches VLANS Link Layer 5-10
Link Layer 5-10 Link layer, LANs: outline 5.1 introduction, services 5.2 error detection, correction 5.3 multiple access protocols 5.4 LANs ▪ addressing, ARP ▪ Ethernet ▪ switches ▪ VLANS 5.5 link virtualization 5.6 data center networking 5.7 a day in the life of a web request
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 《计算机辅助设计——CAD制图》课程标准.pdf
- 合肥工业大学:《网络安全概论》课程教学资源(PPT课件讲稿)无线网络安全.ppt
- 《单片机原理及应用》课程教学资源(PPT课件讲稿)第3章 MCS-51单片机的指令系统.pptx
- 中国科学技术大学:《微机原理》课程教学资源(PPT课件讲稿)第八章 中断系统.pptx
- 南京航空航天大学:《模式识别》课程教学资源(PPT讲稿)Model Selection for SVM & Our intent works.ppt
- 上海交通大学:《数字图像处理 Digital Image Processing》课程教学资源(PPT课件讲稿,第三版)Chapter 9 Morphological Image Processing.pptx
- Cassandra and Sigmod contest.pptx
- 《计算机应用基础》课程教学资源(PPT讲稿)统考考前辅导.ppt
- 《编译原理》课程教学资源(PPT课件讲稿)上下文无关文法——自顶向下分析.pptx
- IS6000 – Seminar 8 Research Methods – Case Study – Action Research.pptx
- 《数据结构 Data Structure》课程教学资源(PPT课件讲稿)第三章 栈和队列.ppt
- 四川大学:《操作系统 Operating System》课程教学资源(PPT课件讲稿)Chapter 2 Operating System Overview.ppt
- 河南中医药大学(河南中医学院):《网络技术实训》课程教学资源(PPT课件讲稿)第9讲 通过VPN访问企业网内部服务器设计讨论.pptx
- 《多媒体教学软件设计》课程教学资源(PPT课件讲稿)第3章 多媒体教学软件开发平台(Authorware).ppt
- 香港科技大学:Latent Tree Models Part III:Learning Algorithms.pptx
- 四川大学:Object-Oriented Design and Programming(Java,PPT课件)Advanced Class Design.ppt
- 《计算机组成原理》课程教学资源(PPT课件讲稿)第6章 总线结构.ppt
- 南京航空航天大学:《C++程序设计》课程教学资源(PPT课件)第1章 C++程序设计基础(主讲:陈哲).ppt
- 《Excel实用技术基础》课程教学资源(PPT课件讲稿)Excel 技术基础、数据管理.ppt
- 《计算机系统》课程教学资源(PPT课件讲稿)第六章 设备管理 Devices Management.ppt
- 《计算机网络》课程教学资源(PPT课件讲稿)Chapter 06 广域网技术.ppt
- 《电脑组装与维护实例教程》教学资源(PPT课件讲稿)第13章 计算机的保养.ppt
- 中国人民大学:A Survey on PIM(PPT讲稿).ppt
- 河南中医药大学(河南中医学院):《计算机网络》课程教学资源(PPT课件讲稿)第二章 物理层(阮晓龙).pptx
- 西安电子科技大学:《现代密码学》课程教学资源(PPT课件讲稿)第八章 密钥分配与密钥管理.pptx
- 《算法设计与分析》课程教学资源(PPT讲稿)第十五讲 NP完全性理论与近似算法.pptx
- 清华大学出版社:《C语言程序设计》课程教学资源(PPT课件讲稿,共十二章,田丽华、岳俊华、孙颖馨).ppt
- 北京师范大学:《多媒体技术与网页制作》课程教学资源(PPT课件)数字音频技术.ppt
- 电子科技大学:《微机原理与接口技术》课程教学资源(PPT实验讲稿,习友宝).ppt
- 软件开发环境与工具的选用(PPT课件讲稿)Select software development tool.ppt
- 四川大学:《Java面向对象编程》课程PPT教学课件(Object-Oriented Programming - Java)Unit 1.2 Designing Classes.ppt
- 《计算机系统结构》课程教学资源(PPT课件讲稿)第三章 流水线技术.ppt
- 计算机外设及电源故障处理(PPT课件讲稿).ppt
- 中国科学技术大学:《数据结构及其算法》课程电子教案(PPT课件讲稿)第六章 二叉树和树.pps
- 中国科学技术大学:《现代密码学理论与实践》课程教学资源(PPT课件讲稿)第9章 公钥密码学与RSA.pptx
- Landmark-Based Speech Recognition.ppt
- 《微型计算机原理及应用》课程教学资源(PPT课件讲稿)第2章 微处理器.ppt
- 《计算机网络》课程教学资源(PPT课件讲稿)第六章 IP路由.ppt
- Urandaline Investments The Perils of Down Under:Chinese Investment in Australia.pptx
- 四川大学:《数据库技术》课程教学资源(PPT课件讲稿)第1章 数据库技术概论.ppt