当前位置:高等教育资讯网  >  中国高校课件下载中心  >  大学文库  >  浏览文档

复旦大学:《计算机网络 Computer Networking》课程电子教案(PPT课件讲稿)07 Ethernet

资源类别:文库,文档格式:PPT,文档页数:78,文件大小:1.15MB,团购合买
Aloha Ethernet MAC Collisions Ethernet Frames
点击下载完整版文档(PPT)

Computer Networking g Lecture 7-ethernet Dejian Ye Software school Fudan University

1 Computer Networking Lecture 7 - Ethernet Dejian Ye Software School Fudan University

Problem: Sharing a Wire Learned how to connect hosts But what if we want more hosts? Switches Wires for everybody! Expensive! How can we share a wire? 早早?早 2

2 Problem: Sharing a Wire … But what if we want more hosts? Expensive! How can we share a wire? Switches Wires for everybody! Learned how to connect hosts

Listen and talk yak yak Natural scheme- listen before you talk >Works well in practice 3

3 3 Listen and Talk Natural scheme – listen before you talk… »Works well in practice yak yak…

Listen and talk yada yada. Natural scheme- listen before you talk >Works well in practice

4 4 Listen and Talk Natural scheme – listen before you talk… »Works well in practice yada yada…

Listen and talk yak yak Natural scheme listen before you talk >Works well in practice But sometimes this breaks down )Why How do we fix/prevent this? 5

5 5 Listen and Talk Natural scheme – listen before you talk… »Works well in practice But sometimes this breaks down »Why? How do we fix/prevent this? yada yada… yak yak…

Problem: Who is this packet for? Need to put an address on the packet What should it look like? How do you determine your own address? How do you know what address you want to send it to?

6 6 Problem: Who is this packet for? Need to put an address on the packet What should it look like? How do you determine your own address? How do you know what address you want to send it to?

Outline Aloha Ethernet mac Collisions Ethernet frames

7 7 Outline Aloha Ethernet MAC Collisions Ethernet Frames

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 protocols Slotted aloha and Aloha 》 CSMA and CSMa/cD

8 8 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 protocols: »Slotted ALOHA and ALOHA »CSMA and CSMA/CD

Aloha- Basic Technique First random MAc developed >For radio-based communication in Hawaii (1970) Basic idea: >When you are ready, transmit Receivers send ack for data >Detect collisions by timing out for ACK >Recover from collision by trying after random delay Too short> large number of collisions Too long> underutilization

9 9 Aloha – Basic Technique First random MAC developed »For radio-based communication in Hawaii (1970) Basic idea: »When you are ready, transmit »Receivers send ACK for data »Detect collisions by timing out for ACK »Recover from collision by trying after random delay – Too short → large number of collisions – Too long → underutilization

Slotted aloha Time is divided into equal size slots > Equal to packet transmission time Node (w packet transmits at beginning of next slot If collision; retransmit pkt in future slots with probability p, until successful node11 1 node 2 2[2 node3③ C E C S E C E 10

10 10 Slotted Aloha Time is divided into equal size slots »Equal to packet transmission time Node (w/ packet) transmits at beginning of next slot If collision: retransmit pkt in future slots with probability p, until successful Success (S), Collision (C), Empty (E) slots

点击下载完整版文档(PPT)VIP每日下载上限内不扣除下载券和下载次数;
按次数下载不扣除下载券;
24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
共78页,可试读20页,点击继续阅读 ↓↓
相关文档

关于我们|帮助中心|下载说明|相关软件|意见反馈|联系我们

Copyright © 2008-现在 cucdc.com 高等教育资讯网 版权所有