Local Area Network Overview

Similar documents
ET4254 Communications and Networking 1

Chapter 15 Local Area Network Overview

Chapter 11 in Stallings 10 th Edition

LAN Overview (part 2) Interconnecting LANs - Hubs

CH : 15 LOCAL AREA NETWORK OVERVIEW

LAN Interconnection. different interconnecting devices, many approaches Vasile Dadarlat- Local Area Computer Networks

Computer Networks. Wenzhong Li. Nanjing University

CS343: Data Communication LAN Overview

This Lecture. BUS Computer Facilities Network Management. Information Sharing. Local Area Network

CHAPTER 15 LOCAL AREA NETWORKS ANSWERS TO QUESTIONS

LAN PROTOCOL ARCHITECTURE

More on LANS. LAN Wiring, Interface

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

Data and Computer Communications. Chapter 11 Local Area Network

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

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

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

Part3. Local Area Networks (LAN)

Local Area Network. Review of Lecture 7. Review of Lecture 7. Review of Lecture 7. Review of Lecture 7. Review of Lecture 7.

Internet Architecture and Protocol

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

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

LAN Systems. Bus topology LANs

Chapter 6 Connecting Device

Medium Access Protocols

Introduction. High Speed LANs. Emergence of High-Speed LANs. Characteristics of High Speed LANS. Text ch. 6, High-Speed Networks and

Summary of MAC protocols

Data and Computer Communications

Introduction to LAN Protocols

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

KIBABII UNIVERSITY COLLEGE DEPARTMENT COMPUTER SCIENCE & IT ANSWER ALL QUESTIONS IN SECTION A AND ANY TWO QUESTIONS IN SECTION B

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

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

Local Area Networks (LANs) SMU CSE 5344 /

2. LAN Topologies Gilbert Ndjatou Page 1

IEEE 802 LANs SECTION C

Outline: Connecting Many Computers

CCNA Exploration1 Chapter 7: OSI Data Link Layer

CS610- Computer Network Solved Subjective From Midterm Papers

Computer Networks Principles LAN - Ethernet

Computer Network : Lecture Notes Nepal Engineering College Compiled by: Junior Professor: Daya Ram Budhathoki Nepal Engineering college, Changunarayan

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

Principles behind data link layer services

Chapter 4 NETWORK HARDWARE

Layer 2 functionality bridging and switching

M242 COMPUTER NETWORS AND SECURITY

Test Bank for A Guide to Designing and Implementing Local And Wide Area Networks 2nd Edition by Palmer and Sinclair

Reminder: Datalink Functions Computer Networking. Datalink Architectures

Introduction to LAN Protocols

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 Speed LANs. Range of technologies. Fast and Gigabit Ethernet Fibre Channel High Speed Wireless LANs. CS420/520 Axel Krings Page 2

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

Lesson 1: Network Communications

! 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

Principles behind data link layer services:

Principles behind data link layer services:

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

06/02/2006. Local & Metropolitan Area Networks 1. INTRODUCTION. Why Study Local and Metropolitan Area Networks? ACOE322. Lecture 1 Introduction

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

LANs do not normally operate in isolation. They are connected to one another or to the Internet. To connect LANs, connecting devices are needed.

Chapter 9. Ethernet. Part II

Computer Networks Medium Access Control. Mostafa Salehi Fall 2008

Comp277 Assignment 1 Fall 2011 Due 20 th December 2011 at 11:00am

LAN PROTOCOLS. Beulah A AP/CSE

Data Communication. Introduction of Communication. Data Communication. Elements of Data Communication (Communication Model)

Data Communication. Chapter # 1: Introduction. By: William Stalling

IT 4504 Section 4.0. Network Architectures. 2008, University of Colombo School of Computing 1

Integrating Information Systems: Technology, Strategy, and Organizational Factors

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

Module 16: Distributed System Structures

Data Link Layer, Part 5. Medium Access Control

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

Hubs. twisted pair. hub. 5: DataLink Layer 5-1

Goal and Outline. Computer Networking. What Do We Need? Today s Story Lecture 3: Packet Switched Networks Peter Steenkiste

COMPUTER NETWORKS MODEL QUESTION PAPER WITH SOLUTION. (c) Peer-to-peer processes are processes on two or more devices communicating at a

Functions of physical layer:

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

Local Area Networks CONSYL Introduction to Computer Communications and Networks

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

BROADBAND AND HIGH SPEED NETWORKS

CHAPTER 2 - NETWORK DEVICES

7010INT Data Communications Lecture 7 The Network Layer

Local Area Networks. Ethernet LAN

(Network Programming) Basic Networking Hardware

COMPONENTS OF DATA COMMUNICATION

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

Different network topologies

Prepared by Agha Mohammad Haidari Network Manager ICT Directorate Ministry of Communication & IT

Lecture 05 Chapter 16 High Speed LANs

ECE 333: Introduction to Communication Networks Fall Lecture 19: Medium Access Control VII

Concept Questions Demonstrate your knowledge of these concepts by answering the following questions in the space provided.

Data Transport Networks

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

THE OSI MODEL. Application Presentation Session Transport Network Data-Link Physical. OSI Model. Chapter 1 Review.

Data Link Layer, Part 3 Medium Access Control. Preface

Introduction to Networks and the Internet

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

Lecture 8: Switched Ethernet and Collision Domains

Distributed Queue Dual Bus

Campus Network Design

Transcription:

Local Area Network Overview Chapter 15 CS420/520 Axel Krings Page 1 LAN Applications (1) Personal computer LANs Low cost Limited data rate Back end networks Interconnecting large systems (mainframes and large storage devices) High data rate High speed interface Distributed access Limited distance Limited number of devices CS420/520 Axel Krings Page 2 1

LAN Applications (2) Storage Area Networks Separate network handling storage needs Detaches storage tasks from specific servers Shared storage facility across high-speed network Hard disks, tape libraries, CD arrays Improved client-server storage access Direct storage to storage communication for backup High speed office networks Desktop image processing High capacity local storage Backbone LANs Interconnect low speed local LANs Reliability Capacity Cost CS420/520 Axel Krings Page 3 Storage Area Networks CS420/520 Axel Krings Page 4 2

LAN Architecture Topologies Transmission medium Layout Medium access control CS420/520 Axel Krings Page 5 Topologies Tree Bus Ring Star CS420/520 Axel Krings Page 6 3

LAN Topologies CS420/520 Axel Krings Page 7 Bus and Tree Multipoint medium Transmission propagates throughout medium Heard by all stations Need to identify target station Each station has unique address Full duplex connection between station and tap Allows for transmission and reception Need to regulate transmission To avoid collisions To avoid hogging Data in small blocks - frames Terminator absorbs frames at end of medium CS420/520 Axel Krings Page 8 4

Frame Transmission on Bus LAN CS420/520 Axel Krings Page 9 Ring Topology Repeaters joined by point to point links in closed loop Receive data on one link and retransmit on another Links unidirectional Stations attach to repeaters Data in frames Circulate past all stations Destination recognizes address and copies frame Frame circulates back to source where it is removed Media access control determines when station can insert frame CS420/520 Axel Krings Page 10 5

Frame Transmission Ring LAN CS420/520 Axel Krings Page 11 Star Topology Each station connected directly to central node Usually via two point to point links Central node can broadcast Physical star, logical bus Only one station can transmit at a time Central node can act as frame switch CS420/520 Axel Krings Page 12 6

Choice of Topology Reliability Expandability Performance Needs considering in context of: Medium Wiring layout Access control CS420/520 Axel Krings Page 13 Bus LAN Transmission Media (1) Twisted pair Early LANs used voice grade cable Didn t scale for fast LANs Not used in bus LANs now Baseband coaxial cable Uses digital signalling Original Ethernet CS420/520 Axel Krings Page 14 7

Bus LAN Transmission Media (2) Broadband coaxial cable As in cable TV systems Analog signals at radio frequencies Expensive, hard to install and maintain No longer used in LANs Optical fiber Expensive taps Better alternatives available Not used in bus LANs All hard to work with compared with star topology twisted pair Coaxial baseband still (rarely) used but not often in new installations CS420/520 Axel Krings Page 15 Ring and Star Usage Ring Very high speed links over long distances Single link or repeater failure disables network Star Uses natural layout of wiring in building Best for short distances High data rates for small number of devices CS420/520 Axel Krings Page 16 8

Choice of Medium Constrained by LAN topology Capacity Reliability Types of data supported Environmental scope CS420/520 Axel Krings Page 17 Media Available (1) Voice grade unshielded twisted pair (UTP) Cat 3 Cheap Well understood Use existing telephone wiring in office building Low data rates Shielded twisted pair and baseband coaxial More expensive than UTP but higher data rates Broadband cable Still more expensive and higher data rate CS420/520 Axel Krings Page 18 9

Media Available (2) High performance UTP Cat 5 and above High data rate for small number of devices Switched star topology for large installations Optical fiber Electromagnetic isolation High capacity Small size High cost of components High skill needed to install and maintain Prices are coming down as demand and product range increases CS420/520 Axel Krings Page 19 Protocol Architecture Lower layers of OSI model IEEE 802 reference model Physical Logical link control (LLC) Media access control (MAC) CS420/520 Axel Krings Page 20 10

IEEE 802 v OSI CS420/520 Axel Krings Page 21 802 Layers - Physical Encoding/decoding Preamble generation/removal Bit transmission/reception Transmission medium and topology CS420/520 Axel Krings Page 22 11

802 Layers - Logical Link Control Interface to higher levels Flow and error control CS420/520 Axel Krings Page 23 Logical Link Control Transmission of link level PDUs between two stations Must support multi-access, shared medium Relieved of some link access details by MAC layer Addressing involves specifying source and destination LLC users Referred to as service access points (SAP) Typically higher level protocol CS420/520 Axel Krings Page 24 12

LLC Services Based on HDLC Unacknowledged connectionless service Connection mode service Acknowledged connectionless service CS420/520 Axel Krings Page 25 LLC Protocol Modeled after HDLC Asynchronous balanced mode to support connection mode LLC service (type 2 operation) Unnumbered information PDUs to support Acknowledged connectionless service (type 1) Multiplexing using LSAPs CS420/520 Axel Krings Page 26 13

Media Access Control Assembly of data into frame with address and error detection fields Disassembly of frame Address recognition Error detection Govern access to transmission medium Not found in traditional layer 2 data link control For the same LLC, several MAC options may be available CS420/520 Axel Krings Page 27 LAN Protocols in Context CS420/520 Axel Krings Page 28 14

Media Access Control Where Central Greater control Simple access logic at station Avoids problems of co-ordination Single point of failure Potential bottleneck Distributed How Synchronous Specific capacity dedicated to connection Asynchronous In response to demand CS420/520 Axel Krings Page 29 Asynchronous Systems Round robin Good if many stations have data to transmit over extended period Reservation Good for stream traffic Contention Good for bursty traffic All stations contend for time Distributed Simple to implement Efficient under moderate load Tend to collapse under heavy load CS420/520 Axel Krings Page 30 15

MAC Frame Format MAC layer receives data from LLC layer MAC control Destination MAC address Source MAC address LLS CRC MAC layer detects errors and discards frames LLC optionally retransmits unsuccessful frames CS420/520 Axel Krings Page 31 Generic MAC Frame Format CS420/520 Axel Krings Page 32 16

Bridges Ability to expand beyond single LAN Provide interconnection to other LANs/WANs Use Bridge or router Bridge is simpler Connects similar LANs Identical protocols for physical and link layers Minimal processing Router more general purpose Interconnect various LANs and WANs see later CS420/520 Axel Krings Page 33 Why Bridge? Reliability Performance Security Geography CS420/520 Axel Krings Page 34 17

Functions of a 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 CS420/520 Axel Krings Page 35 Bridge Operation CS420/520 Axel Krings Page 36 18

Bridge Design Aspects No modification to content or format of frame No encapsulation Exact bitwise copy of frame Minimal buffering to meet peak demand 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 Bridging is transparent to stations Appears to all stations on multiple LANs as if they are on one single LAN CS420/520 Axel Krings Page 37 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 Can pass frame over external communication system e.g. WAN link Capture frame Encapsulate it Forward it across link Remove encapsulation and forward over LAN link CS420/520 Axel Krings Page 38 19

Connection of Two LANs CS420/520 Axel Krings Page 39 Fixed Routing Complex large LANs need alternative routes Load balancing Fault tolerance Bridge must decide whether to forward frame Bridge must decide which LAN to forward frame on Routing selected for each source-destination pair of LANs Done in configuration Usually least hop route Only changed when topology changes CS420/520 Axel Krings Page 40 20

Bridges and LANs with Alternative Routes CS420/520 Axel Krings Page 41 Spanning Tree Bridge automatically develops routing table Automatically update in response to changes Frame forwarding Address learning Loop resolution CS420/520 Axel Krings Page 42 21

Frame forwarding Maintain forwarding database for each port List station addresses reached through each port For a frame arriving on port X: Search forwarding database to see if MAC address is listed for any port (except port X) If address not found, forward to all ports (except X) If address listed for port Y, check port Y for blocking or forwarding state Blocking prevents port from receiving or transmitting If not blocked, transmit frame through port Y CS420/520 Axel Krings Page 43 Address Learning Can preload forwarding database Can be learned When frame arrives at port X, it has come form the LAN attached to port X Use the source address to update forwarding database for port X to include that address Timer on each entry in database Each time frame arrives, source address checked against forwarding database CS420/520 Axel Krings Page 44 22

Spanning Tree Algorithm Address learning works for tree layout i.e. no closed loops For any connected graph there is a spanning tree that maintains connectivity but contains no closed loops Each bridge assigned unique identifier Exchange between bridges to establish spanning tree CS420/520 Axel Krings Page 45 Loop of Bridges CS420/520 Axel Krings Page 46 23

Layer 2 and Layer 3 Switches Now many types of devices for interconnecting LANs Beyond bridges and routers Layer 2 switches Layer 3 switches CS420/520 Axel Krings Page 47 Hubs Active central element of star layout Each station connected to hub by two lines Transmit and receive Hub acts as a repeater When single station transmits, hub repeats signal on outgoing line to each station Line consists of two unshielded twisted pairs Limited to about 100 m High data rate and poor transmission qualities of UTP Optical fiber may be used Max about 500 m Physically star, logically bus Transmission from any station received by all other stations If two stations transmit at the same time, collision CS420/520 Axel Krings Page 48 24

Hub Layouts Multiple levels of hubs cascaded Each hub may have a mixture of stations and other hubs attached to from below Fits well with building wiring practices Wiring closet on each floor Hub can be placed in each one Each hub services stations on its floor CS420/520 Axel Krings Page 49 Two Level Star Topology CS420/520 Axel Krings Page 50 25

Buses and Hubs Bus configuration All stations share capacity of bus (e.g. 10Mbps) Only one station transmitting at a time Hub uses star wiring to attach stations to hub Transmission from any station received by hub and retransmitted on all outgoing lines Only one station can transmit at a time Total capacity of LAN is 10 Mbps Improve performance with layer 2 switch CS420/520 Axel Krings Page 51 Shared Medium Bus and Hub CS420/520 Axel Krings Page 52 26

Shared Medium Hub and Layer 2 Switch CS420/520 Axel Krings Page 53 Layer 2 Switches Central hub acts as switch Incoming frame from particular station switched to appropriate output line Unused lines can switch other traffic More than one station transmitting at a time Multiplying capacity of LAN CS420/520 Axel Krings Page 54 27

Layer 2 Switch Benefits No change to attached devices to convert bus LAN or hub LAN to switched LAN For Ethernet LAN, each device uses Ethernet MAC protocol Device has dedicated capacity equal to original LAN Assuming switch has sufficient capacity to keep up with all devices For example if switch can sustain throughput of 20 Mbps, each device appears to have dedicated capacity for either input or output of 10 Mbps Layer 2 switch scales easily Additional devices attached to switch by increasing capacity of layer 2 CS420/520 Axel Krings Page 55 Types of Layer 2 Switch 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 Switch unable to check CRC prior to retransmission CS420/520 Axel Krings Page 56 28

Layer 2 Switch v Bridge Layer 2 switch can be viewed as full-duplex hub Can incorporate logic to function as multiport bridge Bridge frame handling done in software Switch performs address recognition and frame forwarding in hardware Bridge only analyzes and forwards one frame at a time Switch has multiple parallel data paths Can handle multiple frames at a time Bridge uses store-and-forward operation Switch can have cut-through operation Bridge suffered commercially New installations typically include layer 2 switches with bridge functionality rather than bridges CS420/520 Axel Krings Page 57 Problems with Layer 2 Switches (1) As number of devices in building grows, layer 2 switches reveal some inadequacies Broadcast overload Lack of multiple links Set of devices and LANs connected by layer 2 switches have flat address space All users share common MAC broadcast address If any device issues broadcast frame, that frame is delivered to all devices attached to network connected by layer 2 switches and/or bridges In large network, broadcast frames can create big overhead Malfunctioning device can create broadcast storm Numerous broadcast frames clog network CS420/520 Axel Krings Page 58 29

Problems with Layer 2 Switches (2) Current standards for bridge protocols dictate no closed loops Only one path between any two devices Impossible in standards-based implementation to provide multiple paths through multiple switches between devices Limits both performance and reliability. Solution: break up network into subnetworks connected by routers MAC broadcast frame limited to devices and switches contained in single subnetwork IP-based routers employ sophisticated routing algorithms Allow use of multiple paths between subnetworks going through different routers CS420/520 Axel Krings Page 59 Problems with Routers Routers do all IP-level processing in software High-speed LANs and high-performance layer 2 switches pump millions of packets per second Software-based router only able to handle well under a million packets per second Solution: layer 3 switches Implement packet-forwarding logic of router in hardware Two categories Packet by packet Flow based CS420/520 Axel Krings Page 60 30

Packet by Packet or Flow Based Operates in same way as traditional router Order of magnitude increase in performance compared to software-based router Flow-based switch tries to enhance performance by identifying flows of IP packets Same source and destination Done by observing ongoing traffic or using a special flow label in packet header (IPv6) Once flow is identified, predefined route can be established CS420/520 Axel Krings Page 61 Typical Large LAN Organization Thousands to tens of thousands of devices Desktop systems links 10 Mbps to 100 Mbps Into layer 2 switch Wireless LAN connectivity available for mobile users Layer 3 switches at local network's core Form local backbone Interconnected at 1 Gbps Connect to layer 2 switches at 100 Mbps to 1 Gbps Servers connect directly to layer 2 or layer 3 switches at 1 Gbps Lower-cost software-based router provides WAN connection Circles in diagram identify separate LAN subnetworks MAC broadcast frame limited to own subnetwork CS420/520 Axel Krings Page 62 31

Typical Large LAN Organization Diagram CS420/520 Axel Krings Page 63 Summary LAN topologies and media LAN protocol architecture bridges, hubs, layer 2 & 3 switches CS420/520 Axel Krings Page 64 32