Collision in Star Topology: Case 3. IEEE MAC Frame Format

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

Ethernet. Ethernet Frame Structure. Ethernet Frame Structure (more) Ethernet: uses CSMA/CD

Local Area Networks. Guest Instructor Elaine Wong. Elaine_06_I-1

Based on Computer Networking, 4 th Edition by Kurose and Ross

Module 5. Broadcast Communication Networks. Version 2 CSE IIT, Kharagpur

Introduction to Ethernet

Fast Ethernet and Gigabit Ethernet. Networks: Fast Ethernet 1

2. What is the maximum value of each octet in an IP address? A. 128 B. 255 C. 256 D. None of the above

Fast Ethernet and Gigabit Ethernet. Computer Networks: Fast and Gigabit Ethernet

TCOM 370 NOTES LOCAL AREA NETWORKS AND THE ALOHA PROTOCOL

Computer Networks. Definition of LAN. Connection of Network. Key Points of LAN. Lecture 06 Connecting Networks

ESSENTIALS. Understanding Ethernet Switches and Routers. April 2011 VOLUME 3 ISSUE 1 A TECHNICAL SUPPLEMENT TO CONTROL NETWORK

Level 2 Routing: LAN Bridges and Switches

Network Design. Yiannos Mylonas

EECS 122: Introduction to Computer Networks Multiaccess Protocols. ISO OSI Reference Model for Layers

Controlled Random Access Methods

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

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

CSMA/CA. Information Networks p. 1

Computer Network. Interconnected collection of autonomous computers that are able to exchange information

Data Link Layer. Page 1. Ethernet

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

DATA COMMUNICATION AND NETWORKS

LAN Switching Computer Networking. Switched Network Advantages. Hubs (more) Hubs. Bridges/Switches, , PPP. Interconnecting LANs

RTT 60.5 msec receiver window size: 32 KB

Unit of Learning # 2 The Physical Layer. Sergio Guíñez Molinos sguinez@utalca.cl

High Speed Ethernet. Dr. Sanjay P. Ahuja, Ph.D. Professor School of Computing, UNF

Ring Local Area Network. Ring LANs

Overview of Network Hardware and Software. CS158a Chris Pollett Jan 29, 2007.

CSE331: Introduction to Networks and Security. Lecture 6 Fall 2006

11/22/

Tutorial.

Local-Area Network -LAN

Ethernet, VLAN, Ethernet Carrier Grade

Data Communication and Computer Network

Transport Layer Protocols

Computer Networks. By Hardeep Singh

What You Will Learn About. Computers Are Your Future. Chapter 8. Networks: Communicating and Sharing Resources. Network Fundamentals

CS263: Wireless Communications and Sensor Networks

Random Access Protocols

IT Data Communication and Networks (Optional)

COMPUTER NETWORKS - LAN Interconnection

Lecture 6 Types of Computer Networks and their Topologies Three important groups of computer networks: LAN, MAN, WAN

Wireless LAN Concepts

Communication Networks. MAP-TELE 2011/12 José Ruela

Chapter 9A. Network Definition. The Uses of a Network. Network Basics

Final Exam. Route Computation: One reason why link state routing is preferable to distance vector style routing.

CCNA 1: Networking Basics. Cisco Networking Academy Program Version 3.0

Introduction To Computer Networks

Region 10 Videoconference Network (R10VN)

Written examination in Computer Networks

WAN Data Link Protocols

Network Categories. Network Types for the Local Range. Ethernet

Wide Area Networks. Learning Objectives. LAN and WAN. School of Business Eastern Illinois University. (Week 11, Thursday 3/22/2007)

NETWORKING TECHNOLOGIES

The OSI and TCP/IP Models. Lesson 2

LAN / WAN Technologies

Mathatma Gandhi University

IP Networking. Overview. Networks Impact Daily Life. IP Networking - Part 1. How Networks Impact Daily Life. How Networks Impact Daily Life

Networks. The two main network types are: Peer networks

How To Communicate With A Token Ring Network (Dihon)

Cabling LANs and WANs

How To Understand The Layered Architecture Of A Network

EXAMPLES AND PROBLEMS. Competence Based Education Internet Protocols

Performance Evaluation of Wired and Wireless Local Area Networks

Chapter 2 - The TCP/IP and OSI Networking Models

CSE 123A Computer Networks

INTRODUCTION TO 100BASE-T: FAST (AND FASTER) ETHERNET

Wiereless LAN

Module 15: Network Structures


Multiplexing. Multiplexing is the set of techniques that allows the simultaneous transmission of multiple signals across a single physical medium.

CCNA R&S: Introduction to Networks. Chapter 5: Ethernet

Industrial Networks & Databases. Protocols and Networks - Device Bus - - Field Bus -

Protocols and Architecture. Protocol Architecture.

Introduction to Optical Networks

Operating System Concepts. Operating System 資 訊 工 程 學 系 袁 賢 銘 老 師

Chapter 14: Distributed Operating Systems

What is CSG150 about? Fundamentals of Computer Networking. Course Outline. Lecture 1 Outline. Guevara Noubir noubir@ccs.neu.

LAN Switching and VLANs

Objectives. Lecture 4. How do computers communicate? How do computers communicate? Local asynchronous communication. How do computers communicate?

FIREWALLS & NETWORK SECURITY with Intrusion Detection and VPNs, 2 nd ed. Chapter 2 An Introduction to Networking

Network Security. Vorlesung Kommunikation und Netze SS 10 E. Nett

The Telephone Network. An Engineering Approach to Computer Networking

524 Computer Networks

Attenuation (amplitude of the wave loses strength thereby the signal power) Refraction Reflection Shadowing Scattering Diffraction

Network Categories. Network Types for the Local Range. Ethernet. Carrier Sense Multiple Access

Direct Link Networks. Introduction. Physical Properties. Lecture - Ethernet 1. Areas for Discussion. Ethernet (Section 2.6)

Future Stars. Grade X Manual Chapter 1 Networking and Telecommunication. telecommunication. Telephones, telegrams, radios and televisions help

Gigabit Ethernet: Architectural Design and Issues

EPL 657 Wireless Networks

BCS THE CHARTERED INSTITUTE FOR IT. BCS HIGHER EDUCATION QUALIFICATIONS BCS Level 5 Diploma in IT COMPUTER NETWORKS

Computer Networks Vs. Distributed Systems

Computer Networks: LANs, WANs The Internet

Chapter 4 Connecting to the Internet through an ISP

IT4405 Computer Networks (Compulsory)

Analog vs. Digital Transmission

Note! The problem set consists of two parts: Part I: The problem specifications pages Part II: The answer pages

Telecommunications, Networks, and Wireless Computing

Transcription:

Collision in Star Topology: Case 3 A and D transmitting Collision presence signal E A B C D 1 IEEE 802.3 MAC Frame Format Figure 16.3 Ethernet frame format differs that Length field is used for other purposes, i.e. protocol. Presentation E 2 1

10Base5: 10Mbps, coaxial (thick) cable, bus topology, maximum segment length 500m, segments may be connected with repeaters, up to 4 repeaters between any two stations, up to 2500m network span, and Manchester encoding 10Base2: 10Mbps, coaxial (thin) cable, bus, 200m segments 10Base-T: 10Mps, UTP, star, Manchester, 100m links 10Base-F: 10Mbps, 850 nm fiber, star, On/Off, 2000m links 100-Mbps Ethernet (Fast Ethernet), star topology, 100m links, 200m or 400m network spans, uses full-duplex mode with two physical links between nodes 100BASE-TX uses two STPs or Cat. 5 UTPs 100BASE-FX uses two optical fibers 1Gbit or 10Gbit Ethernet 10GBASE-L (long) : 1310 nm on single-mode fiber, 10 km IEEE 802.3 Specifications Presentation E 3 Taking Turns MAC protocols channel partitioning MAC protocols: share channel efficiently at high load inefficient at low load: delay in channel access, 1/N bandwidth allocated even if only 1 active node! Random access MAC protocols efficient at low load: single node can fully utilize channel high load: collision overhead taking turns protocols look for best of both worlds! d. xuan DataLink Layer 4 2

Taking Turns MAC protocols Polling: master node invites slave nodes to transmit in turn Request to Send, Clear to Send msgs concerns: polling overhead latency single point of failure (master) Token passing: control token passed from one node to next sequentially. token message concerns: token overhead latency single point of failure (token) d. xuan DataLink Layer 5 IEEE 802.5 Token Ring 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. Presentation E 6 3

Token Ring Operation Presenation F 7 Bridges Ability to expand beyond single LAN Bridge connects two identical (or similar) LANs Identical protocols for physical and link layers Minimal processing Router more general purpose Interconnect various LANs and WANs Functioning of bridge Read all frames transmitted on one LAN and accept those address to any station on the other LAN Using MAC protocol for second LAN, retransmit each frame Do the same the other way round Presentation E 8 4

Bridge Operation Figure 15.8 Presentation E 9 Bridge Design Aspects No modification to content or format of frame (for identical LANs) No encapsulation Exact bitwise copy of frame Minimal buffering to meet peak demand Bridging is transparent to stations Appears to all stations on multiple LANs as if they are on one single LAN Collision does not propagate through bridge Contains routing and address intelligence Must be able to tell which frames to pass May be more than one bridge to cross May connect more than two LANs Presentation E 10 5

Bridge Protocol Architecture IEEE 802.1D MAC level: station address is at this level Bridge does not need LLC layer: it is relaying MAC frames Figure 15.9 Presentation E 11 LANs Connected by Bridges Figure 15.10 Alternative routes may be possible Presentation E 12 6

Repeaters, Hubs and Bridges Repeater: a device that restores data and collision signal Hubs: a multi-port repeater with collision detection Both a repeater and a hub are physical devices, i.e. they function at the physical layer a main function to extend the length of LAN and/or resolve wiring problem Bridges: a device that connects two LANs that use identical or similar protocols at physical layer and MAC sublayer Bridge uses MAC sublayer for relaying Transparent bridge: a bridge that connect LANs with identical MAC protocols Translation bridge: a bridge that connects LANs with different MAC protocols Encapsulation bridge: two LANs some distance apart can be connected by two bridges that are in turn connected by communication facilities Presentation E 13 Active central element of star layout Each station connected to hub by two lines (usually two unshielded twisted pairs Transmit and receive Limited distances if high data rate and poor transmission qualities of UTP Optical fiber may be used for larger distances Physically star, logically bus Transmission from any station received by all other stations Hub acts as a repeater When single station transmits, hub repeats signal on outgoing line to each station (that is a header hub; an intermediate hub functions differently) If two stations transmit at the same time, collision Hubs Presentation E 14 7

Shared Medium Bus and Hub Figure 15.13 Presentation E 15 Shared Medium Hub and Layer 2 Switch Figure 15.13 Presentation E 16 8

Layer 2 Switches Incoming frame from particular station switched to appropriate output line Relaying at MAC layer Unused lines can switch other traffic More than one station transmitting at a time Multiplying capacity of LAN No change to attached devices to convert bus LAN or hub LAN to switched LAN, e.g. for Ethernet LAN, each device still uses Ethernet MAC protocol Each device has dedicated capacity equal to original LAN, assuming switch has sufficient capacity to keep up with all devices A layer 2 switch can be thought as a multi-port bridge with each LAN having only one device; a layer 2 switch selectively forwards frames from one LAN port to another. Presentation E 17 Types of Layer 2 Switches Store-and-forward switch Accepts frame on input line Buffers it briefly, Then routes it to appropriate output line Delay between sender and receiver Boosts integrity of network Cut-through switch Takes advantage of destination address appearing at beginning of frame Switch begins repeating frame onto output line as soon as it recognizes destination address Highest possible throughput Risk of propagating bad frames, since switch unable to check CRC prior to retransmission Presentation E 18 9

Ethernet Switches Dedicated Shared d. xuan DataLink Layer 19 Ring and Star Topologies Usage Ring topology Very high speed links over long distances Used in MANs Single link or repeater failure disables network Star topology Uses natural layout of wiring in building Best for short distances High data rates for small number of devices Presentation E 20 10

Choice of topology influenced by: Reliability Expandability Performance Needs considering in context of: Medium Wiring layout Medium access control Choice of medium constrained by: LAN topology Capacity Reliability Types of data supported Environmental scope Choice of Topology and Medium Presentation E 21 Aloha Used in packet radio network When station has frame, it sends Station listens (for maximum round trip time) plus small increment 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) Frame check sequence (as in HDLC) detects error If ACK received, fine. If no ACK received, retransmit. If no ACK after repeated transmissions, give up Each station has to have different retransmission time out. Why? How? Any overlap of frames causes collision Max utilization 18% of channel capacity Presentation E 22 11

Slotted Aloha Time in uniform slots equal to frame transmission time Need central clock (or other sync mechanism) Transmission begins at slot boundary Everything else as in Aloha Frames either miss or overlap totally Max utilization 37% of channel capacity Presentation E 23 Values of P? If n stations waiting to send, at the end of transmission, expected number of stations attempting to transmit is n P If n P > 1 then on average there will be a collision Repeated attempts to transmit almost guaranteeing more collisions, since retries compete with new transmissions Eventually, all stations trying to send Continuous collisions; zero throughput So to void instability n P < 1 for expected peaks of n If heavy load expected, P small However, as P made smaller, stations wait longer At low loads, this gives very long delays Presentation E 24 12

Binary Exponential Backoff In first 10 retransmission attempts, mean value of random delay doubled Value then remains same for 6 further attempts After 16 unsuccessful attempts, station gives up and reports error As congestion increases, stations back off by larger amounts to reduce the probability of collision. 1-persistent algorithm with binary exponential backoff efficient over wide range of loads Low loads, 1-persistence guarantees station can seize channel once idle High loads, at least as stable as other techniques Backoff algorithm gives last-in, first-out effect Stations with few collisions transmit first Presentation E 25 100Mbps Ethernet Specifications Traditional Ethernet half duplex With full-duplex, station can transmit & receive simultaneously Two physical links between nodes: transmission and reception 100-Mbps Ethernet (Fast Ethernet) uses full-duplex mode, theoretical transfer rate 200 Mbps, star topology, 100m links, 200m or 400m network spans 100BASE-TX uses two STPs or Cat. 5 UTPs 100BASE-FX uses two optical fibers 100BASE-T4 uses 4 Cat. 3 (low quality voice-grade) UTP; Taking advantage of large installed base Data stream split into three separate streams; Each with an effective data rate of 33.33 Mbps Presentation E 26 13

10Gbit Ethernet Specifications 1Gbit or 10Gbit Ethernet uses full-duplex mode only Fiber links used 10GBASE-S (short): 850 nm on multimode fiber and up to 300 m 10GBASE-L (long) 1310 nm on single-mode fiber and up to 10 km 10GBASE-E (extended) 1550 nm on single-mode fiber and up to 40 km 10GBASE-LX4: 1310 nm on single-mode or multimode fiber and up to 10 km Wavelength-division multiplexing (WDM) bit stream across four light waves Presentation E 27 14