• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Chapter6 - LAN Hardware
 

Chapter6 - LAN Hardware

on

  • 1,058 views

 

Statistics

Views

Total Views
1,058
Views on SlideShare
1,058
Embed Views
0

Actions

Likes
0
Downloads
36
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Chapter6 - LAN Hardware Chapter6 - LAN Hardware Presentation Transcript

    • Introduction Necessary to connect LAN to LAN or WAN LAN to LAN connections are often performed with bridge-like device. LAN to WAN connections are usually performed with router. Third device, switch, can be used to interconnect segments of LAN.
    • Local Area Network Hardware
      • Focus on hardware technology
      • Transition from shared media network architectures to hardware based switched network architectures
    • Why Interconnect To connect one division with another. To connect two LANs with different protocols. To connect LAN to Internet. To break LAN into segments to relieve traffic congestion. To provide security between different users.
    • LAN Requirements
      • LAN requires following components 
        • Central wiring concentrator (Hub)
        • Media - cable or wireless
        • NIC - internal or external
        • Other – switch, repeater, etc.
      • NIC drivers - programs that interface between NIC and NOS.
    • LAN Architecture
    • Implications of LAN Technology Choices
      • Choosing particular technology in one LAN technology category has significant implications/limitations on available technology choices in other LAN technology categories
    • Implications of LAN Technology Choices
    • Media Sharing vs. Switched
      • Client/server systems and distributed computing has put increasing demands on LAN infrastructure with demands for amount of data traffic to be transferred
      • One solution to bandwidth problem is to offer higher speed shared media network architectures
    • Media Sharing vs. Switched cont’d
      • LAN switches resolve one at time limitation of shared-media LAN architectures by offering attached workstations access to switching matrix that provided point-to-point connections between any two ports.
      • Each port on LAN switch is dedicated LAN segment with dedicated bandwidth
    • Media Sharing vs. Switched cont’d
      • Limiting factor in switch-based LAN architecture is number of simultaneous point-to-point connections that switch can support.
      • Coming slide contrasts differences in wiring center functionality between media sharing and switch based LAN architecture.
    • Switched LAN Architectures vs. Media-Sharing LAN Architectures Wiring Center Functionality
    • Building Bandwidth Hierarchy with Switched LAN Architecture
    • Workstation Connected to LAN
    •  
    • ADVANTAGES of SWITCHED LAN ARCHITECTURES
      • Switched LAN architecture only change wiring center technology and manner in which workstations set up point to point communication to each other.
      • Installing LAN switch is often easiest alternative chosen when network bandwidth demands exceed current supply.
    • Implementation Scenarios for Switched LAN Architectures
      • Stand-alone workgroup/departmental LAN switches
      • Backbone attached workgroup/departmental LAN switches
      • Backbone/data center switches
        • Switches offer switched connectivity to other workgroup switches, media sharing hubs, and corporate servers that must be accessed by multiple departments/groups
    • Implementation Scenarios for Switched LAN Architectures
    • Network Interface Card
      • NIC - Physical link between client and server PC and media of network
      • NIC have ability to adhere to access methodology (CSMA/CD or token passing) of network architecture
      • Software rules, implemented by NIC, control access to shared network media and are known as media access control (MAC) protocols
    • Network Interface Card, cont’d
      • NIC cards determine network architecture and constituent protocols more than any other component
      • NIC act like mediator or translator
        • Has demands of client/server PC
        • Has network architecture with rules for accessing network media or LAN switch.
    • Technology Analysis
      • Bus into which network adapter card allows different types of cards to be attached in pathway leading to CPU and RAM memory.
      • PCI bus offers clocking signaling and low CPU utilization and seems to be bus of choice for high performance NICs.
    • Technology Analysis, cont’d
      • Important choice related to bus architecture is that network adapter card chosen is compatible with installed bus and takes advantage of data transfer capability bus may offer.
      • Key job of NIC is to transfer data between local PC and shared network media.
    • Technology Analysis, cont’d
      • Hardware related network adapter characteristics that bare on data transfer efficiency are
        • Amount of on board memory
        • Processing power of onboard CPU contained on network adapter card
    • Technology Analysis, cont’d
      • Coming figure summarizes NIC to PC memory data transfer techniques.
      • Techniques are:
        • Programmed I/O
        • Direct Memory Access (DMA)
        • Shared memory
        • Bus mastering DMA
    • Network Interface Cards Data Transfer Methods
    • Technology Analysis, cont’d
      • Only bus mastering DMA data transfer technique leaves system CPU alone to process other applications
      • In bus mastering DMA, CPU on network adapter card manages movement of data directly into PC’s RAM without interrupting system CPU by taking control of PC’s expansion bus
    • Technology Analysis, cont’d
      • Bus mastering DMA on adapter cards requires expansion bus in PC to support being “mastered” by CPU on network adapter card.
      • CPU and operating system must have capability to relinquish control of expansion bus for bus mastering network adapter cards to function correctly
    • Technology Analysis, cont’d
      • NIC must be properly configured to interact successfully with that computer
      • NIC configuration issues:
        • IRQ (Interrupt request) – IRQ must not be used by other device and must be supported by NIC
        • Base I/O port address – defines memory location through which data will flow between NIC and CPU
    • Technology Analysis, cont’d
        • Base Memory Address – Some NICs require base memory address to indicate starting location in computer’s memory to be used by NIC as buffer memory
    • Technology Analysis, cont’d
      • NIC must worry about hardware compatibility in two directions
        • NIC must be compatible with expansion bus into which it will be inserted
        • NIC must be compatible with media of network architecture
      • Some NICs come with interfaces for more than one media type.
      • Jumpers on NIC enable one media type or another
    • Ethernet Media Interfaces
    • Technology Analysis, cont’d
      • Possible for NIC to be connected externally to PC via PC’s parallel port
      • USB NICs communicate with PC at speeds greater than 12 Mbps
        • Actual USB performance depends on number of devices sharing bus
    • Network Interface Card Trends
      • Dual speed cards – 10/100 Ethernet cards feature auto sensing, automatically determine whether traffic is being transmitted and received at 10 or 100 Mbps through single media interface card.
      • Integrated or on board NICs – Build Ethernet NIC onto motherboard
      • Multiport NICS – Ability of PCI bus allows multiport NICs to be manufactured on single card.
    • Network Interface Card Trends, cont’d
      • On-NIC virus protection and security – Some NICS now offer encryption, virus protection, or both
      •    Integrated repeater modules – allow up to seven additional devices to be cascaded from NIC and attached to network via single 10BaseT hub port.
      •    Full duplex mode – Some Ethernet NICs have full duplex capability that can be enabled.
    • Network Interface Card Trends, cont’d
      •   Performance improvements – Mfg of Ethernet NICs implemented fast packet forwarding technology
      • Next packet of information is forwarded as soon as start of frame is detected rather than waiting for previous frame to be totally on network media before beginning transmission of next packet.
    • NIC Drivers
      • Interoperability depends on compatibility between NIC and NOS installed in given computer, and is delivered by network interface card drivers
      • It was to an adapter card vendor ‘s advantage to ship drivers for as many operating systems as possible .
    • Approaches for NIC Drivers
      • Supply drivers that could interact successfully with either NetBIOS or TCP/IP.
      • Emulate adapter interface specifications of market leading network interface cards for which drivers are most commonly available.
    • Multiprotocol NIC Drivers
      • By allowing adapter card vendors to develop one file called IPX.COM which was linked with Novell file called IPX.OBJ through process known as WSGEN, unique drivers could be more easily created and updated.
    • Network Driver Interface Specification (NDIS)
      • NDIS - driver specification offering standard commands for communication between NDIS compliant NOS protocol stacks (NDIS protected driver) and NDIS compliant network adapter card drivers (NDIS MAC drivers).
      • NDIS specifies binding operation managed by protocol manager
      • NDIS specifies standard commands for communication between protocol manager program and protocol or MAC drivers.
    • Open Datalink Interface (ODI)
      • ODI allows users to load several protocol stacks simultaneously for operation with single network adapter card and supports independent development with subsequent linking of protocol drivers and adapter drivers.
    • PCMCIA Drivers
      • When NICs are PCMCIA based, two levels of driver software are required:
        • Drivers to interface to OS and NOS.
        • Drivers to interface PCMCIA controller to PCMCIA card and on client software drivers.
    • PCMCIA Drivers, cont’d
      • PCMCIA version 2.1 has Card and Socket Service (CSS) driver specifications.
      • CSS is split into two logical sub layers:
      • 1. Card services sub layer is hardware independent and interfaces to NOS driver software.
      • 2. Socket services sub layer is written specifically for type of PCMCIA controller included in laptop.
    • PCMCIA Drivers, cont’d
      • If compatible card and socket service (CSS) drivers are not available for particular PC card/controller combination or if amount of memory CSS drivers requires is unacceptable, then lower level drivers known as direct enablers must be configured and installed.
    • LAN Wiring Centers
      • Most common network physical topology employed today is star topology
      • Token ring wiring centers are known as MAUs (Multistation Access Units)
      • Wiring centers for other networks are known as hubs.
      • Hubs and MAUs are multiport digital signal repeaters
    • Hubs
      • Active central element of star layout.
      • When single station transmits, hub repeats signal on outgoing line to each station.
      • Physically star; logically bus.
      • Hubs can be cascaded in hierarchical configuration.
    • Types of Wiring Center Categories Management Hubs Enterprise Hubs Multistation Access Units Stackable Hubs Hubs Repeaters
    • Wiring Center Categories
      • Wiring centers can be separated into three broad categories.
      • 1. Stand-alone hubs - Offers limited number of ports of particular type of network architecture and media.
      • 2. Stackable hubs - add expandability and manageability. Stackable hubs can be linked together to form one larger virtual hub of single type of network architecture and media.
    • Wiring Center Categories, cont’d
      • 3. Enterprise hubs - modular by design and offer chassis based architecture to which variety of different modules can be inserted.
    • Major Categories of Hubs
    • Wiring Center Functional Comparison
    • Repeater
      • Repeater - repeats each bit of digital data that it receives.
      • Repeating action cleans up digital signal by retiming and regenerating signal before passing this repeated data from one attached device or LAN segment to next.
    • Hub
      • Hubs - are subnet of repeaters that allow attachment of single devices rather than LAN segments to each hub port.
      • Terms hub and concentrator or intelligent concentrator are often used interchangeably.
    • Hubs, cont’d Hub interconnects two or more workstations into local area network. When workstation transmits, hub resends data frame out all connecting links. Hub can be managed or unmanaged. managed hub possesses enough processing power that it can be managed from remote location.
    • Multistation Access Unit (MAU)
      • MAU (Multistation Access Unit) is IBM’s name for token ring hub .
      • MAUs offer varying degrees of management capability.
      • Active management MAUs – send alerts to management consoles regarding malfunctioning token ring adapters and forcibly remove misbehaving adapters from ring.
    • Enterprise Hubs
      • Hub allows concentrator to mix cards
      • Cards could be added for connections with Ethernet modules, Token ring adapters, PCs, workstations with FDDI adapters, or dumb asynchronous terminals
      • Additional modules available for some concentrators may allow data traffic to travel to other local LANs via bridge or router add-on modules
    • Enterprise Hubs, cont’d
      • Local network traffic travels through single enterprise hub; ideal location for security modules to be added for either encryption or authorization functionality
    • Hub Management
      • Hub - ideal place for installation of management software to monitor and manage network traffic
      • In stackable and enterprise hubs, two layers of management software may be found
        • 1. Software is supplied by hub vendor. Allows monitoring and management of hub.
        • 2. Hubs - capable of sharing MIS with enterprise network management systems.
    • Hub Management, cont’d
      • Standards that govern network management communication is part of TCP/IP family of protocols, more correctly known as Internet suite of protocols.
      • Network management information is formatted according to simple network management protocol (SNMP)
    • Standards-Based Network Management Communications Protocols
    • LAN Switches
      • LAN switch - seeks to overcome this “one at time” broadcast scheme, which can lead to data collisions, retransmissions, and reduced throughput between high bandwidth demanding devices
      • Switched LAN Architectures vs. Media-Sharing LAN Architectures Wiring Center Functionality
    • LAN Switches, cont’d
      • Many high-end LAN switches support ATM (Asynchronous Transfer Mode), which is type of switching that not only allow previously mentioned LAN architectures to be switched extremely quickly, but also allows similarly quick switching of voice, video, and image traffic
    • Switches, cont’d Switch is combination of hub and bridge. It can interconnect two or more workstations, but like bridge, it observes traffic flow and learns. When frame arrives at switch, switch examines destination address and forwards frame out one necessary connection.
    • Switches, cont’d
      • Workstations that connect to hub are on shared segment.
      • Workstations that connect to switch are on switched segment.
    •  
    • Switches, cont’d Backplane of switch is fast enough to support multiple data transfers at one time. Switch that employs cut-through architecture is passing on frame before entire frame has arrived at switch.
    • Switches, cont’d
      • Multiple workstations connected to switch use dedicated segments. Very efficient way to isolate heavy users from network.
      • Switch can allow simultaneous access to multiple servers, or multiple simultaneous connections to single server.
    •  
    • Full Duplex Switches Full duplex switch allows for simultaneous transmission and reception of data to and from workstation. Full duplex connection helps to eliminate collisions. To support full duplex connection to switch, two sets of wires are necessary - one for receive operation and one for transmit operation.
    • Types of Switches – Cut Through Switch
      • Cut through switches - read only address information in MAC layer head before beginning processing.
      • After reading destination address, switch consults an address look up table to determine which port on switch this frame should be forwarded to.
      • Once address look up is completed, point-to-point connection is created and frame is immediately forwarded.
    • Types of Switches - Store and Forward
      • Store and Forward switches – read entire frame into shared memory area in switch.
      • Contents of transmitted Frame Check Sequence (FCS) field is read and compared to locally recalculated frame check sequence.
      • If results match, switch consults address look up table, builds appropriate point-to-point connection, and forwards frame.
    • Types of Switches - Error free cut through switches
      • Error free cut through switches – read both addresses and frame check sequences for every frame.
      • Frames are forwarded immediately to destination nodes in an identical fashion to cut through switches.
    • Types of Switches - Error free cut through switches, cont’d
      • Should bad frames be forwarded, error free cut through switch is able to reconfigure those individual ports producing bad frames to use store and forward switching.
      • As errors diminish to preset thresholds, port is set back to cut through switching for higher performance throughput.
    • Ethernet Hubs and Switches
      • Shared medium hubs
      • Switched LAN hubs
      x
    • Advantages of Switched Hubs
      • No modifications needed to workstations when replacing shared-medium hub
      • Each device has dedicated capacity equivalent to entire LAN
      • Easy to attach additional devices to network
    • Types of Switched Hubs
      • Store and forward switch
        • Accepts frame on input line
        • Buffers it briefly
        • Routes it to appropriate output line
      • Cut-through switch
        • Begins repeating frame as soon as it recognizes destination MAC address
        • Higher throughput, increased chance of error
    • Layer 3 Switches
      • Problems With Layer 2 Switches
        • Broadcast overload
        • Lack of multiple links
        • Can be solved with subnetworks connected by routers
      • Layer 3 switches implement packet-forwarding logic of router in hardware.
    • More on Switches
      • Circuit-switched
      • Packet-switched
    • Circuit-Switching
      • Definition: Communication in which dedicated communications path is established between two devices through one or more intermediate switching nodes
      • Dominant in both voice and data communications today
        • e.g. PSTN is circuit-switched network
      • Relatively inefficient (100% dedication even without 100% utilization)
    • Circuit-Switching Stages
      • Circuit establishment
      • Transfer of information
        • point-to-point from endpoints to node
        • internal switching/multiplexing among nodes
      • Circuit disconnect
    • Circuit Establishment
      • Station requests connection from node
      • Node determines best route, sends message to next link
      • Each subsequent node continues establishment of path
      • Once nodes have established connection, test message is sent to determine if receiver is ready/able to accept message
    • Information Transfer
      • Point-to-point transfer from source to node
      • Internal switching and multiplexed transfer from node to node
      • Point-to-point transfer from node to receiver
      • Usually full-duplex connection throughout
    • Circuit Disconnect
      • When transfer is complete, one station initiates termination
      • Signals must be propagated to all nodes used in transit in order to free up resources
    • Public Switched Telephone Network (PSTN)
      • Subscribers
      • Local loop
        • Connects subscriber to local telco exchange
      • Exchanges
        • Telco switching centers
        • Also known as end office
      • Trunks
        • Connections between exchanges
        • Carry multiple voice circuits using FDM or synchronous TDM
        • Managed by IXCs (inter-exchange carriers)
    • Digital Circuit-Switching Node
    • Circuit Switching Node: Digital Switch
      • Provides transparent signal path between any pair of attached devices
      • Typically full-duplex
    • Circuit-Switching Node: Network Interface
      • Provides hardware and functions to connect digital devices to switch
      • Analog devices can be connected if interface includes CODEC functions
      • Typically full-duplex
    • Circuit-Switching Node: Control Unit
      • Establishes on-demand connections
      • Maintains connection while needed
      • Breaks down connection on completion
    • Blocking/Nonblocking Networks
      • Blocking: network is unable to connect two stations because all possible paths are already in use
      • Nonblocking: permits all possible connection requests because any two stations can be connected
    • Switching Techniques
      • Space-Division Switching
        • Developed for analog environment, but has been carried over into digital communication
        • Requires separate physical paths for each signal connection
      • Time-Division Switching
        • Used in digital transmission
        • Utilizes multiplexing to place all signals onto common transmission path
        • Bus must have higher data rate than individual I/O lines
    • Routing in Circuit-Switched Networks
      • Requires balancing efficiency and resiliency
      • Traditional circuit-switched model is hierarchical, sometimes supplemented with peer-to-peer trunks
      • Newer circuit-switched networks are dynamically routed: all nodes are peer-to-peer, making routing more complex
    • Alternate Routing
      • Possible routes between two end offices are predefined
      • Originating switch selects best route for each call
      • Routing paths can be fixed (1 route) or dynamic (multiple routes, selected based on current and historical traffic)
    • Control Signaling
      • Manage establishment, maintenance, and termination of signal paths
      • Includes signaling from subscriber to network, and signals within network
      • In-channel signaling uses same channel for control signals and calls
      • Common-channel signaling uses independent channels for controls (SS7)
    • ISDN
      • 1st generation: narrowband ISDN
        • Basic Rate Interface (BRI)
        • Two 64Kbps bearer channels + 16Kbps data channel (2B+D) = 144 Kbps
        • Circuit-switched
      • 2nd generation: broadband ISDN (B-ISDN)
        • Primary Rate Interface (PRI)
        • Twenty-three 64Kbps bearer channels + 64 data channel (23B+D) = 1.536 Mbps
        • Packet-switched network
        • Development effort led to ATM/cell relay
    • Packet-Switching Networks
      • Includes X.25, ISDN, ATM and frame-relay technologies
      • Data is broken into packets, each of which can be routed separately
      • Advantages: better line efficiency, signals can always be routed, prioritization option
      • Disadvantages: transmission delay in nodes, variable delays can cause jitter, extra overhead for packet addresses
    • Packet-Switching Techniques
      • Datagram
        • each packet treated independently and referred to as datagram
        • packets may take different routes, arrive out of sequence
      • Virtual Circuit
        • preplanned route established for all packets
        • similar to circuit switching, but circuit is not dedicated
    • Packet-Switched Routing
      • Adaptive routing changes based on network conditions
      • Factors influencing routing are failure and congestion
      • Nodes must exchange information on network status
      • Tradeoff between quality and amount of overhead
    • Packet-Switched Congestion Control
      • When line utilization is >80%, queue length grows too quickly
      • Congestion control limits queue length to avoid throughput problems
      • Status information exchanged among nodes
      • Control signals regulate data flow using interface protocols (usually X.25)
    • X.25 Interface Standard
      • ITU-T standard for interface between host and packet-switched network
      • Physical level handles physical connection between host and link to node
        • Technically X.21, but other standards can be substituted, including RS-232
      • Link level provides for reliable data transfer
        • Uses LAPB, which is subset of HDLC
      • Packet level provides virtual circuits between subscribers
    • Virtual-Circuit Service
      • External virtual circuit: logical connection between two stations on network
      • Internal virtual circuit: specific preplanned route through network
      • X.25 usually has 1:1 relationship between external and internal circuits
      • In some cases, X.25 can be implemented as packet-switched network
    • Bridges
      • Allow connections between LANs and WANs
      • Operates at Layer 2 (Data Link Layer) of OSI
      • Used between networks using identical physical and link layer protocols
      • Provide number of advantages
        • Reliability: Creates self-contained units
        • Performance: Less contention
        • Security: Not all data broadcast to all users
        • Geography: Allows long-distance links
    • Bridge Functions
      • Read all frames from each network
      • Accept frames from sender on one network that are addressed to receiver on other network
      • Retransmit frames from sender using MAC protocol for receiver
      • Must have some routing information stored in order to know which frames to pass
    • Bridges Bridge (or bridge-like device) can be used to connect two similar LANs, such as two CSMA/CD LANs. Bridge can connect two closely similar LANs, such as CSMA/CD LAN and token ring LAN.
    • Bridges, cont’d
      • Bridge examines destination address in frame and either forwards this frame onto next LAN or does not.
      • Bridge examines source address in frame and places this address in routing table, to be used for future routing decisions.
    • Bridge Interconnecting
    • Bridge – Similar LANs
    • Bridge Operation
    • Transparent Bridges Transparent bridge does not need programming but observes all traffic and builds routing tables from this observation. This observation is called backward learning. Each bridge has two connections (ports) and there is routing table associated with each port.
    • Transparent Bridges, cont’d
      • Bridge observes each frame that arrives at port, extracts source address from frame, and places that address in port’s routing table.
      • Transparent bridge is CSMA/CD LANs.
    • Bridge – CSMA/CD LANs
    • Transparent Bridge Transparent bridge can also convert one frame format to another. Note that some people/manufacturers call bridge such as this gateway or sometimes router. Bridge removes headers and trailers from one frame format and inserts (encapsulates) headers and trailers for second frame format.
    • Data Frame – CSMA/CD to Token
    • Source-Routing Bridge Source-routing bridge used with token ring networks. Source-routing bridges do not learn from watching tables. When workstation wants to send frame, it must know exact path of network / bridge …
    • Source-Routing Bridge, cont’d
      • If workstation does not know exact path, it sends out discovery frame.
      • Discovery frame makes its way to final destination, as it returns, it records path.
    • Remote Bridge Remote bridge is capable of passing data frame from LAN to LAN when LANs are separated by long distance and there is WAN connecting two LANs. Remote bridge takes frame before it leaves first LAN and encapsulates WAN headers and trailers. When packet arrives at destination remote bridge, bridge removes WAN headers and trailers leaving original frame.
    • LAN with Frame Relay Network
    • Routers Device that connects LAN to WAN or WAN to WAN. Router accepts an outgoing packet, removes any LAN headers and trailers, and encapsulates necessary WAN headers and trailers.
    • Routers, cont’d Because router has to make WAN routing decisions, router has to dig down into network layer of packet to retrieve network destination address. Routers operate at third layer, or OSI network layer, of packet. Routers often incorporate firewall functions.
    • Asynchronous Transfer Mode
      • Connection oriented switched transmission methodology
      • ATM characteristics is capability of delivering variety of traffic over both local and wide area networks
      • ATM has fixed length 53-byte cell
      • Uniform length allows timed, dependable delivery for streaming traffic (voice, video), and simplifies troubleshooting, administration, setup, and design
    • Migration Strategies to ATM
      • IP over ATM – Known as classical IP, adapts CP/IP protocol stack to employ ATM services as native transport protocol directly
      • LAN emulation - allows all current upper layer LAN protocols to be transported by ATM services in an unmodified fashion. Provides translation between ATM addressing scheme and scheme native to particular emulated LAN.
    • Migration Strategies to ATM, cont’d
      • Multi-Protocol Over ATM (MPOA), provides support for multiple local area network protocols running on top of ATM cell switched network
    • ATM Implementation