Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 15 – Local Area Network Overview.

Slides:



Advertisements
Similar presentations
1 UNIT I (Contd..) High-Speed LANs. 2 Introduction Fast Ethernet and Gigabit Ethernet Fast Ethernet and Gigabit Ethernet Fibre Channel Fibre Channel High-speed.
Advertisements

Data and Computer Communications
William Stallings Data and Computer Communications 7th Edition
William Stallings Data and Computer Communications 7th Edition
Topic 7 Local Area Networks (LAN)
Internetworking Pertemuan 07 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.
1 Pertemuan 17 Jaringan LAN (Local Area Network) Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
CSCI 465 D ata Communications and Networks Lecture 20 Martin van Bommel CSCI 465 Data Communications & Networks 1.
Data and Computer Communications Tenth Edition by William Stallings Data and Computer Communications, Tenth Edition by William Stallings, (c) Pearson Education.
Data and Computer Communications Chapter 15 – Local Area Network Overview.
Chapter 9 Local Area Network Technology
LAN Protocol Architecture
William Stallings Data and Computer Communications 7 th Edition (Selected slides used for lectures at Bina Nusantara University) Internetworking.
Chapter 8: Local Area Networks: Internetworking. 2 Objectives List the reasons for interconnecting multiple local area network segments and interconnecting.
1 Pertemuan 21 Internetworking Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
LAN Technology EE3900 Computer Networks LAN Technology Slide 1.
Local Area Network Lesson 7 NETS2150/2850.
Chapter 14: Local Area Network Technology Business Data Communications, 4e.
Data Communications and Networking
TDC 461 Basic Communications Systems Local Area Networks 29 May, 2001.
EE 4272Spring, 2003 Chapter 13. Local Area Network Technology LAN Applications LAN Architecture  Protocol Architecture  Topologies  MAC Bus LANs Ring.
EE 4272Spring, 2003 Chapter 14 LAN Systems Ethernet (CSMA/CD)  ALOHA  Slotted ALOHA  CSMA  CSMA/CD Token Ring /FDDI Fiber Channel  Fiber Channel Protocol.
Chapter 10: Ethernet and Fibre Cable
EEE449 Computer Networks Local Area Network (LAN).
Review on Networking Technologies Linda Wu (CMPT )
1 Chapter 8 Local Area Networks - Internetworking Data Communications and Computer Networks: A Business User’s Approach.
1 Data Communications Lecture 9 Local Area Network Technology.
1 K. Salah Module 4.3: Repeaters, Bridges, & Switches Repeater Hub NIC Bridges Switches VLANs GbE.
1 25\10\2010 Unit-V Connecting LANs Unit – 5 Connecting DevicesConnecting Devices Backbone NetworksBackbone Networks Virtual LANsVirtual LANs.
DataLink Layer1 Ethernet Technologies: 10Base2 10: 10Mbps; 2: 200 meters (actual is 185m) max distance between any two nodes without repeaters thin coaxial.
Connecting LANs, Backbone Networks, and Virtual LANs
Computer Communications and Networking (CCN)
Chapter 6 High-Speed LANs Chapter 6 High-Speed LANs.
LAN Overview (part 2) CSE 3213 Fall April 2017.
Business Data Communications, 6e
Sistem Jaringan dan Komunikasi Data #6. LAN Architecture  topologies  transmission medium  layout  medium access control.
Communication Networks
LECTURE 9 CT1303 LAN. LAN DEVICES Network: Nodes: Service units: PC Interface processing Modules: it doesn’t generate data, but just it process it and.
20 LAN Hardware Overview Version A.01 H3065S Module 2 Slides.
1 Network Equipment Technologies Network Equipment Technologies.
CSC 336 Data Communications and Networking Lecture 7d: Interconnecting LAN Dr. Cheer-Sun Yang Spring 2001.
Chapter 2 Communications Networks. Introduction Look at: –Telephony Networks (2.2) –OSI Reference Model(2.3) –The Internet (2.4) –Asynchronous Transfer.
Chapter 8 Local Area Networks: Internetworking Data Communications and Computer Networks: A Business User’s Approach.
Ch. 11 LAN Overview. Definition of a LAN A communication network that provides interconnection of a variety of data communicating devices within a small.
CSCI 465 D ata Communications and Networks Lecture 19 Martin van Bommel CSCI 465 Data Communications & Networks 1.
10/14/2015 2:14 AM1 LAN Overview (5.1) CSE 3213 Fall 2011.
Ch. 15 LAN Overview. Definition of a LAN A communication network that provides interconnection of a variety of data communicating devices within a small.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 15 – Local Area Network Overview.
Data and Computer Communications
Faculty of Sciences and Social Sciences HOPE Local Area Network Overview Part 1 of 2 Dr. Jia Hu FML ???? Stewart.
Chapter 6 – Connectivity Devices
Module 8: Ethernet Switching
Chapter 14: Local Area Network Technology Business Data Communications, 4e.
Topic 8 – LAN Fundamentals 1 FIT1005 FIT – Monash University Topic 8 Local Area Network (LAN) Fundamentals Reference: Stallings Ch 15 7E, Ch 13 6E.
15.1 Chapter 15 Connecting LANs, Backbone Networks, and Virtual LANs Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or.
Sem1 - Module 8 Ethernet Switching. Shared media environments Shared media environment: –Occurs when multiple hosts have access to the same medium. –For.
By: M.Nadeem Akhtar1 Data Communication Ch 10. By: M.Nadeem Akhtar2 Networks?  LAN  MAN  WAN.
Data and Computer Communications Ninth Edition by William Stallings Data and Computer Communications, Ninth Edition by William Stallings, (c) Pearson Education.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Connecting Devices CORPORATE INSTITUTE OF SCIENCE & TECHNOLOGY, BHOPAL Department of Electronics and.
Data Communications & Computer Networks, Second Edition1 Chapter 8 Local Area Networks: Internetworking.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 15 – Local Area Network Overview.
Rehab AlFallaj.  Network:  Nodes: Service units: PC Interface processing Modules: it doesn’t generate data, but just it process it and do specific task.
Local Area Networks: Monil Adhikari. Primary Function of a LAN File serving – large storage disk drive acts as a central storage repository Print serving.
5: DataLink Layer 5a-1 Bridges and spanning tree protocol Reference: Mainly Peterson-Davie.
Data and Computer Communications Eighth Edition by William Stallings Chapter 15 – Local Area Network Overview.
Jaringan LAN Pertemuan 04 Matakuliah: H0524/Jaringan Komputer Tahun: 2009.
Networking Devices.
William Stallings Data and Computer Communications
William Stallings Data and Computer Communications 7th Edition
Lecture Protocol & Model Ashis Talukder, MIS, EWU.
Presentation transcript:

Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 15 – Local Area Network Overview

Local Area Network Overview The whole of this operation is described in minute detail in the official British Naval History, and should be studied with its excellent charts by those who are interested in its technical aspect. So complicated is the full story that the lay reader cannot see the wood for the trees. I have endeavored to render intelligible the broad effects. —The World Crisis, Winston Churchill

LAN Applications (1)  personal computer LANs low cost low cost limited data rate limited data rate  back end networks interconnecting large systems (mainframes and large storage devices) interconnecting large systems (mainframes and large storage devices) high data ratehigh data rate high speed interfacehigh speed interface distributed accessdistributed access limited distancelimited distance limited number of deviceslimited number of devices

LAN Applications (2)  storage area networks (SANs) separate network handling storage needs separate network handling storage needs detaches storage tasks from specific servers detaches storage tasks from specific servers shared storage facility shared storage facility eg. hard disks, tape libraries, CD arrayseg. hard disks, tape libraries, CD arrays accessed using a high-speed network accessed using a high-speed network eg. Fibre Channeleg. Fibre Channel improved client-server storage access improved client-server storage access direct storage to storage communication for backup direct storage to storage communication for backup

Storage Area Networks

LAN Applications (3)  high speed office networks desktop image processing desktop image processing high capacity local storage high capacity local storage  backbone LANs interconnect low speed local LANs interconnect low speed local LANs reliability reliability capacity capacity cost cost

LAN Architecture  topologies  transmission medium  layout  medium access control

LAN Topologies

Bus and Tree  used with multipoint medium  transmission propagates throughout medium  heard by all stations  full duplex connection between station and tap allows for transmission and reception allows for transmission and reception  need to regulate transmission to avoid collisions and hogging to avoid collisions and hogging  terminator absorbs frames at end of medium  tree a generalization of bus  headend connected to branching cables

Frame Transmission on Bus LAN

Ring Topology  a closed loop of repeaters joined by point to point links  receive data on one link & retransmit on another links unidirectional links unidirectional stations attach to repeaters stations attach to repeaters  data in frames circulate past all stations circulate past all stations destination recognizes address and copies frame destination recognizes address and copies frame frame circulates back to source where it is removed frame circulates back to source where it is removed  media access control determines when a station can insert frame

Frame Transmission Ring LAN

Star Topology  each station connects to central node usually via two point to point links usually via two point to point links  either central node can broadcast physical star, logical bus physical star, logical bus only one station can transmit at a time only one station can transmit at a time  or central node can act as frame switch

Choice of Topology  reliability  expandability  performance  needs considering in context of: medium medium wiring layout wiring layout access control access control

Bus LAN Transmission Media (1)  twisted pair early LANs used voice grade cable early LANs used voice grade cable didn’t scale for fast LANs didn’t scale for fast LANs not used in bus LANs now not used in bus LANs now  baseband coaxial cable uses digital signalling uses digital signalling original Ethernet original Ethernet

Bus LAN Transmission Media (2)  broadband coaxial cable as in cable TV systems as in cable TV systems analog signals at radio frequencies analog signals at radio frequencies expensive, hard to install and maintain expensive, hard to install and maintain no longer used in LANs no longer used in LANs  optical fiber expensive taps expensive taps better alternatives available better alternatives available not used in bus LANs not used in bus LANs  less convenient compared to star topology twisted pair  coaxial baseband still used but not often in new installations

Ring and Star Usage  ring very high speed links over long distances very high speed links over long distances single link or repeater failure disables network single link or repeater failure disables network  star uses natural layout of wiring in building uses natural layout of wiring in building best for short distances best for short distances high data rates for small number of devices high data rates for small number of devices

Choice of Medium  constrained by LAN topology  capacity  reliability  types of data supported  environmental scope

Media Available  Voice grade unshielded twisted pair (UTP) Cat 3 phone, cheap, low data rates Cat 3 phone, cheap, low data rates  Shielded twisted pair / baseband coaxial more expensive, higher data rates more expensive, higher data rates  Broadband cable even more expensive, higher data rate even more expensive, higher data rate  High performance UTP Cat 5+, very high data rates, witched star topology Cat 5+, very high data rates, witched star topology  Optical fibre security, high capacity, small size, high cost security, high capacity, small size, high cost

LAN Protocol Architecture

IEEE 802 Layers (1)  Physical encoding/decoding of signals encoding/decoding of signals preamble generation/removal preamble generation/removal bit transmission/reception bit transmission/reception transmission medium and topology transmission medium and topology

IEEE 802 Layers (2)  Logical Link Control interface to higher levels interface to higher levels flow and error control flow and error control  Media Access Control on transmit assemble data into frame on transmit assemble data into frame on receive disassemble frame on receive disassemble frame govern access to transmission medium govern access to transmission medium for same LLC, may have several MAC options for same LLC, may have several MAC options

LAN Protocols in Context

Logical Link Control  transmission of link level PDUs between stations  must support multiaccess, shared medium  but MAC layer handles link access details  addressing involves specifying source and destination LLC users referred to as service access points (SAP) referred to as service access points (SAP) typically higher level protocol typically higher level protocol

LLC Services  based on HDLC  unacknowledged connectionless service  connection mode service  acknowledged connectionless service

LLC Protocol  modeled after HDLC  asynchronous balanced mode connection mode (type 2) LLC service connection mode (type 2) LLC service  unacknowledged connectionless service using unnumbered information PDUs (type 1) using unnumbered information PDUs (type 1)  acknowledged connectionless service using 2 new unnumbered PDUs (type 3) using 2 new unnumbered PDUs (type 3)  permits multiplexing using LSAPs

MAC Frame Format

Media Access Control  where central central greater control, single point of failuregreater control, single point of failure distributed distributed more complex, but more redundantmore complex, but more redundant  how synchronous synchronous capacity dedicated to connection, not optimalcapacity dedicated to connection, not optimal asynchronous asynchronous in response to demandin response to demand

Asynchronous Systems  round robin each station given turn to transmit data each station given turn to transmit data  reservation divide medium into slots divide medium into slots good for stream traffic good for stream traffic  contention all stations contend for time all stations contend for time good for bursty traffic good for bursty traffic simple to implement simple to implement tends to collapse under heavy load tends to collapse under heavy load

MAC Frame Handling  MAC layer receives data from LLC layer  fields MAC control MAC control destination MAC address destination MAC address source MAC address source MAC address LLC LLC CRC CRC  MAC layer detects errors and discards frames  LLC optionally retransmits unsuccessful frames

Bridges  connects similar LANs  identical physical / link layer protocols  minimal processing  can map between MAC formats  reasons for use reliability reliability performance performance security security geography geography

Bridge Function

Bridge Design Aspects  no modification to frame content or format  no encapsulation  exact bitwise copy of frame  minimal buffering to meet peak demand  contains routing and address intelligence  may connect more than two LANs  bridging is transparent to stations

Bridge Protocol Architecture  IEEE 802.1D  MAC level  bridge does not need LLC layer  can pass frame over external comms system capture frame capture frame encapsulate it encapsulate it forward it across link forward it across link remove encapsulation and forward over LAN link remove encapsulation and forward over LAN link e.g. WAN link e.g. WAN link

Connection of Two LANs

Bridges and LANs with Alternative Routes

Fixed Routing  complex large LANs need alternative routes for load balancing and fault tolerance for load balancing and fault tolerance  bridge must decide whether to forward frame  bridge must decide LAN to forward frame to  can use fixed routing for each source-destination pair of LANs done in configuration done in configuration usually least hop route usually least hop route only changed when topology changes only changed when topology changes widely used but limited flexibility widely used but limited flexibility

Spanning Tree  bridge automatically develops routing table  automatically updates routing table in response to changes  three mechanisms: frame forwarding frame forwarding address learning address learning loop resolution loop resolution

Frame Forwarding  maintain forwarding database for each port lists station addresses reached through each port lists 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 X search forwarding database to see if MAC address is listed for any port except X if address not found, forward to all ports except 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 if address listed for port Y, check port Y for blocking or forwarding state if not blocked, transmit frame through port Y if not blocked, transmit frame through port Y

Address Learning  can preload forwarding database  when frame arrives at port X, it has come form the LAN attached to port X  use source address to update forwarding database for port X to include that address  have a timer on each entry in database  if timer expires, entry is removed  each time frame arrives, source address checked against forwarding database if present timer is reset and direction recorded if present timer is reset and direction recorded if not present entry is created and timer set if not present entry is created and timer set

Spanning Tree Algorithm  address learning works for tree layout  in general graph have loops  for any connected graph there is a spanning tree maintaining connectivity with no closed loops  IEEE Spanning Tree Algorithm finds this each bridge assigned unique identifier each bridge assigned unique identifier exchange info between bridges to find spanning tree exchange info between bridges to find spanning tree automatically updated whenever topology changes automatically updated whenever topology changes

Loop of Bridges

Interconnecting LANs - Hubs  active central element of star layout  each station connected to hub by two UTP lines  hub acts as a repeater  limited to about 100 m by UTP properties  optical fiber may be used out to 500m  physically star, logically bus  transmission from a station seen by all others  if two stations transmit at the same time have a collision

Two Level Hub Topology

Buses, Hubs and Switches  bus configuration all stations share capacity of bus (e.g. 10Mbps) all stations share capacity of bus (e.g. 10Mbps) only one station transmitting at a time only one station transmitting at a time  hub uses star wiring to attach stations transmission from any station received by hub and retransmitted on all outgoing lines transmission from any station received by hub and retransmitted on all outgoing lines only one station can transmit at a time only one station can transmit at a time total capacity of LAN is 10 Mbps total capacity of LAN is 10 Mbps  can improve performance using a layer 2 switch can switch multiple frames between separate ports can switch multiple frames between separate ports multiplying capacity of LAN multiplying capacity of LAN

Shared Medium Bus and Hub

Layer 2 Switch Benefits  no change to attached devices to convert bus LAN or hub LAN to switched LAN e.g. Ethernet LANs use Ethernet MAC protocol e.g. Ethernet LANs use Ethernet MAC protocol  have dedicated capacity equal to original LAN assuming switch has sufficient capacity to keep up with all devices assuming switch has sufficient capacity to keep up with all devices  scales easily additional devices attached to switch by increasing capacity of layer 2 additional devices attached to switch by increasing capacity of layer 2

Types of Layer 2 Switch  store-and-forward switch accepts frame on input line, buffers briefly, routes to destination port accepts frame on input line, buffers briefly, routes to destination port see delay between sender and receiver see delay between sender and receiver better integrity better integrity  cut-through switch use destination address at beginning of frame use destination address at beginning of frame switch begins repeating frame onto output line as soon as destination address recognized switch begins repeating frame onto output line as soon as destination address recognized highest possible throughput highest possible throughput risk of propagating bad frames risk of propagating bad frames

Layer 2 Switch vs Bridge  Layer 2 switch can be viewed as full-duplex hub  incorporates logic to function as multiport bridge  differences between switches & bridges: bridge frame handling done in software bridge frame handling done in software switch performs frame forwarding in hardware switch performs frame forwarding in hardware bridge analyzes and forwards one frame at a time bridge analyzes and forwards one frame at a time switch can handle multiple frames at a time switch can handle multiple frames at a time bridge uses store-and-forward operation bridge uses store-and-forward operation switch can have cut-through operation switch can have cut-through operation  hence bridge have suffered commercially

Layer 2 Switch Problems  broadcast overload users share common MAC broadcast address users share common MAC broadcast address broadcast frames are delivered to all devices connected by layer 2 switches and/or bridges broadcast frames are delivered to all devices connected by layer 2 switches and/or bridges broadcast frames can create big overhead broadcast frames can create big overhead broadcast storm from malfunctioning devices broadcast storm from malfunctioning devices  lack of multiple links limits performance & reliability limits performance & reliability

Router Problems  typically use subnetworks connected by routers limits broadcasts to single subnet limits broadcasts to single subnet supports multiple paths between subnet supports multiple paths between subnet  routers do all IP-level processing in software high-speed LANs and high-performance layer 2 switches pump millions of packets per second 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 software-based router only able to handle well under a million packets per second

Layer 3 Switches  Solution: layer 3 switches implement packet-forwarding logic of router in hardware implement packet-forwarding logic of router in hardware  two categories packet by packet packet by packet flow based flow based

Packet by Packet or Flow Based  packet by packet operates like a traditional router operates like a traditional router order of magnitude increase in performance compared to software-based router order of magnitude increase in performance compared to software-based router  flow-based switch enhances performance by identifying flows of IP packets with same source and destination enhances performance by identifying flows of IP packets with same source and destination by observing ongoing traffic or using a special flow label in packet header (IPv6) by observing ongoing traffic or using a special flow label in packet header (IPv6) a predefined route is used for identified flows a predefined route is used for identified flows

Typical Large LAN Organization Diagram

Summary  LAN topologies and media  LAN protocol architecture  bridges, hubs, layer 2 & 3 switches