LAN PROTOCOLS. Beulah A AP/CSE

Similar documents
Data Link Layer, Part 5. Medium Access Control

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

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

EE 122: Ethernet and

Data Link Layer, Part 3 Medium Access Control. Preface

Contention Protocols and Networks

Data Link Layer -2- Network Access

Data and Computer Communications

ECE 4450:427/527 - Computer Networks Spring 2017

Data Link Layer -2- Network Access

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

Protocols for Multiaccess Networks

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

Ethernet. Introduction. CSE 3213 Fall 2011

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

Summary of MAC protocols

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

Redes de Computadores. Medium Access Control

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

Direct Link Networks (II)

Part3. Local Area Networks (LAN)

Medium Access Protocols

Introduction to Computer Networks. IEEE Ethernet

Computer Network Fundamentals Spring Week 3 MAC Layer Andreas Terzis

Topics. Link Layer Services (more) Link Layer Services LECTURE 5 MULTIPLE ACCESS AND LOCAL AREA NETWORKS. flow control: error detection:

IEEE 802 LANs SECTION C

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

COS 140: Foundations of Computer Science

CS 716: Introduction to communication networks. - 9 th class; 19 th Aug Instructor: Sridhar Iyer IIT Bombay

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

Data and Computer Communications. Chapter 11 Local Area Network

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

Reliable Transmission

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

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

Computer Networks Principles LAN - Ethernet

CSMA/CD (Collision Detection)

Random Access. 1. Aloha. 2. Slotted Aloha 3. CSMA 4. CSMA/CD

CSE 461: Multiple Access Networks. This Lecture

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

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

Computer Networks Medium Access Control. Mostafa Salehi Fall 2008

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

Networking Technologies and Applications

Lecture 4b. Local Area Networks and Bridges

Lecture 05 Chapter 16 High Speed LANs

Ethernet. Networks: Ethernet 1

Lecture 6. Data Link Layer (cont d) Data Link Layer 1-1

CSE 461: Multiple Access. Homework: Chapter 2, problems 1, 8, 12, 18, 23, 24, 35, 43, 46, and 58

Chapter 15 Local Area Network Overview

Link Layer and Ethernet

Chapter 9 Ethernet Part 1

Multiple Access Protocols

COS 140: Foundations of Computer Science

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

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

CARRIER SENSE MULTIPLE ACCESS (CSMA):

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

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

Local Area Networks. Ethernet LAN

ET4254 Communications and Networking 1

COMMUNICATION NETWORKS NETW 501

Link Layer and Ethernet

Introduction to LAN Protocols

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

Introduction to LAN Protocols

COMPUTER NETWORKS - Local area networks

Local area networks. Copyright

Outline: Connecting Many Computers

CCNA Exploration Network Fundamentals. Chapter 09 Ethernet

Jaringan Komputer. Broadcast Network. Outline. MAC (Medium Access Control) Channel Allocation Problem. Dynamic Channel Allocation

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

! 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

The MAC Layer. Contents. Textbook. Jean Yves Le Boudec Fall 2012

Adaptors Communicating. Link Layer: Introduction. Parity Checking. Error Detection. Multiple Access Links and Protocols

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

Links Reading: Chapter 2. Goals of Todayʼs Lecture. Message, Segment, Packet, and Frame

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

CSE 461 Multiple Access. David Wetherall

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

Topics for Today. More on Ethernet. Wireless LANs Readings. Topology and Wiring Switched Ethernet Fast Ethernet Gigabit Ethernet. 4.3 to 4.

Multiple Access. Data Communications and Networking

IEEE standards for local area networks

EECS 122, Lecture 7. Kevin Fall Jean Walrand

The Medium Access Sublayer

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

CHAPTER 15 LOCAL AREA NETWORKS ANSWERS TO QUESTIONS

Shared Access Networks. Media Access Protocols. Ethernet (802.3) Ethernet cont...

Link Layer. (continued)

Link Layer: Retransmissions

The Link Layer II: Ethernet

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

CCM 4300 Lecture 6 Computer Networks, Wireless and Mobile Communications. Dr Shahedur Rahman. Room: T115

Chapter 3: Industrial Ethernet

CSCD 330 Network Programming Spring 2017

ECE 4450:427/527 - Computer Networks Spring 2017

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

Local Area Networks (LANs) SMU CSE 5344 /

Reminder: Datalink Functions Computer Networking. Datalink Architectures

CS 43: Computer Networks Media Access. Kevin Webb Swarthmore College November 30, 2017

Transcription:

LAN PROTOCOLS Beulah A AP/CSE

IEEE STANDARDS In 1985, the Computer Society of the IEEE started a project, called Project 802, to set standards to enable intercommunication among equipment from a variety of manufacturers. Project 802 is a way of specifying functions of the physical layer and the data link layer of major LAN protocols. 2

IEEE STANDARDS IP IEEE 802.1 LLC IEEE 802.2 Hides the difference between various LAN protocols to the network layer. ETHERNET IEEE 802.3 TOKEN BUS IEEE 802.4 TOKEN RING IEEE 802.5 3

IEEE STANDARD FOR LANS 4

ETHERNET IEEE 802.3

INTRODUCTION Most widely used LAN protocol Used with Bus or Star topology Access Method is CSMA/CD Topics discussed in this section: ALOHA Carrier Sense Multiple Access Carrier Sense Multiple Access with Collision Detection 6

ALOHA Free for all Any station has a frame to transmit, it transmits. Contention occurs when more than one station transmits. 7

ALOHA CONT 8

SLOTTED ALOHA Time divided into slots Slot size is equal. Therefore fixed time for frame transmission. If a station is ready with a frame, it waits until start of next transmission time. Contention occurs at time slots. 9

SLOTTED ALOHA CONT 10

CARRIER SENSE MULTIPLE ACCESS Before transmitting the data listens the medium If medium is idle then transmit else wait and try again. How to identify collision occurs? 2 stations senses and transmit at time t. No ack for some amount of time. Assume collision and retransmit. 11

CSMA CONT 12

NON PERSISTENT CSMA 1. If idle transmit. 2. If busy wait for random time i. Random generator is used to generate random time. 3. On timer expire do step 1 Collision is reduced Idle time is increased 13

1 PERSISTENT CSMA 1. If idle transmit. 2. If busy continue to listen until channel is idle 3. If collision, wait a random time and do step 1. Collision is increased. 14

P PERSISTENT CSMA 1. If busy continue to listen until channel is idle 2. If channel is idle transmit with a probability p. 15

COMPARISON OF CSMA S 16

CSMA/CD CSMA wastes bandwidth Some mechanism is needed to detect collision Listen the medium continuously when the medium is transmitting 1. If idle transmit 2. If collision stop transmission 1. Then transmit jamming signal. 3. Wait a random time and then try to transmit again. Improves performance by terminating transmission 17 ie avoiding collision

CARRIER SENSING No voltage Medium idle Current flows some station is transmitting Voltage for each bit 18-20 ma Excess current flows collision When collision each bit is > 24mA 18

CSMA/CD 19

CSMA/CD A sends a frame at time t A s frame arrives at B at time t+d B begins transmitting at time t+d and collides with A s frame B send jamming signal (runt frame) to A at 20 t+2d

EXPONENTIAL BACKOFF ALG. The retransmission is delayed by an amount of time derived from the slot time and the number of attempts to retransmit. After c collisions, a random number of slot times between 0 and 2 c - 1 is chosen. For the first collision, each sender will wait 0 or 1 slot times. After the second collision, the senders will wait anywhere from 0 to 3 slot times inclusive. 21

EXPONENTIAL BACKOFF ALG. After the third collision, the senders will wait anywhere from 0 to 7 slot times (inclusive), and so forth. As the number of retransmission attempts increases, the number of possibilities for delay increases exponentially. 22

EXPONENTIAL BACKOFF ALG. The 'truncated' simply means that after a certain number of increases, the exponentiation stops; i.e. the retransmission timeout reaches a ceiling, and thereafter does not increase any further. For example, if the ceiling is set at i = 10 (as it is in the IEEE 802.3 CSMA/CD standard), then the maximum delay is 1023 slot times. 23

FRAME FORMAT Preamble Alert and Synchronization for timing Signal for beginning of frame Destination Address Within a single network Destination Address Another network Router s Address 24

FRAME FORMAT Source Address Single Network Source Address Different Network Last device which forwards the packet. Type/ Length Length of the data from LLC CRC Error checking methods 25

MAC ADDRESS 48 bit address The first six hexadecimal digits, which are administered by the IEEE, identify the manufacturer or vendor. This portion of the MAC address is known as the Organizational Unique Identifier (OUI). The remaining six hexadecimal digits represent the interface serial number, or another value administered by the specific equipment manufacturer. 26

MAC ADDRESS FORMAT 27

Addressing Unicast : The 8th bit is set as 0 if the address is unicast (Ex : Source or one destination address) Multicast : The 8th bit of the Ethernet address is set as 1, if the address is multicast (Ex : group of destination) Broadcast : All the 48 bits of the Ethernet address are 1 s if the address is broadcast. (Ex : All stations in the network are destinations) 28

Physical Properties

Ethernet evolution through four generations Fast Ethernet, Gigabit Ethernet and Ten Gigabit Ethernet are designed to be used in full duplex, point to point configurations. Typically they are used in Switched networks 30

Transceiver In early stage An Ethernet segment is implemented on a coaxial cable of upto 500m. Cable is similar to TV cable. Instead of 75 ohms impedance, this cable use 50 ohms. A transceiver is attached to the cable and also to the adapter. The transceiver receives and sends signal. 31

Repeater Multiple Ethernet can be joined together by repeaters. Repeater forwards analog signals. More than 4 repeaters can not be positioned between any pair of hosts. Therefore Total length of Ethernet is 2500m. Distance between two host must be 2.5m 32

Categories of standard Ethernet 10Base5 10 Mbps, baseband segment length 500m Baseband Single signal send over the cable. Broadband Multiple signal send over the cable. Unshielded TP 33

Repeater Multiple Ethernet can be joined together by repeaters. Repeater forwards analog signals. More than 4 repeaters can not be positioned between any pair of hosts. Therefore Total length of Ethernet is 2500m. Distance between two host must be 2.5m 34

10Base5 Implementation Bus topology Size of a garden hose, hard to handle Maximum 5 segments, repeaters can be used 35

10Base2 Implementation Bus topology Thinner and more flexible Tee connection is used. Cheaper than 10Base5 36

10BaseT Implementation Star topology Hub is used Segment length 100m one for sending and one for receiving 37

10BaseF Implementation Star topology Hub is used 38