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

Similar documents
Part3. Local Area Networks (LAN)

Chapter 6 Medium Access Control Protocols and Local Area Networks. Part I: Medium Access Control Part II: Local Area Networks

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

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

Ethernet. Networks: Ethernet 1

Local Area Networks. Ethernet LAN

Lecture 4b. Local Area Networks and Bridges

Ethernet. Computer Networks. Lecture 4.

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

IEEE 802 LANs SECTION C

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

Link Layer and Ethernet

Link Layer and Ethernet

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

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

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

Data Link Layer, Part 5. Medium Access Control

Data Link Layer, Part 3 Medium Access Control. Preface

Other Protocols. Arash Habibi Lashkari

Networking Technologies and Applications

LAN Systems. Bus topology LANs

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

Reminder: Datalink Functions Computer Networking. Datalink Architectures

ET4254 Communications and Networking 1

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

Summary of MAC protocols

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

Local Area Network Overview

Zarządzanie sieciami telekomunikacyjnymi

Chapter 6 Medium Access Control Protocols and Local Area

Ethernet Standard. Campus Network Design. Ethernet address. OSI Model. Thana Hongsuwan

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

Chapter 15 Local Area Network Overview

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

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

Review. Error Detection: CRC Multiple access protocols. LAN addresses and ARP Ethernet. Slotted ALOHA CSMA/CD

The Medium Access Sublayer

IEEE standards for local area networks

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

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

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

Computer Networks Medium Access Control. Mostafa Salehi Fall 2008

Medium Access Protocols

Chapter 11 in Stallings 10 th Edition

EE 122: Ethernet and

CCNA Exploration Network Fundamentals. Chapter 09 Ethernet

Data and Computer Communications

Introduction to Networks and the Internet

CS 43: Computer Networks Switches and LANs. Kevin Webb Swarthmore College December 5, 2017

Chapter 8 LAN Topologies

Ethernet Technologies

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

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

Lecture 9 The Data Link Layer part II. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Computer Networks Principles LAN - Ethernet

Prof. Shervin Shirmohammadi SITE, University of Ottawa. Design Technologies. Lecture 17: Prof. Shervin Shirmohammadi CEG

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

Local Area Networks (LANs) and Legacy Ethernet

Local Area Networks (LANs) and Legacy Ethernet

Local Area Networks transmission system private speedy and secure kilometres shared transmission medium hardware & software

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

EECS 122, Lecture 7. Kevin Fall Jean Walrand

Lecture Outline. Lecture 2. OSI model and networking. The OSI model and networking. The OSI model and networking. The OSI model and networking

Medium Access Control. CSCI370 Lecture 5 Michael Hutt New York Institute of Technology

Introduction to Computer Networks. IEEE Ethernet

The Link Layer II: Ethernet

Campus Network Design

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

Section 3.1: Network Adapters

Data Link Layer -2- Network Access

Internet Architecture and Protocol

Communication (III) Kai Huang

CARRIER SENSE MULTIPLE ACCESS (CSMA):

Chapter 6 Local Area Networks and Media Access Control. School of Info. Sci. & Eng. Shandong Univ.

M242 COMPUTER NETWORS AND SECURITY

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

Lecture 6: Example LAN: Ethernet

More on LANS. LAN Wiring, Interface

CCNA Exploration1 Chapter 7: OSI Data Link Layer

Chapter 4. Local Area Networks. Why a Computer Network?

High Speed LANs. Range of technologies. Fast and Gigabit Ethernet Fibre Channel High Speed Wireless LANs. CS420/520 Axel Krings Page 2

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

LAN Systems. Bus topology LANs

Data Link Layer -2- Network Access

Data Link Protocols. TCP/IP Suite and OSI Reference Model. The TCP/IP protocol stack does not define the lower layers of a complete protocol stack

ECE 4450:427/527 - Computer Networks Spring 2017

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

Computer Networking Lecture 5 Data link Layer Access Control. Based on slides by Peter Steenkiste Copyright, Carnegie Mellon

Contention Protocols and Networks

The Link Layer and LANs: Ethernet and Swiches

LLC and Bridges. Raj Jain. Professor of CIS. The Ohio State University

The Link Layer and LANs

Raj Jain. The Ohio State University Columbus, OH

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

Redes de Computadores (RCOMP)

Internetworking Concepts Overview. 2000, Cisco Systems, Inc. 2-1

Local Area Networks (LANs) SMU CSE 5344 /

Chapter 4. DataLink Layer. Reference: Computer Networking: A Top Down Approach 4 th edition. Jim Kurose, Keith Ross Addison-Wesley, July 2007.

Link layer, LANs: outline. Chapter 5-2 Link Layer. MAC addresses (more) MAC addresses

Transcription:

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

What is a LAN? Local area means: Private ownership freedom from regulatory constraints of WANs Short distance (~1km) between computers low cost very high-speed, relatively error-free communication complex error control unnecessary Machines are constantly moved Keeping track of location of computers a chore Simply give each machine a unique address Broadcast all messages to all machines in the LAN Need a medium access control protocol

Typical LAN Structure Transmission Medium Network Interface Card (NIC) Unique MAC physical address RAM Ethernet Processor RAM ROM

Medium Access Control Sublayer In IEEE 802.1, Data Link Layer divided into: 1. Medium Access Control Sublayer Coordinate access to medium Connectionless frame transfer service Machines identified by MAC/physical address Broadcast frames with MAC addresses 2. Logical Link Control Sublayer Between Network layer & MAC sublayer

MAC Sub-layer IEEE 802 OSI 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

Logical Link Control Layer IEEE 802.2: LLC enhances service provided by MAC A C A Reliable frame service C Unreliable Datagram Service LLC LLC LLC MAC MAC MAC MAC MAC MAC PHY PHY PHY PHY PHY PHY

Logical Link Control Services Type 1: Unacknowledged connectionless service Unnumbered frame mode of HDLC Type 2: Reliable connection-oriented service Asynchronous balanced mode of HDLC Type 3: Acknowledged connectionless service Additional addressing A workstation has a single MAC physical address Can handle several logical connections, distinguished by their SAP (service access points).

LLC PDU Structure 1 byte Destination SAP Address 1 1 Source SAP Address 1 or 2 bytes Control Information Destination SAP Address Source SAP Address I/G C/R 1 7 bits 1 7 bits I/G = Individual or group address C/R = Command or response frame Examples of SAP Addresses: 06 IP packet E0 Novell IPX FE OSI packet AA SubNetwork Access protocol (SNAP)

Encapsulation of MAC frames IP Packet IP LLC PDU LLC Header Data MAC Header FCS

Local Area Networks Ethernet

A bit of history 1970 ALOHAnet radio network deployed in Hawaiian islands 1973 Metcalf and Boggs invent Ethernet, random access in wired net 1979 DIX Ethernet II Standard 1985 IEEE 802.3 LAN Standard (10 Mbps) 1995 Fast Ethernet (100 Mbps) 1998 Gigabit Ethernet 2002 10 Gigabit Ethernet Ethernet is the dominant LAN standard

IEEE 802.3 MAC: Ethernet MAC Protocol: CSMA/CD Slot Time is the critical system parameter upper bound on time to detect collision upper bound on time to acquire channel upper bound on length of frame segment generated by collision quantum for retransmission scheduling max{round-trip propagation, MAC jam time} Truncated binary exponential backoff for retransmission n: 0 < r < 2 k, where k=min(n,10) Give up after 16 retransmissions

IEEE 802.3 Original Parameters Transmission Rate: 10 Mbps Min Frame: 512 bits = 64 bytes Slot time: 512 bits/10 Mbps = 51.2 µsec 51.2 µsec x 2x10 5 km/sec =10.24 km, 1 way 5.12 km round trip distance Max Length: 2500 meters + 4 repeaters Each x10 increase in bit rate, must be accompanied by x10 decrease in distance

IEEE 802.3 MAC Frame 7 1 6 6 2 4 Preamble SD Destination Source Length Information Pad FCS address address Synch Start frame 802.3 MAC Frame 64-1518 bytes Every frame transmission begins from scratch Preamble helps receivers synchronize their clocks to transmitter clock 7 bytes of 10101010 generate a square wave Start frame byte changes to 10101011 Receivers look for change in 10 pattern

IEEE 802.3 MAC Frame 7 1 6 6 2 4 Preamble SD Destination Source Length Information Pad FCS address address Synch Start frame 802.3 MAC Frame 64-1518 bytes 0 Single address 1 Group address 0 Local address 1 Global address Destination address single address group address broadcast = 111...111 Addresses local or global Global addresses first 24 bits assigned to manufacturer; next 24 bits assigned by manufacturer Cisco 00-00-0C 3COM 02-60-8C

IEEE 802.3 MAC Frame 7 1 6 6 2 4 Preamble SD Destination Source Length Information Pad FCS address address Synch Start frame 802.3 MAC Frame 64-1518 bytes Length: # bytes in information field Max frame 1518 bytes, excluding preamble & SD Max information 1500 bytes: 05DC Pad: ensures min frame of 64 bytes FCS: CCITT-32 CRC, covers addresses, length, information, pad fields NIC discards frames with improper lengths or failed CRC

DIX Ethernet II Frame Structure 7 1 6 6 2 4 Destination Source Preamble SD Type Information FCS address address Synch Start frame Ethernet frame 64-1518 bytes DIX: Digital, Intel, Xerox joint Ethernet specification Type Field: to identify protocol of PDU in information field, e.g. IP, ARP Framing: How does receiver know frame length? physical layer signal, byte count, FCS

SubNetwork Address Protocol (SNAP) IEEE standards assume LLC always used Higher layer protocols developed for DIX expect type field DSAP, SSAP = AA, AA indicate SNAP PDU; 03 = Type 1 (connectionless) service SNAP used to encapsulate Ethernet II frames ORG Type 3 2 SNAP PDU SNAP Header Information LLC PDU AA AA 03 1 1 1 MAC Header FCS

IEEE 802.3 Physical Layer Table 6.2 IEEE 802.3 10 Mbps medium alternatives 10base5 10base2 10baseT 10baseFX Medium Thick coax Thin coax Twisted pair Optical fiber Max. Segment Length 500 m 200 m 100 m 2 km Topology Bus Bus Star Point-topoint link (a) transceivers (b) Hubs & Switches! Thick Coax: Stiff, hard to work with T connectors flaky

Ethernet Hubs & Switches Single collision domain (a) (b) High-Speed backplane or interconnection fabric Twisted Pair Cheap Easy to work with Reliable Star-topology CSMA-CD Twisted Pair Cheap Bridging increases scalability Separate collision domains Full duplex operation

Ethernet Scalability Avg. Transfer Delay 30 25 20 15 10 5 0 CSMA-CD a =.2 a =.1 a =.01 0 0.06 0.12 0.18 0.24 0.3 0.36 0.42 0.48 0.54 Load CSMA-CD maximum throughput depends on normalized delay-bandwidth product a=t prop /X x10 increase in bit rate = x10 decrease in X 0.6 0.66 0.72 0.78 0.84 0.9 0.96 To keep a constant need to either: decrease t prop (distance) by x10; or increase frame length x10

Fast Ethernet Table 6.4 IEEE 802.3 100 Mbps Ethernet medium alternatives 100baseT4 100baseT 100baseFX Medium Twisted pair category 3 UTP 4 pairs Twisted pair category 5 UTP two pairs Optical fiber multimode Two strands Max. Segment Length 100 m 100 m 2 km Topology Star Star Star To preserve compatibility with 10 Mbps Ethernet: Same frame format, same interfaces, same protocols Hub topology only with twisted pair & fiber Bus topology & coaxial cable abandoned Category 3 twisted pair (ordinary telephone grade) requires 4 pairs Category 5 twisted pair requires 2 pairs (most popular) Most prevalent LAN today

Gigabit Ethernet Table 6.3 IEEE 802.3 1 Gbps Fast Ethernet medium alternatives Medium Max. Segment Length 1000baseSX 1000baseLX 1000baseCX 1000baseT Optical fiber multimode Two strands Optical fiber single mode Two strands Shielded copper cable Twisted pair category 5 UTP 550 m 5 km 25 m 100 m Topology Star Star Star Star Slot time increased to 512 bytes Small frames need to be extended to 512 B Frame bursting to allow stations to transmit burst of short frames Frame structure preserved but CSMA-CD essentially abandoned Extensive deployment in backbone of enterprise data networks and in server farms

10 Gigabit Ethernet Table 6.5 IEEE 802.3 10 Gbps Ethernet medium alternatives Medium Max. Segment Length 10GbaseSR 10GBaseLR 10GbaseEW 10GbaseLX4 Two optical fibers Multimode at 850 nm 64B66B code Two optical fibers Single-mode at 1310 nm 64B66B Two optical fibers Single-mode at 1550 nm SONET compatibility Two optical fibers multimode/singlemode with four wavelengths at 1310 nm band 8B10B code 300 m 10 km 40 km 300 m 10 km Frame structure preserved CSMA-CD protocol officially abandoned LAN PHY for local network applications WAN PHY for wide area interconnection using SONET OC-192c Extensive deployment in metro networks anticipated

Typical Ethernet Deployment Server farm Server Server Server Switch/router Gigabit Ethernet links Gigabit Ethernet links Switch/router Server Ethernet switch 100 Mbps links Server Ethernet switch 100 Mbps links Server Ethernet switch 100 Mbps links Hub Hub Hub 10 Mbps links 10 Mbps links 10 Mbps links Department A Department B Department C