Demo Networking Devices

download Demo Networking Devices

of 26

Transcript of Demo Networking Devices

  • 7/29/2019 Demo Networking Devices

    1/26

    Networking Devices

  • 7/29/2019 Demo Networking Devices

    2/26

    Evolution of LAN Devices

    NICs, Repeaters, & Hubs

    BridgesSwitches

    Routers

  • 7/29/2019 Demo Networking Devices

    3/26

    NIC Specifics

    NICs provide hosts with access tomedia by using a MAC address.

    MAC stands for Media Access Control

    NICs operate at Layer 2 !!

  • 7/29/2019 Demo Networking Devices

    4/26

    NICs, Repeaters, & Hubs

    To connect two computers, you must...

    Install a NIC card in each.

    The First LAN

    NIC

    NIC

    NIC NIC

    Attach computers using a crossover cable

  • 7/29/2019 Demo Networking Devices

    5/26

    NICs, Repeaters, & Hubs

    Repeaters can be usedto increase the distance

    Whats the maximum distancefor Cat 5 cable?00 meters or approx. 300 feet

    So what can we use if this distance

    is greater than 100 meters?

    NIC NIC

    Repeaters amplify and

    retime signals

  • 7/29/2019 Demo Networking Devices

    6/26

    NICs, Repeaters, & Hubs

    NIC NIC

    NIC NIC

    Using repeaters was fine as long as a businessonly needed two computers networked.

    What if a business wanted athird computer attached?

    Or a fourth? What

    device would they need?

  • 7/29/2019 Demo Networking Devices

    7/26

    NICs, Repeaters, & Hubs

    NIC NIC

    NIC NIC

    A multi-port repeater!Also called a...Hub

  • 7/29/2019 Demo Networking Devices

    8/26

    A Dilemma!

    NIC NIC

    NIC NIC

    As businesses expanded theirnetworks, they began tocascade hubs.

  • 7/29/2019 Demo Networking Devices

    9/26

    Whats The Problem?

    1) Hubs share bandwidth between allattached devices.

    2) Hubs are stupid, Layer 1 devices.They cannot filter traffic.

    3) Most LANs use a broadcast topology,

    so every device sees every packetsent down the media.

    Lets take a look at how broadcasting works

  • 7/29/2019 Demo Networking Devices

    10/26

    BroadcastsIn this picture, all hubs forwardall traffic to all devices.

  • 7/29/2019 Demo Networking Devices

    11/26

    So, if Host 1 wants ping Host 2, allhosts see the ping. This is what we

    mean by a broadcast topology

    Broadcasts

    21

    The red arrows show that all hosts receive theping request. Only Host 2 will respond.

  • 7/29/2019 Demo Networking Devices

    12/26

    Whats The Solution?

    We need a smarter hub!

    Whats a smarter hub called?

    A Bridge!

    Bridges filter network traffic based on

    MAC addresses.

    Lets take a look at how this works.

  • 7/29/2019 Demo Networking Devices

    13/26

    BridgeTo lessen the amount of LAN traffic,businesses began to use bridges tofilter frames based on MAC addresses.

  • 7/29/2019 Demo Networking Devices

    14/26

    BridgeNow, if Host 1 pings Host 2, only thehosts on that LAN segment see theping. The bridges stop the ping.

    21

  • 7/29/2019 Demo Networking Devices

    15/26

    SwitchA switch (also know as a multi-portbridge), can effectively replace thesefour bridges.

  • 7/29/2019 Demo Networking Devices

    16/26

    SwitchAnother benefit of a switch is that eachLAN segment gets dedicated bandwidth.

    The Cloud

    10 Mbps0 Mbps

    10 Mbps10 Mbps

    10 Mbps

  • 7/29/2019 Demo Networking Devices

    17/26

    Since a switch is a multi-port bridge,we know it will stop local pings fromtraveling to other network segments.

    Switch

    121

    But a switch cannot stop a ping destinedfor a different LAN segment fromtraveling to all other LAN segments.

  • 7/29/2019 Demo Networking Devices

    18/26

    Switch

    16

    1

    For example, Host 1 pings Host 16. Since Host16 is on another LAN segment, the switch will

    flood the ping request out all ports.

    What device will solve this problem?

  • 7/29/2019 Demo Networking Devices

    19/26

    Router

    1

    16

    1

    Routers filter traffic based on IP addresses.The IP address tells the router which LAN

    segment the ping belongs to.

  • 7/29/2019 Demo Networking Devices

    20/26

    Routers Two Main Functions

    Path Determination

    Packet Switching

  • 7/29/2019 Demo Networking Devices

    21/26

    Routers Two Main Functions

    Path Determination is the process of

    evaluating a packets destination IP

    address so that the router can decide

    which port to send out the packet.

  • 7/29/2019 Demo Networking Devices

    22/26

    Routers Two Main Functions

    In Packet Switching, the router re-

    encapsulates the packet in the protocol

    needed for the specified port and then

    switches the packet out that port.

  • 7/29/2019 Demo Networking Devices

    23/26

    Devices Function At Layers

    Know These!

  • 7/29/2019 Demo Networking Devices

    24/26

    Devices Function At Layers

    Also know that eachdevice not only works at

    its layer, but all layersbelow it.

  • 7/29/2019 Demo Networking Devices

    25/26

    Devices Function At Layers

    For example, a router isa layer 3 device but also

    uses MAC addresses(layer 2) and repeatsthe signal (layer 1)

  • 7/29/2019 Demo Networking Devices

    26/26

    Devices Function At Layers

    At what layers dothese two operate?

    The Cloud

    ALL 7 LAYERS!!One last bit of information