Data Link Layer 2019/2/19.

Slides:



Advertisements
Similar presentations
Data Link Layer B. Konkoth. PDU  Protocol Data Unit  A unit of data which is specified in a protocol of a given layer  Layer 5, 6, 7 – Data  Layer.
Advertisements

CCNA3: Switching Basics and Intermediate Routing v3.0 CISCO NETWORKING ACADEMY PROGRAM Switching Concepts Introduction to Ethernet/802.3 LANs Introduction.
1 ICS 156: Lecture 2 (part 2) Data link layer protocols Address resolution protocol Notes on lab 2.
Chabot College Chapter 2 Review Questions Semester IIIELEC Semester III ELEC
Network Fundamentals – Chapter 7 Sandra Coleman, CCNA, CCAI
Layer 1 of the TCP/IP protocol stack: Network Access Layer (NAL). Functions, performed on the layer. МАС address in Ethernet networks. Layer 1 of the TCP/IP.
Chapter 7 Data Link Layer
Network Fundamentals – Chapter 7
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
Chapter 8: Local Area Networks: Internetworking. 2 Objectives List the reasons for interconnecting multiple local area network segments and interconnecting.
Chapter 7- Data Link Layer
1 Chapter 9 Computer Networks. 2 Chapter Topics OSI network layers Network Topology Media access control Addressing and routing Network hardware Network.
Department of Computer Engineering University of California at Santa Cruz Networking Systems (1) Hai Tao.
Networking Theory (Part 1). Introduction Overview of the basic concepts of networking Also discusses essential topics of networking theory.
Internetworking School of Business Eastern Illinois University © Abdou Illia, Spring 2007 (Week 4, Tuesday 1/30/2007)
1 K. Salah Module 4.0: Network Components Repeater Hub NIC Bridges Switches Routers VLANs.
1 Chapter 8 Local Area Networks - Internetworking.
5-1 Data Link Layer r Today, we will study the data link layer… r This is the last layer in the network protocol stack we will study in this class…
OSI Data Link Layer Network Fundamentals Chapter 7.
Local Area Networks Part II. 2 Introduction Many times it is necessary to connect a local area network to another local area network or to a wide area.
Chapter 2 Network Models.
The Saigon CTT Semester 1 CHAPTER 6. The Saigon CTT  Content LAN Standards. Hexadecimal Numbers. MAC Addressing. Framing. Media Access Control (MAC).
COMPUTER NETWORKS.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 OSI Data Link Layer Network Fundamentals – Chapter 7.
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
Brierley 1 Module 4 Module 4 Introduction to LAN Switching.
Basic LAN techniques IN common with all other computer based systems networks require both HARDWARE and SOFTWARE to function. Networks are often explained.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Data Link Layer Dr. Muazzam A. Khan.
Jaringan Komputer Dasar Data Link Layer (1) Aurelio Rahmadian.
 LANs – A Definition - A local area network (LAN) is a computer network covering a small physical area, like a home, office, or small group of buildings,
Semester 3—LAN Switching Chapter 2 Objectives  By the end of this chapter we will be able to perform tasks related to: – Various LAN Communication Problems.
Computer Networks. Internetworking Devices Network Interface Card (NIC) Repeaters HUB Bridge Switch Router.
Open System Interconnection Describe how information from a software application in one computer moves through a network medium to a software application.
Data Link Layer and Ethernet COM211 Communications and Networks CDA College Theodoros Christophides
Data Communications & Computer Networks, Second Edition1 Chapter 8 Local Area Networks: Internetworking.
01_NF_Ch07 - Data Link Layer ( 資料鏈結層 ) Modified from KC Khor, Multimedia Univ. Cyberjaya (KT Lo)
Chapter 7 OSI Data Link Layer.
Internetworking School of Business Eastern Illinois University © Abdou Illia, Spring 2016 (February 3, 2016)
CCNA3 Module 4 Brierley Module 4. CCNA3 Module 4 Brierley Topics LAN congestion and its effect on network performance Advantages of LAN segmentation in.
Networking and Health Information Exchange Unit 1b ISO Open Systems Interconnection (OSI) Component 9/Unit 1b1 Health IT Workforce Curriculum Version 1.0/Fall.
2016/3/11 1 Data Link Layer. 2016/3/11 2 Two basic services of Data Link Allows the upper layers to access the media using techniques such as framing.
+ Lecture#2: Ethernet Asma ALOsaimi. + Objectives In this chapter, you will learn to: Describe the operation of the Ethernet sublayers. Identify the major.
Lec # 25 Computer Network Muhammad Waseem Iqbal. Learn about the Internetworking Devices – Repeaters – Hubs – Switches – Bridges – Routers.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 OSI data link layer CCNA Exploration Semester 1 Chapter 7.
Jaringan Komputer_D3 TT
Multiple Access Methods
Networking Using the OSI Model.
Link Layer 5.1 Introduction and services
A quick intro to networking
Local Area Networks Honolulu Community College
CS4470 Computer Networking Protocols
What the OSI Protocol Layers Do
ISO/OSI Model and Collision Domain
Chapter 4 Data Link Layer Switching
Data Link Layer Dr. Muazzam A. Khan.
Ct1403 Lecture#2: DATA LINK LAYER
Layer 1 of the TCP/IP protocol stack: Network Access Layer (NAL)
Data and Computer Communications by William Stallings Eighth Edition
Chapter 3: Open Systems Interconnection (OSI) Model
Data Link Issues Relates to Lab 2.
Multiple Access Methods
Link Layer and LANs Its not about how hard you hit... It's about how hard you can get hit and keep moving forward 5: DataLink Layer.
Network Fundamentals – Chapter 7
TCP/IP Protocol Suite: Review
CCNA 2 Review of Cisco CCNA 1.
Ch 17 - Binding Protocol Addresses
Connecting to the Network
Multiple Access Methods
LEARNING COMPUTER NETWORKS OSI Model (layers). Why a layered model?  Easier to teach communication process.  Speeds development, changes in one layer.
Presentation transcript:

Data Link Layer 2019/2/19

Two basic services of Data Link Allows the upper layers to access the media using techniques such as framing Controls how data is placed onto the media and is received from the media using techniques such as media access control and error detection 2019/2/19

Data Link Terms 2019/2/19

Note … Medium or media refer to the material that actually carries the signals representing the transmitted data. Not audio, video, and the likes … 2019/2/19

Physical vs logical network Logical networks are defined at the Network layer by the arrangement of the hierarchical addressing scheme. Physical networks represent the interconnection of devices on a common media. Sometimes, also referred to as a network segment. 2019/2/19

Recall … A network model allows each layer to function with minimal concern for the roles of the other layers. The Data Link layer relieves the upper layers from the responsibility of putting data on the network and receiving data from the network. 2019/2/19

Data Link: supporting its upper layer In any given exchange of Network layer packets, there may be numerous Data Link layer and media transitions. At each hop along the path, an intermediary device - usually a router - accepts frames from a medium, de-capsulates the frame, and then forwards the packet in a new frame appropriate to the medium of that segment of the physical network. 2019/2/19

A layer 3 packet may have to go through various data link networks Satellite Satellite Satellite Wifi Wifi Ethernet Ethernet Ethernet 2019/2/19

Data Link: supporting its upper layer The Data Link layer effectively insulates the communication processes at the higher layers from the media transitions that may occur end-to-end. A packet is received from and directed to an upper layer protocol that does not need to be aware of which media the communication will use. 2019/2/19

Data Link: supporting its upper layer Due to the higher number of communication services provided by the Data Link layer … it is difficult to generalize their role and provide examples of a generic set of services. any given upper layer protocol may or may not support all these Data Link layer services. 2019/2/19

Transfer of Frames 2019/2/19

Media Access Control Each network environment that packets encounter as they travel from a local host to a remote host can have different characteristics. one network environment may consist of many hosts contending to access the network medium on an ad hoc basis. Another environment may consist of a direct connection between only two devices over which data flows sequentially as bits in an orderly way. 2019/2/19

Media Access Control (MAC) Define the processes by which network devices can access the network media and transmit frames in diverse network environments. 2019/2/19

MAC A node that is an end device uses an adapter to make the connection to the network. For example, to connect to a LAN, the device would use the appropriate Network Interface Card (NIC) to connect to the LAN media. The adapter manages the framing and media access control. 2019/2/19

Network Interface Card (NIC) Different physical interfaces on the router are used to encapsulate the packet into the appropriate frame, and a suitable media access control method is used to access each link. E.g., a router may have an Ethernet interface to connect to the LAN and a serial interface to connect to the WAN. 2019/2/19

Framing : Creating a frame 2019/2/19

Framing 2019/2/19

Connecting upper layer to the Media 2019/2/19

Data Link Sub-layers defines the software processes that provide services to the Network layer protocols defines the media access processes performed by the hardware 2019/2/19

Data Link Standards 2019/2/19

MAC - again Regulating the placement of data frames onto the media is known as media access control. 2019/2/19

MAC Regulating the placement of data frames onto the media is known as media access control The absence of any media access control would be the equivalent of vehicles ignoring all other traffic and entering the road without regard to the other vehicles. However, not all roads and entrances are the same. Traffic can enter the road by merging, by waiting for its turn at a stop sign, or by obeying signal lights. A driver follows a different set of rules for each type of entrance. 2019/2/19

MAC The method of media access control 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 2019/2/19

MAC 2019/2/19

MAC for shared media Two basic media access control methods for shared media: Controlled - Each node has its own time to use the medium Token Ring (deterministic) Contention-based - All nodes compete for the use of the medium CSMA/CD (non-deterministic) 2019/2/19

CSMA/CD Multiple Access (MA) Describing the fact that media is shared The device monitors the media for the presence of a data signal  Carrier Sense (CS) If a data signal is absent, indicating that the media is free, the device transmits the data. If signals are then detected that show another device was transmitting at the same time, all devices stop sending and try again later  Collision Detection (CD) 2019/2/19

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. Used by 802.11 wireless networking technologies. 2019/2/19

MAC for non-shared media Require little or no control before placing frames onto the media. These protocols have simpler rules and procedures for media access control. Such is the case for point-to-point topologies. 2019/2/19

In Point-to-point connection … The Data Link layer has to consider whether the communication is half-duplex devices can both transmit and receive on the media but cannot do so simultaneously full-duplex both devices can transmit and receive on the media at the same time 2019/2/19

Logical Topology What about physical topology? 2019/2/19

Logical Point to Point 2019/2/19

Adding intermediate physical connections to Logical Point to Point 2019/2/19

Virtual Circuit In some cases, the logical connection between nodes forms what is called a virtual circuit. A virtual circuit is a logical connection created within a network between two network devices. Virtual circuits are important logical communication constructs used by some Layer 2 technologies.  like frame relay 2019/2/19

Logical multiple-access topology 2019/2/19

Ring topology 2019/2/19

Framing - again Data Link layer frames has three basic parts Header Trailer 2019/2/19

In a fragile environment … 2019/2/19

In a protected environment … 2019/2/19

Role of header & trailer 2019/2/19

Addressing in multiple access topology 2019/2/19

Addressing in point-to-point topology the frame has only one place it can go 2019/2/19

Examples of Data Link Frames HDLC frame PPP frame Frame Relay frame Ethernet frame 2019/2/19

Ethernet Frame 2019/2/19

PPP Frame 2019/2/19

802.11 Frame 2019/2/19

A simple data transfer between 2 hosts 1. Assume all routing tables are converged 2. ARP tables are complete 3. A TCP session is already established between the client and server. 4. DNS lookup for the WWW server is already cached at the client. 2019/2/19

Follow data through an internetwork - 1 2019/2/19

Follow data through an internetwork - 2 2019/2/19

Follow data through an internetwork - 4 2019/2/19

Follow data through an internetwork - 5 2019/2/19

Follow data through an internetwork - 7 2019/2/19

Follow data through an internetwork - 8 2019/2/19

Follow data through an internetwork - 9 2019/2/19

Follow data through an internetwork - 10 2019/2/19

Follow data through an internetwork - 12 2019/2/19

Follow data through an internetwork - 13 2019/2/19

Follow data through an internetwork - 14 2019/2/19

Follow data through an internetwork - 15 2019/2/19

Follow data through an internetwork - 16 2019/2/19

Follow data through an internetwork - 17 2019/2/19

Follow data through an internetwork - 19 2019/2/19

Follow data through an internetwork - 20 2019/2/19

Follow data through an internetwork - 21 2019/2/19

Follow data through an internetwork - 22 2019/2/19