Local Area Networks. Aloha Slotted Aloha CSMA (non-persistent, 1-persistent, p-persistent) CSMA/CD Ethernet Token Ring

Similar documents
Ethernet. Networks: Ethernet 1

Introductory to Computer Networks Local Area Networks. Lecture 16 Fall Isfahan University of technology Dr.

Local Area Networks. Ethernet LAN

Part3. Local Area Networks (LAN)

Contention Protocols and Networks

Ethernet. Computer Networks. Lecture 4.

IEEE 802 LANs SECTION C

LAN PROTOCOLS. Beulah A AP/CSE

LAN. CS 4/55231 Internet Engineering. Kent State University Dept. of Computer Science

LAN Protocols. Required reading: Forouzan 13.1 to 13.5 Garcia 6.7, 6.8. CSE 3213, Fall 2015 Instructor: N. Vlajic

Chapter 10: Local Area Networks

EITF25 Internet Techniques and Applications L4: Network Access. Stefan Höst

Data Link Layer -2- Network Access

Data Link Layer, Part 3 Medium Access Control. Preface

Lecture 4b. Local Area Networks and Bridges

Data Link Layer -2- Network Access

Ethernet Basics. based on Chapter 4 of CompTIA Network+ Exam Guide, 4 th ed., Mike Meyers

More on LANS. LAN Wiring, Interface

Introduction to Networks and the Internet

Lecture 8: Switched Ethernet and Collision Domains

Data Link Layer, Part 5. Medium Access Control

Computer Networks. Medium Access Sublayer (Part I)

Protocols for Multiaccess Networks

EECS Introduction to Computer Networking. Local Area Networks / Ethernet. Hub

Networking Technologies and Applications

Ethernet. Agenda. Introduction CSMA/CD Elements and Basic Media-Types Repeater, Link Segments Framing. L21 - Ethernet

Origin of IEEE (Ethernet) Ethernet. Agenda. Basic Idea of Ethernet Bus System

RMIT University. Data Communication and Net-Centric Computing COSC 1111/2061/1110. Lecture 8. Medium Access Control Methods & LAN

Introduction to LAN Topologies Cabling. 2000, Cisco Systems, Inc. 3-1

The random access methods we study in this chapter have evolved from a very interesting protocol known as ALOHA, which used a very simple procedure

Goals. Fundamentals of Network Media. More topics. Topics. Multiple access communication. Multiple access solutions

LANs. Local Area Networks. via the Media Access Control (MAC) SubLayer. Networks: Local Area Networks

Ethernet. Introduction. CSE 3213 Fall 2011

High Level View. EE 122: Ethernet and Random Access protocols. Medium Access Protocols

Campus Network Design

Computer Networks Medium Access Control. Mostafa Salehi Fall 2008

Data and Computer Communications. Chapter 11 Local Area Network

COMP476 Networked Computer Systems. Polling. Sharing the Wire. LAN Technologies. COMP476 Networked Computer Systems 1

EE 122: Ethernet and

ECE 4450:427/527 - Computer Networks Spring 2017

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

Summary of MAC protocols

CSMA/CD (Collision Detection)

Link Layer and Ethernet

Data and Computer Communications

Introduction to Computer Networks. IEEE Ethernet

2. LAN Topologies Gilbert Ndjatou Page 1

Chapter 9 Ethernet Part 1

Redes de Computadores. Medium Access Control

CARRIER SENSE MULTIPLE ACCESS (CSMA):

Link Layer and Ethernet

Direct Link Communication II: Wired Media. Multi-Access Communication

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

A LAN is a high-speed data network that covers a relatively small geographic area. It typically connects workstations, personal computers, printers,

Medium Access Protocols

CHAPTER 7 MAC LAYER PROTOCOLS. Dr. Bhargavi Goswami Associate Professor & Head Department of Computer Science Garden City College

The Network Access Layer. In This Lecture. Network Access Layer. Hour 3

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

Chapter 6: DataLink Layer - Ethernet Olivier Bonaventure (2010)

Access Technologies! Fabio Martignon

Media Access Control (MAC) Sub-layer and Ethernet

IEEE standards for local area networks

Chapter 8 LAN Topologies

Zarządzanie sieciami telekomunikacyjnymi

Computer Networks Principles LAN - Ethernet

Lecture 05 Chapter 16 High Speed LANs

The NIC is the main interface between the computer and the network cable.

Lecture 6: Example LAN: Ethernet

Internet Architecture and Protocol

Chapter Seven. Local Area Networks: Part 1. Data Communications and Computer Networks: A Business User s Approach Seventh Edition

Lecture 5 The Data Link Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Local Area Networks (LANs) and Legacy Ethernet

Local Area Networks (LANs) and Legacy Ethernet

Direct Link Communication II: Wired Media. Multi-Access Communication

Token Ring and. Fiber Distributed Data Interface (FDDI) Networks: Token Ring and FDDI 1

Lecture (04) Data link layer

Chapter 12 Multiple Access 12.1

Computer and Network Security

Local Area Network Overview

Review For Exam 2. Internetworking. Summary Questions. School of Business Eastern Illinois University. School of Business Eastern Illinois University

Tutorial 3 (Ethernet)

! High Data Rates (0.1 to 1000 Mbps)! Short Distances (0.1 to 25 km) ! Low Error Rate (10 to 10 ) Local Area Networks

Communication (III) Kai Huang

Lecture 6. Reminder: Homework 2, Programming Project 2 due on Thursday. Questions? Tuesday, September 13 CS 475 Networks - Lecture 6 1

Lecture 6 The Data Link Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Unit 10. Networks. Copyright 2005 Heathkit Company, Inc. All rights reserved.

Network Topology. By Dr. Piya Techateerawat. Bus Topology Ring Topology Star Topology Fully Connected Topology. Combined Topology

Link Layer. (continued)

Chapter 6 Connecting Device

CSE 461: Multiple Access Networks. This Lecture

Lecture 9: Bridging. CSE 123: Computer Networks Alex C. Snoeren

Getting Connected (Chapter 2 Part 4) Networking CS 3470, Section 1 Sarah Diesburg

Chapter 4 NETWORK HARDWARE

Lecture (04) Network Layer (Physical/Data link) 2

Introduction Computer Networks. Applications Requiring High Speed LANs. Why High Speed LANs? IEEE802.3 Medium Access Control

Unit II. Part A (2 Marks)

Data Link Protocols. TCP/IP Suite and OSI Reference Model

CN [Network Devices]

Chapter 6 Medium Access Control Protocols and Local Area Networks

Chapter 3. Underlying Technology. TCP/IP Protocol Suite 1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Transcription:

Local Area Networks Aloha Slotted Aloha CSMA (non-persistent, 1-persistent, p-persistent) CSMA/CD Ethernet Token Ring Networks: Local Area Networks 1

Network Layer Network Layer LLC 802.2 Logical Link Control Data Link Layer MAC 802.3 CSMA-CD 802.5 Token Ring 802.11 Wireless LAN Other LANs Physical Layer Various Physical Layers Physical Layer Copyright 2000 The McGraw Hill Companies IEEE 802 OSI Figure 6.11 Networks: Local Area Networks 2

Ethernet Networks: Ethernet 3

Ethernet [DEC, Intel, Xerox] 1-persistent, CSMA-CD with Binary Exponential Backoff. Manchester encoding. Networks: Ethernet 4

Ethernet [operational in 1974] Initially 3 Mbps baseband coaxial cable (thick Ethernet). Operational Description Ethernet stations sense the channel. When the channel is free, the station transmits a frame. The stations monitor the ether during the transmission. If a collision is detected by any station, the transmission is terminated immediately and a jam signal is sent. Upon collision, transmitting stations backoff using a local counter and then retransmit. Networks: Ethernet 5

Collision Detection [worst case] A begins to transmit at t=0 A A A A detects collision at t= 2 t prop - B B B It takes 2 t prop to find out if channel has been captured B begins to transmit at t= t prop - B detects collision at t= t prop Copyright 2000 The McGraw Hill Companies Leon-Garcia & Widjaja: Communication Networks Figure 6.22 Networks: Ethernet 6

Ethernet frame contention frame A frame seizes the channel after 2 t prop On 1 km Ethernet, t prop is approximately 5 microseconds. Figure 6.23 Contention interval = 2 t prop Interframe gap = 9.6 microseconds Modeled as slotted scheme with slot = 2 t prop Networks: Ethernet 7

Binary Exponental Backoff Upon a collision, the sending stations increment a local counter K. The backoff interval is randomly selected using a uniform distribution over the L = 2 K slots. K is initially set to 0. Thus upon collision, the value of L is doubled locally for each sending station. Networks: Ethernet 8

Binary Exponential Backoff (BEB) Slotted ALOHA has been shown to be unstable when p > 1/n Since Ethernet permits up to 1024 stations, backoff continues until K = 10, L = 2 10, and p = 1/2 10 Normally K is incremented up to 10, but BEB is set for 16 retries. After 16 retries, MAC gives up trying to send the frame. {The IP packet is now considered lost}. Networks: Ethernet 9

802.3 MAC Frame 7 1 2 or 6 2 or 6 2 4 Destination Source Preamble SD Length Information Pad FCS Address Address Synch Start frame 64 to 1518 bytes 0 Single address Destination address is either single address or group address (broadcast = 111...111) 1 Group address 0 Local address 1 Global address Addresses are defined on local or universal basis 2 46 possible global addresses Copyright 2000 The McGraw Hill Companies Leon-Garcia & Widjaja: Communication Networks Figure 6.52 Networks: Ethernet 10

Ethernet Frame 7 1 2 or 6 2 or 6 2 4 Destination Source Preamble SD Type Information Pad FCS Address Address Synch Start frame 64 to 1518 bytes Copyright 2000 The McGraw Hill Companies Leon-Garcia & Widjaja: Communication Networks Figure 6.53 Networks: Ethernet 11

Copyright 2000 The McGraw Hill Companies Figure 6.54 ORG Type 3 2 SNAP PDU SNAP Header Information LLC PDU AA AA 03 1 1 1 802.3 Frame MAC Header FCS Networks: Ethernet 12

Networks: Ethernet 13

Ethernet Evolution 10BASE5 {1983} 10 Mbps 500 meter segment length Signal-regenerating repeaters Thick Coax Advantages: Low attenuation, excellent noise immunity, superior mechanical strength Disadvantages: Bulky, difficult to pull, transceiver boxes too expensive * Wiring represented a significant part of total installed cost. Networks: Ethernet 14

MAU device is physically hooked on main cable. 50 meter AUI cable from MAU to station. Networks: Ethernet 15

Ethernet Evolution 10BASE2 Cheapernet {1985} 10 Mbps 185 meter segment length Signal-regenerating repeaters Transceiver was integrated onto the adapter Thin Coax (coax thinner and lighter) Advantages: Easier to install, reduced hardware cost, BNC connectors widely deployed lower installation costs. Disadvantages: Attenuation not as good, could not support as many stations due to signal reflection caused by BNC Tee Connector. Networks: Ethernet 16

Networks: Ethernet 17

(a) Thick Ethernet Cable transceivers (b) Thin Ethernet Cable Figure 6.55 Networks: Ethernet 18

Ethernet Evolution 1BASE5 StarLAN {1987} 1 Mbps 250 meter segment length Signal-regenerating repeaters Transceiver integrated onto the adapter Hub-and-Spoke topology (star topology) Two pairs of unshielded twisted pair Advantages: Since four or more UTP are ubiquitous in buildings, it is easier to use installed wiring in the walls. Telephone wiring is hierarchical can use wiring closets. Networks: Ethernet 19

10 Mbps 100 meter segment length Signal-regenerating repeaters 10BASET {1990} **Most popular Transceiver integrated onto adapter Two pairs of UTP Ethernet Evolution Hub-and-spoke topology {Hub in the closet} Advantages: could be done without pulling new wires. Each hub amplifies and restores incoming signal. Networks: Ethernet 20

The Hub Concept Separate transmit and receive pair of wires. The repeater in the hub retransmits the signal received from any input pair onto ALL output pairs. Essentially the hub emulates a broadcast channel with collisions detected by receiving nodes. Networks: Ethernet 21

Networks: Ethernet 22

Twisted Pair Ethernet (a) hub Single collision domain (b) switch High-Speed Backplane or Interconnection fabric Copyright 2000 The McGraw Hill Companies Figure 6.56 Networks: Ethernet 23

Switched Ethernet * Basic idea: improve on the Hub concept The switch learns destination locations by remembering the ports of the associated source address in a table. The switch may not have to broadcast to all output ports. It may be able to send the frame only to the destination port. a big performance advantage over a hub, if more than one frame transfer can go through the switch concurrently. Networks: Ethernet 24

Networks: Ethernet 25

Switched Ethernet The advantage comes when the switched Ethernet backplane is able to repeat more than one frame in parallel (a separate backplane bus line for each node). The frame is relayed onto the required output port via the port s own backplane bus line. Under this scheme collisions are still possible when two concurrently arriving frames are destined for the same station. Note each parallel transmission can take place at 10Mbps!! Networks: Ethernet 26

Switched Ethernet Note: Tanenbaum s discussion considers a more powerful switch that reduces collisions even further!! Figure 4-20.A simple example of switched Ethernet. Networks: Ethernet 27

Switched Ethernet Hub Since servers are often shared by multiple nodes, one can employ a switching hub with a port which operates at a higher rate than the other ports. This requires extra buffering inside the hub to handle speed mismatches. Can be further enhanced by higher rated port full-duplex. Networks: Ethernet 28

Fast Ethernet Switch Server Ethernet Switch 100 Mbps links Ethernet Switch 10 Mbps links Copyright 2000 The McGraw Hill Companies Leon-Garcia & Widjaja: Communication Networks Figure 6.57 Networks: Ethernet 29