Networks - Chapter 5

Embed Size (px)

Citation preview

  • 7/29/2019 Networks - Chapter 5

    1/77

    111 2004, Cisco Systems, Inc. All rights reserved.

    Address Class Prefixes

  • 7/29/2019 Networks - Chapter 5

    2/77

    222 2004, Cisco Systems, Inc. All rights reserved.

    Network and Host Division

  • 7/29/2019 Networks - Chapter 5

    3/77

    333 2004, Cisco Systems, Inc. All rights reserved.

    Class A Address

  • 7/29/2019 Networks - Chapter 5

    4/77

    444 2004, Cisco Systems, Inc. All rights reserved.

    Class B Address

  • 7/29/2019 Networks - Chapter 5

    5/77

    555 2004, Cisco Systems, Inc. All rights reserved.

    Class C Address

  • 7/29/2019 Networks - Chapter 5

    6/77

    666 2004, Cisco Systems, Inc. All rights reserved.

    Class D Address Architecture

  • 7/29/2019 Networks - Chapter 5

    7/77777 2004, Cisco Systems, Inc. All rights reserved.

    Class E Address Architecture

  • 7/29/2019 Networks - Chapter 5

    8/77888 2004, Cisco Systems, Inc. All rights reserved.

    IP Address Range

  • 7/29/2019 Networks - Chapter 5

    9/77999 2004, Cisco Systems, Inc. All rights reserved.

    Network Address

  • 7/29/2019 Networks - Chapter 5

    10/77101010 2004, Cisco Systems, Inc. All rights reserved.

    Broadcast Address

  • 7/29/2019 Networks - Chapter 5

    11/77111111 2004, Cisco Systems, Inc. All rights reserved.

    Network Address

  • 7/29/2019 Networks - Chapter 5

    12/77121212 2004, Cisco Systems, Inc. All rights reserved.

    Unicast Transmission

  • 7/29/2019 Networks - Chapter 5

    13/77131313 2004, Cisco Systems, Inc. All rights reserved.

    Broadcast Address

  • 7/29/2019 Networks - Chapter 5

    14/77141414 2004, Cisco Systems, Inc. All rights reserved.

    Broadcast Transmission

  • 7/29/2019 Networks - Chapter 5

    15/77151515 2004, Cisco Systems, Inc. All rights reserved.

    Required Unique Address

  • 7/29/2019 Networks - Chapter 5

    16/77161616 2004, Cisco Systems, Inc. All rights reserved.

    Private IP Addresses

  • 7/29/2019 Networks - Chapter 5

    17/77171717 2004, Cisco Systems, Inc. All rights reserved.

    IPv4 Address Allocation

  • 7/29/2019 Networks - Chapter 5

    18/77181818 2004, Cisco Systems, Inc. All rights reserved.

    IPv4 and IPv6

  • 7/29/2019 Networks - Chapter 5

    19/77191919 2004, Cisco Systems, Inc. All rights reserved.

    IPv4 and IPv6 Addresses

  • 7/29/2019 Networks - Chapter 5

    20/77

    202020 2004, Cisco Systems, Inc. All rights reserved.

    Subdividing the Host Octets of a Class CAddress

  • 7/29/2019 Networks - Chapter 5

    21/77

    212121 2004, Cisco Systems, Inc. All rights reserved.

    Subdividing the Host Octets of a Class BAddress

  • 7/29/2019 Networks - Chapter 5

    22/77

    222222 2004, Cisco Systems, Inc. All rights reserved.

    Subdividing the Host Octets of a Class AAddress

  • 7/29/2019 Networks - Chapter 5

    23/77

    232323 2004, Cisco Systems, Inc. All rights reserved.

    Subnetting Chart (Bit Position and Value)

  • 7/29/2019 Networks - Chapter 5

    24/77

    242424 2004, Cisco Systems, Inc. All rights reserved.

    Subnetting Chart (Subnet Mask Identifier)

  • 7/29/2019 Networks - Chapter 5

    25/77

    252525 2004, Cisco Systems, Inc. All rights reserved.

    Subnetting

  • 7/29/2019 Networks - Chapter 5

    26/77

    262626 2004, Cisco Systems, Inc. All rights reserved.

    Subnetting Chart

  • 7/29/2019 Networks - Chapter 5

    27/77

    272727 2004, Cisco Systems, Inc. All rights reserved.

    Subnetting Scheme

  • 7/29/2019 Networks - Chapter 5

    28/77

    282828 2004, Cisco Systems, Inc. All rights reserved.

    Subnetting Chart

  • 7/29/2019 Networks - Chapter 5

    29/77

    292929 2004, Cisco Systems, Inc. All rights reserved.

    Subdividing the Host Octets of a Class BNetwork

  • 7/29/2019 Networks - Chapter 5

    30/77

    303030 2004, Cisco Systems, Inc. All rights reserved.

    Subdividing the Host Octets of a Class ANetwork

  • 7/29/2019 Networks - Chapter 5

    31/77

    313131 2004, Cisco Systems, Inc. All rights reserved.

    Subnetting

  • 7/29/2019 Networks - Chapter 5

    32/77

    323232 2004, Cisco Systems, Inc. All rights reserved.

    Data Encapsulation

  • 7/29/2019 Networks - Chapter 5

    33/77

    333333 2004, Cisco Systems, Inc. All rights reserved.

    Routing

  • 7/29/2019 Networks - Chapter 5

    34/77

    343434 2004, Cisco Systems, Inc. All rights reserved.

    Network Layer Devices in Data Flow

  • 7/29/2019 Networks - Chapter 5

    35/77

    353535 2004, Cisco Systems, Inc. All rights reserved.

    Router Protocol Stripping

  • 7/29/2019 Networks - Chapter 5

    36/77

    363636 2004, Cisco Systems, Inc. All rights reserved.

    Connectionless Network Services

  • 7/29/2019 Networks - Chapter 5

    37/77

    373737 2004, Cisco Systems, Inc. All rights reserved.

    Network Layer Fields

  • 7/29/2019 Networks - Chapter 5

    38/77

    383838 2004, Cisco Systems, Inc. All rights reserved.

    The Network Layer

  • 7/29/2019 Networks - Chapter 5

    39/77

    393939 2004, Cisco Systems, Inc. All rights reserved.

    The Network Layer

  • 7/29/2019 Networks - Chapter 5

    40/77

    404040 2004, Cisco Systems, Inc. All rights reserved.

    Layer 2 Switching and Layer 3 Routing

  • 7/29/2019 Networks - Chapter 5

    41/77

    414141 2004, Cisco Systems, Inc. All rights reserved.

    ARP Tables and Routing Tables

  • 7/29/2019 Networks - Chapter 5

    42/77

    424242 2004, Cisco Systems, Inc. All rights reserved.

    Router and Switch Features Comparison

  • 7/29/2019 Networks - Chapter 5

    43/77

    434343 2004, Cisco Systems, Inc. All rights reserved.

    Routed Protocol

  • 7/29/2019 Networks - Chapter 5

    44/77

    444444 2004, Cisco Systems, Inc. All rights reserved.

    Routing Protocol

  • 7/29/2019 Networks - Chapter 5

    45/77

    454545 2004, Cisco Systems, Inc. All rights reserved.

    Path Determination

  • 7/29/2019 Networks - Chapter 5

    46/77

    464646 2004, Cisco Systems, Inc. All rights reserved.

    The Routing Process

  • 7/29/2019 Networks - Chapter 5

    47/77

  • 7/29/2019 Networks - Chapter 5

    48/77

    484848 2004, Cisco Systems, Inc. All rights reserved.

    Routing Algorithms and Metrics

  • 7/29/2019 Networks - Chapter 5

    49/77

    494949 2004, Cisco Systems, Inc. All rights reserved.

    Autonomous Systems

  • 7/29/2019 Networks - Chapter 5

    50/77

    505050 2004, Cisco Systems, Inc. All rights reserved.

    Interior and Exterior Gateway Protocols

  • 7/29/2019 Networks - Chapter 5

    51/77

    515151 2004, Cisco Systems, Inc. All rights reserved.

    Routing Protocols

  • 7/29/2019 Networks - Chapter 5

    52/77

    525252 2004, Cisco Systems, Inc. All rights reserved.

    Classes of Routing Protocols

  • 7/29/2019 Networks - Chapter 5

    53/77

  • 7/29/2019 Networks - Chapter 5

    54/77

    545454 2004, Cisco Systems, Inc. All rights reserved.

    Distance Vector Network Discovery

    O i Di V R i P l

  • 7/29/2019 Networks - Chapter 5

    55/77

    555555 2004, Cisco Systems, Inc. All rights reserved.

    Operation Distance Vector Routing Protocols

    Each node (router or host) exchange information with neighboringnodes. Neighbors are both directly connected to same network

    Node maintains vector of link costs for each directly attachednetwork and distance and next-hop vectors for each destination

    Used by Routing Information Protocol (RIP)

    Requires transmission of lots of information by each router

    Distance vector to all neighborsContains estimated path cost to all networks in configuration

    Changes take long time to propagate

  • 7/29/2019 Networks - Chapter 5

    56/77

    565656 2004, Cisco Systems, Inc. All rights reserved.

    Example on RIP Routing

    C f D V R

  • 7/29/2019 Networks - Chapter 5

    57/77

    575757 2004, Cisco Systems, Inc. All rights reserved.

    Concept of Distance Vector Routing

  • 7/29/2019 Networks - Chapter 5

    58/77

    585858 2004, Cisco Systems, Inc. All rights reserved.

    Distance Vector Routing Table

    R utin Table Initial States

  • 7/29/2019 Networks - Chapter 5

    59/77

    595959 2004, Cisco Systems, Inc. All rights reserved.

    Routing Table Initial States

    U d ti R ti T bl f R t A

  • 7/29/2019 Networks - Chapter 5

    60/77

    606060 2004, Cisco Systems, Inc. All rights reserved.

    Updating Routing Table for Router A

    F l R bl

  • 7/29/2019 Networks - Chapter 5

    61/77

    616161 2004, Cisco Systems, Inc. All rights reserved.

    Final Routing Tables

    h E l RIP O i

  • 7/29/2019 Networks - Chapter 5

    62/77

    626262 2004, Cisco Systems, Inc. All rights reserved.

    All nodes of the graph represent Routers. In this example, router A receives the routing

    tables of its neighboring routers: A,I,H,K Router A computes its routing table based onthe tables of its neighbors plus the delays it has with each of the four

    routers( JA: 8, JI: 10, JH: 12, JK: 6)

    Another Example on RIP Operation

  • 7/29/2019 Networks - Chapter 5

    63/77

    636363 2004, Cisco Systems, Inc. All rights reserved.

    Link-State Concepts

  • 7/29/2019 Networks - Chapter 5

    64/77

    646464 2004, Cisco Systems, Inc. All rights reserved.

    Link-State Network Discovery

    k l h

  • 7/29/2019 Networks - Chapter 5

    65/77

    656565 2004, Cisco Systems, Inc. All rights reserved.

    Link-State Topology Changes

    L k C

  • 7/29/2019 Networks - Chapter 5

    66/77

    666666 2004, Cisco Systems, Inc. All rights reserved.

    Link-State Concerns

    Link State Routing Protocols:

  • 7/29/2019 Networks - Chapter 5

    67/77

    676767 2004, Cisco Systems, Inc. All rights reserved.

    L gOpen Shortest Path First (OSPF)

    Replace Routing Information Protocol (RIP)

    Uses link state routing strategy

    Each router keeps list of state of local links to network

    Transmits update state information to all other routers

    Little traffic as messages are small and not sent often

    Route computed on least cost based on user cost metric

  • 7/29/2019 Networks - Chapter 5

    68/77

    686868 2004, Cisco Systems, Inc. All rights reserved.

    Example on OSPF Routing

  • 7/29/2019 Networks - Chapter 5

    69/77

    696969 2004, Cisco Systems, Inc. All rights reserved.

    Concept of Link State Routing

  • 7/29/2019 Networks - Chapter 5

    70/77

  • 7/29/2019 Networks - Chapter 5

    71/77

    717171 2004, Cisco Systems, Inc. All rights reserved.

    Link State Advertisement Packet Format

  • 7/29/2019 Networks - Chapter 5

    72/77

  • 7/29/2019 Networks - Chapter 5

    73/77

  • 7/29/2019 Networks - Chapter 5

    74/77

    747474 2004, Cisco Systems, Inc. All rights reserved.

    Routing Table for Router A

  • 7/29/2019 Networks - Chapter 5

    75/77

    757575 2004, Cisco Systems, Inc. All rights reserved.

    Dijkistra Algorithm ( (

    1. Start with the local node (router): the root

    of the tree.

    2. Assign a cost of 0 to this node and make it

    the first permanent node.

    3. Examine each neighbor node of the node that

    was the last permanent node.

    4. Assign a cumulative cost to each node and make

    it tentative.

    5. Among the list of tentative nodes

    5.1. Find the node with the smallest cumulative

    cost and make it permanent.

    5.2. If a node can be reached from more than

    one direction

    5.2.1. Select the direction with the shortest

    cumulative cost.

    6.Repeat steps 3 to 5 until every node becomes

    permanent.

  • 7/29/2019 Networks - Chapter 5

    76/77

    Summary

  • 7/29/2019 Networks - Chapter 5

    77/77

    Summary