Communication System Chapter 9

Embed Size (px)

Citation preview

  • 7/29/2019 Communication System Chapter 9

    1/37

    2007 Cisco Systems, Inc. All rights reserved. Cisco Public 1Version 4.0

    Ethernet

    Network Fundamentals

    Chapter 9

  • 7/29/2019 Communication System Chapter 9

    2/37

    2 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Objectives Identify the basic characteristics of network media used in

    Ethernet.

    Describe the physical and data link features of Ethernet.

    Describe the function and characteristics of the media accesscontrol method used by Ethernet protocol.

    Explain the importance of Layer 2 addressing used for datatransmission and determine how the different types ofaddressing impacts network operation and performance.

    Compare and contrast the application and benefits of using

    Ethernet switches in a LAN as apposed to using hubs.

    Explain the ARP process.

  • 7/29/2019 Communication System Chapter 9

    3/37

    3 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Physical and Data Link Features of Ethernet

  • 7/29/2019 Communication System Chapter 9

    4/37

    4 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Physical and Data Link Features of Ethernet

  • 7/29/2019 Communication System Chapter 9

    5/37

    5 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Ethernet: Layer 1 and Layer 2

    Ethernet defines these Layer 1 elements:

    Signals

    Bit streams

    Physical component

    Various topologies

    At data link layer addresses these requirements:

    Provides interface

    Provides address

    Uses frames to organize bits into meaningful groups

    Controls transmission of data from sources

  • 7/29/2019 Communication System Chapter 9

    6/37

    6 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Physical and Data Link Features of Ethernet Logic Link Control Connecting the Upper Layers

  • 7/29/2019 Communication System Chapter 9

    7/377 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Physical and Data Link Features of Ethernet Media Access Control (MAC)

  • 7/29/2019 Communication System Chapter 9

    8/378 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Physical and Data Link Features of Ethernet

    Physical Implementations of the Ethernet

  • 7/29/2019 Communication System Chapter 9

    9/379 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Why Ethernet is successful?

    Simple and easy to maintain

    Ability to incorporate to new technology

    Reliable

    Low cost

  • 7/29/2019 Communication System Chapter 9

    10/3710 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Characteristics of Network Media used in Ethernet

    Historic Ethernet:1. Coaxial cable2. Bus topology3. CSMA/CD4. Thicknet (10BASE5) and

    Thinnet (10BASE2)

    Legacy Ethernet:1. 10BASET2. Star with hub as central

    point

    3. CSMA/CD4. Half duplex

  • 7/29/2019 Communication System Chapter 9

    11/3711 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Current Ethernet

    10Mbps and 100Mbps

    Physical star with switch in the middle or P2P

  • 7/29/2019 Communication System Chapter 9

    12/3712 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Moving to 1Gbps and beyond

    UTP full duplex

    Increased cabling distance

  • 7/29/2019 Communication System Chapter 9

    13/3713 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Layer 2 Addressing and Its Impact on NetworkOperation and Performance

  • 7/29/2019 Communication System Chapter 9

    14/3714 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Layer 2 Addressing and Its Impact on NetworkOperation and Performance

    Hexadecimal Numbering and Addressing

  • 7/29/2019 Communication System Chapter 9

    15/3715 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Another layer of addressing

    Layer 2

    Enables packet tobe carried by thelocal media

    across eachsegment

    Physical address

    Layer 3

    Enables packet tobe forwardedtoward itsdestination

    Logical address

  • 7/29/2019 Communication System Chapter 9

    16/3716 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Layer 2 Addressing and Its Impact on NetworkOperation and Performance

    The Ethernet MAC Address

  • 7/29/2019 Communication System Chapter 9

    17/3717 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Ethernet Unicast, Multicast and Broadcast

  • 7/29/2019 Communication System Chapter 9

    18/3718 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Carrier Sense Multiple Access with Collision Detection

    Collision happens in shared medium

  • 7/29/2019 Communication System Chapter 9

    19/3719 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Carrier Sense Multiple Access with Collision Detection

    Steps in CSMA/CD: Listen before sending

    Detecting a collision

    Jam signal and random backoff

  • 7/29/2019 Communication System Chapter 9

    20/3720 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Hubs and collision domains

    Conditions that cause collisions:

    More devices connected to the network

    More frequent access to media

    Increased cable distances between devices

    Hubs does not operate in higher level network, socollision occurs

  • 7/29/2019 Communication System Chapter 9

    21/3721 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Ethernet Timing

    Preamble: timing synchronization information

    Timing information is not required in synchronizecommunication

  • 7/29/2019 Communication System Chapter 9

    22/3722 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Ethernet timing

    Bit time = period of time required for a bit to be placedand sensed on media

    Slot time

    How many devices can share a network

    Used to establish minimum size of Ethernet frame and limiton maximum size of networks segment

    Includes time it takes to travel through cables and hubs

  • 7/29/2019 Communication System Chapter 9

    23/3723 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Interframe spacing and backoff

    Interframe spacing

    Minimum spacing between 2 noncolliding frames

    To give media time to stabilize after transmission of

    previous frame for the device to process frame

    Jam signal length

    32 bit jam signal that will enforce collision

    Repeating 1010 pattern

    Backoff timing

    Waiting period after collision

    Random so that 2 stations do not delay for same amounntof time before transmitting

  • 7/29/2019 Communication System Chapter 9

    24/37

    24 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    4 different data rates 10Mbps

    10BASE-T Ethernet

    Physical star

    Manchester encoding

    100Mbps

    Fast Ethernet

    Implemented using UTP or fiber

    100BASE-TX AND 100BASE-FX

    1000Mbps

    Gigabit Ethernet Signals occurring in less time

    1000BASE-T, 1000BASE-SX and 1000BASE-LX

    10Gbps

    10Gigabit Ethernet

    CSMA/CD not necessary

  • 7/29/2019 Communication System Chapter 9

    25/37

    25 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Compare and Contrast the Use of Ethernet Switchesversus Hubs in a LAN

    Using Hubs Does not perform filtering

    Share bandwidth of media

    High level of collisions

    Issues: Lack of scalability

    Increase latency

    More network failure

    More collisions

  • 7/29/2019 Communication System Chapter 9

    26/37

    26 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Compare and Contrast the Use of Ethernet Switchesversus Hubs in a LAN

    Using Switches Allow segmentation of LAN into separate collision domains

    Throughput increases because:

    Dedicated bandwidth to each port

    Collision free environment Full duplex environment

  • 7/29/2019 Communication System Chapter 9

    27/37

    27 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Compare and Contrast the Use of Ethernet Switchesversus Hubs in a LAN

    Describe how a switch can eliminate collisions,backoffs and retransmissions, the leading factors inreduced throughput on a hub-based Ethernet network

  • 7/29/2019 Communication System Chapter 9

    28/37

    28 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Why not using switches instead of hubs?

    Availability

    Economics

    Requirements

  • 7/29/2019 Communication System Chapter 9

    29/37

    29 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Switch

    MAC table: maps destination MAC address with portsused to connect to each node

    MAC table = switch table = bridge table

    Bridge: device used in early days to connect to physicalnetwork segments.

    Operations:

    Learning

    Aging

    Flooding

    Selective forwarding

    Filtering

  • 7/29/2019 Communication System Chapter 9

    30/37

    30 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Address Resolution Protocol (ARP)

    2 functions

    Resolving IPv4 address to MAC

    Maintaining a cache of mappings

  • 7/29/2019 Communication System Chapter 9

    31/37

    31 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Explain the Address Resolution Protocol (ARP) Process

    Mapping IP to MAC Addresses

  • 7/29/2019 Communication System Chapter 9

    32/37

    32 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Maintaining a cache of mappings

    Different process is required to provide IP to MACaddress:

    Adding entries to ARP table

    Getting the map for a frame

    Mapping destination outside local network

    Removing address mappings

  • 7/29/2019 Communication System Chapter 9

    33/37

    33 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Explain the Address Resolution Protocol (ARP) ProcessARP Destinations Outside the Local Network

  • 7/29/2019 Communication System Chapter 9

    34/37

    34 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Explain the Address Resolution Protocol (ARP) ProcessARP Removing Address Mappings

  • 7/29/2019 Communication System Chapter 9

    35/37

    35 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Explain the Address Resolution Protocol (ARP) ProcessARP Broadcasts - Issues

  • 7/29/2019 Communication System Chapter 9

    36/37

    36 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Summary

  • 7/29/2019 Communication System Chapter 9

    37/37