Chapter 5 Computer Networkin Link Layer and LANs 17lAa学ms A note on the use of these ppt slides James F Kurse. keith w Ross Al material copyright 1996-2007 J F Kurose and K.W. Ross, All Rights reserved Computer Networking A Top Down Approach 4th edition Jim Kurose. Keith ross Addison-Wesley, Jul 2007 5: Dat
5: DataLink Layer 5-1 Chapter 5 Link Layer and LANs A note on the use of these ppt slides: All material copyright 1996-2007 J.F Kurose and K.W. Ross, All Rights Reserved Computer Networking: A Top Down Approach 4th edition. Jim Kurose, Keith Ross Addison-Wesley, July 2007
Link Layer 5. 1 Introduction and o5.6 Hubs and switches services o5.7PPP o 5.2 Error detection and correction 6 5.3 Multiple access protocols o 5.4 Link-Layer Addressing o5.5 Ethernet 5: Dat
Link Layer 5.1 Introduction and services 5.2 Error detection and correction 5.3 Multiple access protocols 5.4 Link-Layer Addressing 5.5 Ethernet 5.6 Hubs and switches 5.7 PPP 5: DataLink Layer 5-2
Link Layer: Setting the Context o Two physically connected devices e Host-router, router-router host-host ● Unit of data: frame M lication M l transport TH M network data link network protoco HnH+I M link link Hi HnHtM physical physical hys link frame adapter card 5: Dat
Link Layer: Setting the Context Two physically connected devices: Host-router, router-router, host-host Unit of data: frame 5: DataLink Layer 5-3 application transport network link physical network link physical M M M M Ht HnHt Hl HnHt Hl HnHt M frame phys. link data link protocol adapter card
Link layer Services ◆ framing, link access: Encapsulate datagram into frame, adding header, trailer e Channel access if shared medium MAC addresses used in frame headers to identify source, dest Different from ip address! o Reliable delivery between adjacent nodes We learned how to do this already chapter 3) o Seldom used on low bit error link(fiber, some twisted pair) o Wireless links: high error rates Q: why both link-level and end-end reliability? 5: Dat
Link Layer Services Framing, link access: Encapsulate datagram into frame, adding header, trailer Channel access if shared medium “MAC” addresses used in frame headers to identify source, dest Different from IP address! Reliable delivery between adjacent nodes We learned how to do this already (chapter 3)! Seldom used on low bit error link (fiber, some twisted pair) Wireless links: high error rates Q: why both link-level and end-end reliability? 5: DataLink Layer 5-4
Link Layer Services(more) o Flow Control o Pacing between adjacent sending and receiving nodes o Error detection o Errors caused by signal attenuation, noise o Receiver detects presence of errors Signals sender for retransmission or drops frame o Error correction: o Receiver identifies and corrects bit error(s] without resorting to retransmission o Half-duplex and full-duplex e With half duplex, nodes at both ends of link can transmit but not at same time 5: Dat
Link Layer Services (more) Flow Control: Pacing between adjacent sending and receiving nodes Error Detection: Errors caused by signal attenuation, noise. Receiver detects presence of errors: Signals sender for retransmission or drops frame Error Correction: Receiver identifies and corrects bit error(s) without resorting to retransmission Half-duplex and full-duplex With half duplex, nodes at both ends of link can transmit, but not at same time 5: DataLink Layer 5-5