ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 16.

Slides:



Advertisements
Similar presentations
The ALOHA Protocol “Free for all”: whenever station has a frame to send, it does so. –Station listens for maximum RTT for an ACK. –If no ACK after a specified.
Advertisements

The Data Link Layer introduction point-to-point data link protocols
Ethernet Kenneth Castelino. Network Architecture - Protocols Physical: Actual signal transmission Data-Link: Framing / Error Detection Network: Routing.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 17 Introduction to Computer Networks.
Network Concepts. Networks LAN WAN Main Concepts n Protocol n Media n Topology.
Distributed systems Module 1 -Basic networking Teaching unit 1 – LAN standards Ernesto Damiani University of Bozen-Bolzano Lesson 4 – Ethernet frame.
MAC Addresses and ARP 32-bit IP address: –network-layer address –used to get datagram to destination IP subnet MAC (or LAN or physical or Ethernet) address:
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 16 Introduction to Computer Networks.
EEC-484/584 Computer Networks Lecture 13 Wenbing Zhao
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…
CS335 Networking & Network Administration Tuesday, April 13, 2010.
The Saigon CTT Semester 1 CHAPTER 6. The Saigon CTT  Content LAN Standards. Hexadecimal Numbers. MAC Addressing. Framing. Media Access Control (MAC).
Medium Access Control Sublayer
Ethernet Outline Multiple Access and Ethernet Intro Ethernet Framing CSMA/CD protocol Exponential backoff.
Infrastructure de Communications – CR 4107Chapter 41 The Medium Access Control Sublayer Chapter 4.
5: DataLink Layer5-1 LAN technologies Data link layer so far: m services, error detection/correction, multiple access Next: LAN technologies m addressing.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 17.
Introduction1-1 Data Communications and Computer Networks Chapter 5 CS 3830 Lecture 27 Omar Meqdadi Department of Computer Science and Software Engineering.
LAN Technologies MAC protocols used in LANs, to control access to the channel Token Rings: IEEE (IBM token ring), for computer room, or department.
1 Data Link Layer Lecture 17 Imran Ahmed University of Management & Technology.
1 LAN Technologies and Network Topology. 2 Direct Point-to-Point Communication.
Basic LAN techniques IN common with all other computer based systems networks require both HARDWARE and SOFTWARE to function. Networks are often explained.
Chi-Cheng Lin, Winona State University CS412 Introduction to Computer Networking & Telecommunication Medium Access Control Sublayer.
Network Technologies Chapter 2. Approaches to Network Communication Connection-Oriented –Circuit-switched –A dedicated connection (circuit) is formed.
14-Oct-15Computer Networks1 Reliable Transmission.
Ethernet Fundamentals. The success of Ethernet is due to the following factors: Simplicity and ease of maintenance Ability to incorporate new technologies.
Access to Shared Media - Media Access Control protocols RD-CSY10171.
Local Area Networks: Ethernet. IEEE Background Institution of Electrical and Electronic Engineering (IEEE) A professional non-profit organization Project.
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Medium Access Control Sublayer.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 15.
McGraw-Hill©The McGraw-Hill Companies, Inc. Chapter 9 Local Area Networks Part I: Basic Concepts and Wired Ethernet LANs.
Data Link Layer Moving Frames. Link Layer Protocols: ethernet, wireless, Token Ring and PPP Has node-to-node job of moving network layer.
1 Semester 1 CHAPTER 6 REVIEW JEOPARDY Frames Data Link LayerMACAddressingHexadecimalsMiscellaneous
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 13.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 21.
Version 4.0 Ethernet Network Fundamentals – Chapter 9 Sandra Coleman, CCNA, CCAI.
1Ethernet Lecture # 12 Computer Communication & Networks.
Chapter 6 – Layer 2 MAC, Frames, Hex, etc.. Layer 1 / Layer 2 Layer 1 Signals, media, bit streams Layer 2 –Communicates with upper layers using Logical.
Chapter 9 Hardware Addressing and Frame Type Identification 1.Delivering and sending packets 2.Hardware addressing: specifying a destination 3. Broadcasting.
Enterprise network 8.1:Introduction 8.2:LANs 8.3:Ethernet / IEEE :Token ring 8.5:Bridges.
The Saigon CTT Semester 1 CHAPTER 6 Le Chi Trung.
Ch 13. Wired LANs: Ethernet IEEE Standards Project 802 launched in 1985 – To set standards to enable intercommunication among equipment from a variety.
Ethernet Overview it the IEEE standard for Ethernet.
Department of Computer Science, University of Peshawar Multiple Access.
LAYER TWO AND BELOW 1 Rocky K. C. Chang 13 September 2010.
1 Ethernet “dominant” LAN technology: cheap $20 for 100Mbs! first widely used LAN technology Simpler, cheaper than token LANs and ATM Kept up with speed.
Networking and Health Information Exchange Unit 1b ISO Open Systems Interconnection (OSI) Component 9/Unit 1b1 Health IT Workforce Curriculum Version 1.0/Fall.
+ Lecture#2: Ethernet Asma ALOsaimi. + Objectives In this chapter, you will learn to: Describe the operation of the Ethernet sublayers. Identify the major.
Lec # 23 Data communucation Muhammad Waseem Iqbal 1ethernet.
1 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
CS 457 – Lecture 3 Link Layer Protocols Fall 2011.
Example DLL Protocols 1. High-Level Data Link Control (HDLC).
Data Link Layer Lower Layers Local Area Network Standards
Multiple Access Methods
Part III Datalink Layer.
Ethernet Outline Multiple Access and Ethernet Intro Ethernet Framing
Ct1403 Lecture#2: DATA LINK LAYER
Chapter 12 Local Area Networks
Reliable transmission
Ethernet Neil Tang 9/17/2008 CS440 Computer Networks.
CCNA 1 Chapter 5 Ethernet Fundamentals
Part III Datalink Layer.
7- chapter Seven Local Area Networks (LAN)
Chapter 12 Local Area Networks
Chapter 12 Local Area Networks
Multiple Access Methods
Chaithra Ashwin Sanjana
Ethernet 16EC351 Computer networks unit II Mr.M.Jagadesh,AP/ECE.
LAN Addresses and ARP IP address: drives the packet to destination network LAN (or MAC or Physical) address: drives the packet to the destination node’s.
Chapter 13 Wired LANs: Ethernet
Presentation transcript:

ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 16

ICOM 6115©Manuel Rodriguez-Martinez Lecture Objectives Look at Stop-and-Wait pseudo code –Sliding window comes on Tuesday Introduction to the Medium Access Control (MAC) Sublayer –Addressing –Channel allocation –IEEE 802 family of protocols Ethernet WiFi Broadband

ICOM 6115©Manuel Rodriguez-Martinez Multi-access Networks Issue –Same channel is shared by many host –Only one can be using it at any given time Problem –How to control access to the channel and be fair?

ICOM 6115©Manuel Rodriguez-Martinez Medium Access Control (MAC) Sublayer Lower part of the Data Link Layer for multi- access networks –e.g. Bus networks like Ethernet MAC has the protocols to control which host get access to the network Logical Link Control (LLC) –Actual Data Link Services Connectionless No ACKs Connectionless with ACKs Connection-oriented with ACKs

ICOM 6115©Manuel Rodriguez-Martinez A View of the Data Link Layer

ICOM 6115©Manuel Rodriguez-Martinez Why have a LLC? Split Data Link Layer complexity –MAC is specific to the physical network Various Flavors of Ethernet Various Flavors of Wireless (802.11a or b) –LLC is common to all Build just one version of this component –MAC is specific to interface with physical layer Permits backward compatibility or interoperability –802.11a y b share LLC

ICOM 6115©Manuel Rodriguez-Martinez Example LLC IEEE LLC receive packets from network layer Adds header with –Frame sequence number –Frame ACK number (if any) Call upon MAC sublayer to actually put data on wire At Receiver side, MAC delivers frames to LLC –LLC decides to ACK or not –Send data up to the network layer

ICOM 6115©Manuel Rodriguez-Martinez Example MAC sublayers IEEE – Ethernet IEEE – IBM Token Ring IEEE – Wireless LAN IEEE – Personal LAN (Bluetooth) IEEE – Broadband Wireless –Wireless Local Loop All these share a common LLC –IEEE 802.2

ICOM 6115©Manuel Rodriguez-Martinez Services provided by MAC sublayer Addressing –MAC Address Given to the network interface card Frame generation Checksum computation Error detection Arbitration for channel access –Conflict detection and resolution

ICOM 6115©Manuel Rodriguez-Martinez Static Channel Allocation Allocate each host a chance to send FDM or TDM can be used here –Reserve each host a part of the bandwidth But these do not work well in LANs –Bursty traffic means channel is poorly used Idle sender eats bandwidth that can be given to busy sender

ICOM 6115©Manuel Rodriguez-Martinez Dynamic Channel Allocation Distributed Algorithm is run to determine who gets to send –Get permission to send Token-based approach –IBM Token Ring or FDDI –Send first and then fix any problem Typical problem: Collisions –Two frames are send at the same time, thus distorting the signals

ICOM 6115©Manuel Rodriguez-Martinez Ethernet MAC Sublayer Invented at Xerox Standardized as IEEE Properties –Best effort delivery LLC must do re-transmission in case of timeout or CRC error –Carrier Sense with Collision Detection –Unique address for network Card –Support for multicasting and broadcasting

ICOM 6115©Manuel Rodriguez-Martinez Ethernet Types Cable type provides the type of Ethernet

ICOM 6115©Manuel Rodriguez-Martinez Connectivity of Ethernet styles

ICOM 6115©Manuel Rodriguez-Martinez Ethernet Frame Format Preamble – 64 bits long, each byte has pattern –Synchronize start of frame Dest addr – 48-bit destination address Src addr – 48-bit source address Type – 16-bit flag used to indicate which upper layer protocol gets the frame Body – variable length area to put the data from LLC CRC – 32-bit error detection code

ICOM 6115©Manuel Rodriguez-Martinez Ethernet Manchester Data Encoding Problem: How to discern an idle link from the signal for bit 0? Each bit period is divided into two sub-periods –1 is encoded as transition from high to low voltage –0 is endoced transition from low to high voltage

ICOM 6115©Manuel Rodriguez-Martinez Ethernet MAC Address Every Ethernet card has a unique MAC address –Stored (burned) in ROM –6 bytes long –Usually printed on card in hexadecimal digits, one digit per 4-bit group Example: –8:0:2B:E4:B1:2 represents MAC address –Can also be written as: 08:00:2B:E4:B1:02

ICOM 6115©Manuel Rodriguez-Martinez Ethernet Addressing Unicast –Frame is addressed to one network card Broadcast –Frame is addressed to all network cards –Special MAC Address for this Multicast –Frame is addressed to a group of cards –Each address has the first bit set to

ICOM 6115©Manuel Rodriguez-Martinez Transmitter Algorithm Ethernet is Carrier Sense system –Adaptor can “listen” to signal on wire If card has a frame to send it listens to wire –If signal is detected, then it waits and tries again later when channel is idle –Otherwise, frame is sent and card starts listening as it sends Send and listen simultaneously to detects collision

ICOM 6115©Manuel Rodriguez-Martinez Collision Detection If the card listens a different signal pattern than the one its sending, it assumes a collision Card waits a random amount of time t Card attempts to send the frame again This is called collision detection –Often the system is term CSMA/CD – Carrier Sense Multiple-Access with Collision Detection

ICOM 6115©Manuel Rodriguez-Martinez Collisions How much can it take to detect a collision? –1 RTT