第一章计算机网络基本原理与机制 教学课件.ppt

第一章计算机网络基本原理与机制 教学课件.ppt

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
第一章计算机网络基本原理与机制 教学课件

96 上一页 下一页 Hubs (more) Hub Advantages: – simple, inexpensive device – Multi-tier provides graceful degradation: portions of the LAN continue to operate if one hub malfunctions – extends maximum distance between node pairs (100m per Hub) 97 上一页 下一页 Datalink Layer (2) Service: – Framing, i.e., attach frames separator – Send data frames between peers attached to the same physical media – Others (optional): ? Arbitrate the access to common physical media ? Ensure reliable transmission ? Provide flow control Interface: send a data unit (packet) to a machine connected to the same physical media Protocol: layer addresses, implement Medium Access Control (MAC) (e.g., CSMA/CD)… 98 上一页 下一页 Random Access Protocols When node has packet to send – transmit at full channel data rate R – no a priori coordination among nodes two or more transmitting nodes - “collision” random access MAC protocol specifies: – how to detect collisions – how to recover from collisions (e.g., via delayed retransmissions) Examples of random access MAC protocol – ALOHA – slotted ALOHA – CSMA, CSMA/CD, CSMA/CA 99 上一页 下一页 局域网链路层协议 A: sense channel, if idle then { transmit and monitor the channel; If detect another transmission then { abort and send jam signal; update # collisions; delay as required by exponential backoff algorithm; goto A } else {done with the frame; set collisions to zero} } else {wait until ongoing transmission is over and goto A} 上一页 100 下一页 局域网链路层协议 Jam Signal: make sure all other transmitters are aware of collision; 48 bits; Exponential Backoff: first collision for given packet: choose K randomly from {0,1}; delay is K x 512 bit transmission times after second collision: choose K randomly from {0,1,2,3}... After next collision double K (and keep doubling on collisions until...) after ten or more collisions, choose K randomly fro

文档评论(0)

qiwqpu54 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档