OSI Data Link Layer. Network Fundamentals Chapter 7. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

Similar documents
CCNA Exploration1 Chapter 7: OSI Data Link Layer

1. Data Link Layer (Layer 2)

Chapter 4: Network Access

OSI Data Link Layer. Network Fundamentals Chapter Cisco Systems, Inc. All rights reserved. Cisco Public 1

Chapter 2 Communicating Over the Network

Communicating over the Network

Network Reference Models

Data Communication and Network. Introducing Networks

Chapter 5 Reading Organizer After completion of this chapter, you should be able to:

CS-461 Internetworking. Dr. Mohamed Aboutabl

OSI Network Layer. Network Fundamentals Chapter 5. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

Interface The exit interface a packet will take when destined for a specific network.

1. Data Link Layer Protocols

ITEC 3800 Data Communication and Network. Introducing Networks

OSI Network Layer. Network Fundamentals Chapter 5. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

The MAC Address Format

Objectives. Hexadecimal Numbering and Addressing. Ethernet / IEEE LAN Technology. Ethernet

1: Review Of Semester Provide an overview of encapsulation.

Cisco Cisco Certified Network Associate (CCNA)

Test Bank for A Guide to Designing and Implementing Local And Wide Area Networks 2nd Edition by Palmer and Sinclair

Chapter 8 OSI Physical Layer

Computer Network : Lecture Notes Nepal Engineering College Compiled by: Junior Professor: Daya Ram Budhathoki Nepal Engineering college, Changunarayan

NETWORK SECURITY ITEC 435

Lecture 2. Computer Networks Models. Network Models 1-1

ES623 Networked Embedded Systems

Introduction to LAN Protocols

CCNA 1: Chapter 2 Exam Answer v %

Objectives. Network Structure. Network Structure

CCNA Exploration Network Fundamentals. Chapter 09 Ethernet

Communicating over the Network

Internetwork Basic. Possible causes of LAN traffic congestion are

Network Models. Behrouz A. Forouzan Data communication and Networking Fourth edition

Chapter 4: Network Access. Introduction to Networks v5.1

BABU MADHAV INSTITUTE OF INFORMATION TECHNOLOGY, UTU 2017

CS 455/555 Intro to Networks and Communications. Link Layer

1. Which layer of the OSI model is responsible for specifying the encapsulation method used for specific types of media?

Section 3.1: Network Adapters

Refer to the exhibit. Which set of devices contains only end devices? A,C,D B,E,G,H C,D,G,H,I,J D,E,F,H,I,J E,F,H,I,J

Introduction. Communication

Chapter 5: Link layer

Chapter 7. OSI Data Link Layer

Chapter 7. OSI Data Link Layer. CCNA1-1 Chapter 7

Text Book. 1. Computer Networks & Internets by Douglas E Comer. 2. Data and Computer Communication by William Stalling, 5th or above edition.

Organizations have developed standard sets of protocols

The OSI Model. Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO).

Data Link Layer. Our goals: understand principles behind data link layer services: instantiation and implementation of various link layer technologies

Essay MCQ Total Midterm Exam Computer Networks. Model answer 0X April minutes ID: Name:

Chapter 5 OSI Network Layer

Layering in Networked computing. OSI Model TCP/IP Model Protocols at each layer

The History and the layers of the OSI Model 30 - October

SEMESTER 1 Chapter 5 OSI Network Layer V What services does the network layer provide?

Switched Ethernet Virtual LANs

Chapter 3: Network Protocols and Communications CCENT Routing and Switching Introduction to Networks v6.0 Instructor Planning Guide

Computer Networks. Lecture 8 Local Area Network, IEEE 802.x

Switching & ARP Week 3

THE OSI MODEL. Application Presentation Session Transport Network Data-Link Physical. OSI Model. Chapter 1 Review.

Chapter 3: Network Protocols and Communications

Guide to Networking Essentials, 6 th Edition. Chapter 6: Network Reference Models and Standards

Principles behind data link layer services

Contents. Introduction to Networking. Preface...i. Introduction... xix

Internetworking is connecting two or more computer networks with some sort of routing device to exchange traffic back and forth, and guide traffic on

LAN Overview (part 2) Interconnecting LANs - Hubs

Data Link Layer: Multi Access Protocols

Layer 2 functionality bridging and switching

Chapter 6 Connecting Device

CS610- Computer Network Solved Subjective From Midterm Papers

Principles behind data link layer services:

CPEG514 Advanced Computer Networks. Atef Abu Salim University of Nizwa Spring 2013/2014


Data Encapsulation & OSI & TCP/IP Models Week 2. Lecturer: Lucy White Office : 324

Lecture 19. Principles behind data link layer services Framing Multiple access protocols

Outline: Connecting Many Computers

Chapter 4 NETWORK HARDWARE

Ethernet. Network Fundamentals Chapter Cisco Systems, Inc. All rights reserved. Cisco Public 1

Introduction. The fundamental purpose of data communications is to exchange information between user's computers, terminals and applications programs.


McGill University - Faculty of Engineering Department of Electrical and Computer Engineering

Network.... communication system for connecting end- systems. End-systems a.k.a. hosts PCs, workstations dedicated computers network components

Full file at

KIBABII UNIVERSITY COLLEGE DEPARTMENT COMPUTER SCIENCE & IT ANSWER ALL QUESTIONS IN SECTION A AND ANY TWO QUESTIONS IN SECTION B

Data and Computer Communications. Chapter 2 Protocol Architecture, TCP/IP, and Internet-Based Applications

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 16

The following CompTIA Network+ domain objectives and examples are covered in this module:

Introduction to LAN Protocols

Principles behind data link layer services:

Principles behind data link layer services:

COMPUTER NETWORK Model Test Paper

Fundamentals of Networking. OSI & TCP/IP Model. Kuldeep Sonar 1

ELC 537 Communication Networks

Chapter 5 Link Layer and LANs

OSI Network Layer. Chapter 5

Concept Questions Demonstrate your knowledge of these concepts by answering the following questions in the space provided.

PPP. Point-to-Point Protocol

Chapter 2. Communicating Over The Network. CCNA1-1 Chapter 2

Outline. Introduction to Networked Embedded Systems - Embedded systems Networked embedded systems Embedded Internet - Network properties

Network Fundamentals Chapter 2 Modified by Tony Chen 05/20/2008

Communication Networks

Chapter 6 The Link Layer and LANs

CSC 4900 Computer Networks: The Link Layer

ISO/OSI Model and Collision Domain NETWORK INFRASTRUCTURES NETKIT - LECTURE 1 MANUEL CAMPO, MARCO SPAZIANI

Transcription:

OSI Data Link Layer Network Fundamentals Chapter 7 Version 4.0 1

Objectives Explain the role of Data Link layer protocols in data transmission. Describe how the Data Link layer prepares data for transmission on network media. Describe the different types of media access control methods. Identify several common logical network topologies and describe how the logical topology determines the media access control method for that network. Explain the purpose of encapsulating packets into frames to facilitate media access. Describe the Layer 2 frame structure and identify generic fields. Explain the role of key frame header and trailer fields including addressing, QoS, type of protocol and Frame Check Sequence. 2

Data Link Layer Accessing the Media We have learned about the following layers: The application layer provides the interface to the user. The transport layer is responsible for dividing and managing communications between the processes running in the two end systems. The network layer protocols organize communication data so that it can travel across internetworks from the originating host to a destination host. 3

Data Link Layer Accessing the Media For network layer packets to be transported from source host to destination host, they must traverse different physical networks. These physical networks can consist of different types of physical media such as copper wires, microwaves, optical fibers, and satellite links. The services defined by the OSI data link layer prepares network layer packets for transmission and controls access to the physical media. 4

Data Link Layer Accessing the Media 5

Data Link Layer Accessing the Media The data link layer performs two basic services: 1. Allows the upper layers to access the media using techniques such as framing. 2. Controls how data is placed onto the media and is received from the media using techniques such as media access control (MAC) and error detection Responsible for the exchange of frames between nodes(devices communicating at Layer 2) over the media of a physical network. This includes encapsulating the packet into a frame, placing the frame onto the media, receiving the frame from the media, and decapsulating the frame back into a packet. 6

Data Link Layer Accessing the Media In any given exchange of network layer packets, there can be numerous data link layer and media transitions. That is, the packet can be repackaged into different frames as it passes across different media. At each hop along the path, an intermediary device, usually a router, processes the frame as follows: 1. Accepting the frame from a medium 2. Decapsulating the frame into a packet 3. Constructing a new frame appropriate for the next media 4. Forwarding the packet inside the new frame across the next segment of the physical network 7

Data Link Layer Accessing the Media The packet exchange between these two hosts requires a diversity of protocols that must exist at the data link layer. At each router, a different data link layer protocol is used for transport on a new medium. 8

Controlling Transfer Across Local Media The technique used for getting the frame on and off media is called the media access method or MAC method. For the data to be transferred across a number of different media, different MAC methods might be required during the course of a single communication. 9

Controlling Transfer Across Local Media An adapter is used to make the connection to the network. For example, network interface card (NIC) is used to connect host to the LAN media. The adapter manages the framing and media access method. 10

Creating a Frame The data link layer frame includes the following elements: Data: The packet from the network layer Header: The control information, such as addressing, located at the beginning of the PDU Trailer: The control information added to the end of the PDU 11

Creating a Frame 12

Protocols & Standards The functional protocols and services are described by engineering organizations (such as IEEE, ANSI, and ITU) and communications companies. Engineering organizations set open standards and protocols. Communications companies can set and use proprietary. Engineering organizations include International Organization for Standardization (ISO, http://www.iso.org) Institute of Electrical and Electronics Engineers (IEEE, http://www.ieee.org) American National Standards Institute (ANSI, http://www.ansi.org) International Telecommunication Union (ITU, http://www.itu.org) 13

Protocols & Standards 14

Media Access Control Techniques The method of MAC used depends on Media sharing: If and how the nodes share the media Topology: How the connection between the nodes appears to the data link layer 15

MAC for Shared Media Medium with multiple nodes. At any one time, there can be a number of devices attempting to send and receive data using the network media. The two basic MAC methods for shared media are as follows: Controlled: Each node has its own time to use the medium. Contention-based: All nodes compete for the use of the medium 16

MAC for Shared Media 17

MAC for Shared Media Controlled Access for Shared Media In controlled access method, network devices take turns, in sequence, to access the medium = scheduled access or deterministic. Device turn, but does not need to access, the opportunity passes to the next device in line. When one device is placing a frame on the media, no other device can do so until the frame has arrived at the destination and has been processed by the destination. Well ordered and provides predictable throughput, but can be inefficient because of the waiting. 18

MAC for Shared Media Controlled Access for Shared Media 19

MAC for Shared Media Contention-Based Access for Shared Media Allow any device to try to access the medium whenever it has data to send = nondeterministic. To prevent complete chaos on the media, these methods use a carrier sense multiple access (CSMA) process to first detect whether the media is carrying a signal. When the device attempting to transmit sees that the media is busy, it will wait and try again after a short time period. If no carrier signal is detected, the device transmits its data.. 20

MAC for Shared Media Contention-Based Access for Shared Media 21

MAC for Shared Media Contention-Based Access for Shared Media It is possible that the CSMA process will fail and two devices will transmit at the same time. This is called a collision. If a collision occurs, the data sent by both devices will be corrupted and will need to be re-sent. CSMA is usually implemented in conjunction with a method for resolving the media contention. The two commonly used methods are CSMA/collision detect (CSMA/CD) CSMA/collision avoid (CSMA/CA) 22

MAC for Shared Media CSMA/Collision Detect In CSMA/CD, the device monitors the media for the presence of a data signal. If a data signal is absent, indicating that the media is free, the device transmits the data. CSMA/Collision Avoid In CSMA/collision avoid (CSMA/CA), the device examines the media for the presence of a data signal. If the media is free, the device sends a notification across the media of its intent to use it. The device then sends the data. 23

MAC for Nonshared Media Require little or no control before placing frames onto the media. Have simpler rules and procedures for MAC. Such is the case for point-to-point topologies In point-to-point connections, the data link layer has to consider whether the communication is half duplex or full duplex. Traffic analogy, half duplex = one lane road, and full duplex = twolane road. Half-duplex communication means the devices can both transmit and receive on the media but cannot do so simultaneously In full-duplex communication, both devices can transmit and receive on the media at the same time. The data link layer assumes that the media is available for transmission for both nodes at any time. 24

MAC for Nonshared Media Full Duplex 25

Summary 26

27