Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 1 LAN Systems.

Slides:



Advertisements
Similar presentations
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 16 – High Speed LANs.
Advertisements

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.
Ethernet – CSMA/CD Review
Lecture 5: IEEE Wireless LANs (Cont.). Mobile Communication Technology according to IEEE (examples) Local wireless networks WLAN a.
– Wireless PHY and MAC Stallings Types of Infrared FHSS (frequency hopping spread spectrum) DSSS (direct sequence.
Chapter 6 High-Speed LANs1 Chapter 6 High-Speed LANs.
14.1 Chapter 14 Wireless LANs Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 K. Salah Module 4.2: Media Access Control The Media Access Control (MAC) sublayer –Random Access (CSMA), IEEE –Token Passing, IEEE Ch 13-
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 15 Wireless LANs.
1 CSE401n:Computer Networks Lecture 16 Wireless Link & LANs WS: ch-14 KR: 5.7.
Chapter 14 LAN Systems Ethernet (CSMA/CD) ALOHA Slotted ALOHA CSMA
Copyright © 2003, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 1 Chapter 6 Multiple Radio Access.
TDC 461 Basic Communications Systems Local Area Networks 29 May, 2001.
Data Communications LAN Systems. ALOHA Packet Radio When station has frame, it sends Station listens (for max round trip time)plus small increment If.
20 – Collision Avoidance, : Wireless and Mobile Networks6-1.
Chapter 15: LAN Systems Business Data Communications, 4e.
EE 4272Spring, 2003 Chapter 14 LAN Systems Ethernet (CSMA/CD)  ALOHA  Slotted ALOHA  CSMA  CSMA/CD Token Ring /FDDI Fiber Channel  Fiber Channel Protocol.
5-1 Data Link Layer r What is Data Link Layer? r Wireless Networks m Wi-Fi (Wireless LAN) r Comparison with Ethernet.
1 LAN Topologies, Access methods (Week 1, Wednesday 1/10/2007) © Abdou Illia, Spring 2007.
6: Wireless and Mobile Networks6-1 Elements of a wireless network network infrastructure wireless hosts r laptop, PDA, IP phone r run applications r may.
Chapter 5 outline 5.1 Introduction and services
Lecture #2 Chapter 14 Wireless LANs.
Overview of Wireless LANs Use wireless transmission medium Issues of high prices, low data rates, occupational safety concerns, & licensing requirements.
9/11/2015 5:55 AM1 Ethernet and CSMA/CD CSE 6590 Fall 2010.
A.S.Tanenbaum, Computer networks, ch4 MAC 1 The Medium Access Control Sublayer Medium Access Control: a means of controlling access to the medium to promote.
MAC layer Taekyoung Kwon. Media access in wireless - start with IEEE In wired link, –Carrier Sense Multiple Access with Collision Detection –send.
CSC 335 Data Communications and Networking Lecture 7: Local Area Networking Dr. Cheer-Sun Yang Fall 2000.
IEEE Project started by IEEE for setting standard for LAN. This project started in (1980, February), Name given to project is year and month.
Ethernet, MAC podvrstva
Ch. 16 High-Speed LANs The Emergence of High- Speed LANs Trends –Computing power of PCs has continued to grow. –MIS organizations recognize the.
K. Salah 1 Chapter 15 Wireless LANs. K. Salah 2 Figure 15.1 BSSs IEEE Specification for Wireless LAN: IEEE , which covers the physical and data.
IEEE Wireless LAN Standard
IEEE Wireless LAN Standard. Medium Access Control-CSMA/CA IEEE defines two MAC sublayers Distributed coordination function (DCF) Point coordination.
Local Area Networks: Ethernet. IEEE Background Institution of Electrical and Electronic Engineering (IEEE) A professional non-profit organization Project.
Data and Computer Communications Ninth Edition by William Stallings Data and Computer Communications, Ninth Edition by William Stallings, (c) Pearson Education.
Wireless and Mobility The term wireless is normally used to refer to any type of electrical or electronic operation which is accomplished without the use.
CSC 581 Communication Networks II Chapter 6c: Local Area Network (Wireless LAN – ) Dr. Cheer-Sun Yang.
C H 4 T HE M EDIUM A CCESS C ONTROL S UBLAYER 1 Medium Access Control: a means of controlling access to the medium to promote orderly and efficient use.
Chapter 6 Multiple Radio Access
C H 4 T HE M EDIUM A CCESS C ONTROL S UBLAYER 1 Medium Access Control: a means of controlling access to the medium to promote orderly and efficient use.
Chapter 6 Medium Access Control Protocols and Local Area Networks Wireless LAN.
Business Data Communications, 4e
WLAN. Networks: Wireless LANs2 Distribute Coordination Function (DCF) Distributed access protocol Contention-Based Uses CSMA/ CA – Uses both physical.
WLAN.
Chapter 14 Wireless LANs.
MAC Sublayer MAC layer tasks: – Control medium access – Roaming, authentication, power conservation Traffic services – DCF (Distributed Coordination.
Wireless Protocols. 2 Outline MACA 3 ISM: Industry, Science, Medicine unlicensed frequency spectrum: 900Mhz, 2.4Ghz, 5.1Ghz, 5.7Ghz.
MAC Layer Protocols for Wireless Networks. What is MAC? MAC stands for Media Access Control. A MAC layer protocol is the protocol that controls access.
1 Ethernet CSE 3213 Fall February Introduction Rapid changes in technology designs Broader use of LANs New schemes for high-speed LANs High-speed.
Distributed-Queue Access for Wireless Ad Hoc Networks Authors: V. Baiamonte, C. Casetti, C.-F. Chiasserini Dipartimento di Elettronica, Politecnico di.
DSSS PHY packet format Synchronization SFD (Start Frame Delimiter)
Wireless LAN Requirements (1) Same as any LAN – High capacity, short distances, full connectivity, broadcast capability Throughput: – efficient use wireless.
COMPUTER NETWORKS Lecture-8 Husnain Sherazi. Review Lecture 7  Shared Communication Channel  Locality of Reference Principle  LAN Topologies – Star.
Ch. 16 Ethernet Traditional Ethernet IEEE Medium Access Control –Carrier Sense Multiple Access with Collision Detection (CSMA/CD) –The most.
Example DLL Protocols 1. High-Level Data Link Control (HDLC).
Data Link Layer Lower Layers Local Area Network Standards
EA C451 (Internetworking Technologies)
Computer Communication Networks
High Speed LANs – Ethernet and Token Ring
Chapter 14 LAN Systems Ethernet (CSMA/CD) ALOHA Slotted ALOHA CSMA
William Stallings Data and Computer Communications
CS 457 – Lecture 7 Wireless Networks
IEEE Wireless LAN wireless LANs: untethered (often mobile) networking
Chapter 12 Local Area Networks
Chapter 6 Medium Access Control Protocols and Local Area Networks
Business Data Communications, 4e
Chapter 14. LAN Systems Ethernet and Fast Ethernet (CSMA/CD)
Chapter 12 Local Area Networks
Chapter 12 Local Area Networks
Chapter 6 Multiple Radio Access.
Presentation transcript:

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 1 LAN Systems

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 2 LAN Systems Ethernet and Fast Ethernet (CSMA/CD, 802.3), and Gigabit Ethernet Token Ring (802.5) & FDDI ATM LANs Wireless LANs (802.11) LAN Switching and VLANs

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 3 LAN Generations First CSMA/CD and token ring Terminal to host connectivity and client server architecture Moderate data rates Second FDDI The need of backbone LANs High performance workstations Third ATM, Gigabit Ethernet Aggregate throughput and real time support for multimedia applications

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 4 1. Ethernet (CSMA/CD) Carriers Sense Multiple Access with Collision Detection Xerox - Ethernet IEEE 802.3

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 5 IEEE802.3 Medium Access Control Random Access – Stations access medium randomly Contention –Stations content for time on medium

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 6 ALOHA Packet Radio When station has frame, it sends Station listens (for max round trip time)plus small increment If ACK, fine. If not, retransmit If no ACK after repeated transmissions, give up Frame check sequence (as in HDLC) If frame OK and address matches receiver, send ACK Frame may be damaged by noise or by another station transmitting at the same time (collision) Any overlap of frames causes collision Max utilization 18%

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 7 Slotted ALOHA Time in uniform slots equal to frame transmission time Need central clock (or other sync mechanism) Transmission begins at slot boundary Frames either miss or overlap totally Max utilization 37%

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 8 CSMA Carrier Sense Multiple Access Propagation time is much less than transmission time All stations know that a transmission has started almost immediately First listen for clear medium (carrier sense) If medium idle, transmit If two stations start at the same instant, collision Wait reasonable time (round trip plus ACK contention) No ACK then retransmit Max utilization depends on propagation time (medium length) and frame length –Longer frame and shorter propagation gives better utilization

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 9 If Busy? If medium is idle, transmit If busy, listen for idle then transmit immediately If two or more stations are waiting, collision will occur

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 10 CSMA/CD With CSMA, collision occupies medium for duration of transmission Stations listen whilst transmitting (an improvement) If medium idle, transmit If busy, listen for idle, then transmit If collision detected, jam then cease transmission After jam, wait random time then start again –Binary exponential back off

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 11 CSMA/CD Operation

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 12 Collision Detection On baseband bus, collision produces much higher signal voltage than signal Collision detected if cable signal greater than single station signal Signal attenuated over distance Limit distance to 500m (10Base5) or 200m (10Base2) For twisted pair (star-topology) activity on more than one port is collision Special collision presence signal

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 13 IEEE Frame Format Preamble: alternating 0s and 1s for bit synchronization at the receiver Start of Frame Delimiter: the sequence Destination and Source Addresses: Ethernet (or MAC) addresses Frame Check Sequence: 32-bit CRC

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 14 10Mbps Specification (Ethernet) 10Base510Base210Base-T10Base-FP Nodes MediumCoaxialCoaxialUTP850nm fiber SignalingBasebandBasebandBasebandManchester ManchesterManchesterManchesterOn/Off TopologyBusBusStarStar Diameter(mm) ~ /125um Max segment(m)

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 15 10Base5 10Base2 transceivers

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 16 10BaseT Hub

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 17 Fast Ethernet

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 18 IEEE802.3(100Mbps) All 100BASE-X schemes use two physical links between nodes, one transmission and one reception 100BASE-TX use STP or high-quality Cat5 UTP 100BASE-FX uses optical fiber 100BASE-T4 use 4 twisted pairs. Data transmission use 3 pairs in one direction at a time. i.e. two pairs are bidirectional. Data stream split into 3 each with 33.3Mbps (lost cost alternative, may be prewired in office bldgs)

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 19 Gigabit Ethernet Configuration

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 20 Gigabit Ethernet - Differences Retains the CSMA/CD protocol and 10-Mbps and 100-Mbps Ethernet format Two enhancements: Carrier extension At least 4096 bit-times long (512 for 10/100) so that T f > T p Frame bursting (allows multiple short frames to be tx consecutively)

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 21 Gigabit Ethernet - Physical 1000Base-SX –Short wavelength, multimode fiber 1000Base-LX –Long wavelength, Multi or single mode fiber 1000Base-CX –Copper jumpers <25m, shielded twisted pair 1000Base-T –4 pairs, cat 5 UTP Signaling - 8B/10B

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide Token Ring (802.5)

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 23 MAC protocol –Small frame (token) circulates when idle –Station waits for token –Changes one bit in token to make it SOF for data frame –Append rest of data frame –Frame makes round trip and is absorbed by transmitting station –Station then inserts new token when transmission has finished and leading edge of returning frame arrives –Under light loads, some inefficiency –Under heavy loads, round robin Token Ring MAC

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 24 Token Ring Operation

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 25 Priority Scheme

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 26 Fiber Distributed Data Interface 100Mbps Similar MAC protocol as Token Ring, but with two key differences: –A token is completely received before a frame is transmitted. It is impractical to flip a bit to convert a token to a start-of-frame. –After transmitting a frame, a token is released immediately without waiting for the frame to return to the station.

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 27 Dual Rings A E D C B

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 28 LAN Performance Issues

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 29 Throughput Equations “Perfect” protocol: Token Ring:

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 30 Throughput Equations CSMA/CD:

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 31

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 32

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide ATM 3rd Generation LANs: –Support for multiple guaranteed classes of service Live video may need 2Mbps VoIP File transfer can use background class –Scalable throughput Both aggregate and per host –Facilitate LAN/WAN internetworking

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 34 ATM LANs Asynchronous Transfer Mode Possible types: –Gateway to ATM WAN –Backbone ATM switch –Workgroup ATM

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 35 Example ATM LAN

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 36 ATM LAN HUB

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide Wireless LANs The standard is IEEE Basic service set (cell) –Set of stations using the same MAC protocol –Competing to access a shared medium –May be used to form an ad hoc network –May be isolated –May be connected to backbone via access point (bridge) Extended service set –Two or more BSS connected by distributed system –Each BSS has an access point (AP) which provides access to the distribution system –Appears as a single logic LAN to LLC level

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 38 B D C A Figure 6.65 Ad Hoc Network

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 39 A2 B2 B1 A1 AP1 AP2 Distribution System Server Gateway to Internet portal BSS A BSS B Figure 6.66 Infrastructure network and extended service set

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 40 Types of stations No transition –Stationary or moves within direct communication range of single BSS BSS transition –Moves between BSS within single ESS ESS transition –From a BSS in one ESS to a BSS in another ESS –Disruption of service likely

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 41 Wireless LAN - Physical Infrared –1Mbps and 2Mbps –Wavelength nm Direct sequence spread spectrum –2.4GHz Industrial, Scientific, and Medical (ISM) band –11 channels defined in US, 9 defined in Europe –Each channel:1Mbps, 2Mbps, 5.5Mbps, or 11Mbps (using different encoding techniques, and providing different ranges of service) Frequency hopping spread spectrum –2.4GHz ISM band –1Mbps or 2Mbps Others under development

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 42 Media Access Control The IEEE MAC protocol is specified in terms of coordination functions that determine when a station in a BSS is allowed to transmit and when it may be able to receive PDUs over the wireless medium Distributed coordination function (DCF) –Under the DCF, the transmission medium operates in the contention mode, requiring all stations to contend for the channel for each packet transmitted Point coordination function (PCF) –Under PCF the medium can alternate between the contention period and a contention-free period (during which the usage of the medium is controlled by the Access ) In the following, only the operations of DCF are discussed

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 43 IEEE MAC Architecture Physical Distribution coordination function (CSMA-CA) PCF Contention-free service Contention service MAC

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 44 Distributed Coordination Function Based on Carrier Sensing Multiple Access with Collision Avoidance (CSMA-CA) protocol: –If the channel is sensed idle: If the channel is sensed idle for an amount of time equal to or greater than the Distributed Inter Frame Space (DIFS), a station is then allowed to transmit When the receiving station correctly receives the frame, it waits a short period of time (known as the Short IFS, or SIFS) and then sends back an acknowledgement frame –If the channel is sensed busy: The station defers its access until the channel is later sensed idle The station then computes an additional random backoff time and counts down this time as the channel is sensed idle The station transmits its frame when the timers reaches zero

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 45 Basic CSMA-CA Opertions Busy Medium DIFS PIFS SIFS Contention Window Next Frame Defer Access Wait for Reattempt Time Time

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 46 Data DIFS SIFS Defer access Wait for reattempt time ACK DIFS NAV Source Destination Other NAV: Network Allocation Vector, indicates the amount of time that must be elapse until the current transmission is complete and the channel can be sampled again for idle status.

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 47 The Hidden-Station Problem Data Frame A transmits data frame B A B C C transmits data frame and collides with A at B (a) (b) C senses medium, station A is hidden from C Data Frame C A

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 48 Why Hidden? Physical obstructions in the environment may prevent station A and station C from hearing each other’s transmission Stations A and C are placed such that their signal strengths are not strong enough for them to detect each other’s transmissions, and yet their transmissions are strong enough to have interfered with each other at station B.

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 49 Solution to the Problem Use short Request to Send (RTS) and Clear To Send (CTS) frame to reserve access to the channel. A sender first send a RTS frame to the receiver, indicating the duration of the data packet and the ACK packet. The receiver then responds with a CTS frame.

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 50 RTS CTS Data frame A requests to send B C A A sends B B C C remains quiet B announces A ok to send (a) (b) (c)

Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks LAN Systems Slide 51 Collision Avoidance IEEE frame contains a duration field in which the sending station explicitly indicates the length of time that its frame will be transmitting on the channel. This value allows other stations to determine the minimum amount of time (or the NAV) for which they should defer their access. The use of the RTS and CTS frames also helps avoid collisions in 2 important ways: –CTS frames help avoid the hidden station problem. –RTS and CTS frames are short (20 & 14 bytes respectively), a collision involving an RTS or CTS frame will only last for a short period of time. Note that when the RTS and CTS frames are correctly transmitted, there should be no collisions involving the subsequent DATA frame (which can be 2300 bytes) and the ACK frame.