CCNA2 - 8 Examining The Routing Table

Embed Size (px)

Citation preview

  • 8/7/2019 CCNA2 - 8 Examining The Routing Table

    1/28

    2007 SSA CATC. All rights reserved.Presentation_ID 1

    SSA CATC

    The Routing Table: ACloser Look

  • 8/7/2019 CCNA2 - 8 Examining The Routing Table

    2/28

    2007 SSA CATC. All rights reservedPresentation_ID 2

    SSA CATC

    Agenda

  • 8/7/2019 CCNA2 - 8 Examining The Routing Table

    3/28

    2007 SSA CATC. All rights reservedPresentation_ID 3

    SSA CATC

    Common OSPFProblems

    Routing TableStructure

  • 8/7/2019 CCNA2 - 8 Examining The Routing Table

    4/28

    2007 SSA CATC. All rights reservedPresentation_ID 4

    SSA CATC

    Starting Configuration

  • 8/7/2019 CCNA2 - 8 Examining The Routing Table

    5/28

    2007 SSA CATC. All rights reservedPresentation_ID 5

    SSA CATC

    Sample Routing Table

    R2

  • 8/7/2019 CCNA2 - 8 Examining The Routing Table

    6/28

    2007 SSA CATC. All rights reservedPresentation_ID 6

    SSA CATC

    debug ip routing

  • 8/7/2019 CCNA2 - 8 Examining The Routing Table

    7/28

    2007 SSA CATC. All rights reservedPresentation_ID 7

    SSA CATC

    Hierarchical Routing

    Routing table is hierarchical structure used to speed up thelookup process

    Level 1 and Level 2

  • 8/7/2019 CCNA2 - 8 Examining The Routing Table

    8/28

    2007 SSA CATC. All rights reservedPresentation_ID 8

    SSA CATC

    Level 1 Routes

    Route with a subnet mask equal to or less than the classful mask of thenetwork address

  • 8/7/2019 CCNA2 - 8 Examining The Routing Table

    9/28

    2007 SSA CATC. All rights reservedPresentation_ID 9

    SSA CATC

    Ultimate Routes

    route thatincludes either a next-hop IP address and/or an exitinterface

  • 8/7/2019 CCNA2 - 8 Examining The Routing Table

    10/28

    2007 SSA CATC. All rights reservedPresentation_ID 10

    SSA CATC

    Parent and Child Routes

    no next-hop (L1 Parent)

    L2 Child

    Parent route is created whenever a route with a mask greaterthan the classfulmask is entered into the routing table

    L1 parent route exists only when there is at least one L2 child route!

  • 8/7/2019 CCNA2 - 8 Examining The Routing Table

    11/28

    2007 SSA CATC. All rights reservedPresentation_ID 11

    SSA CATC

    Parent and Child Relationships

  • 8/7/2019 CCNA2 - 8 Examining The Routing Table

    12/28

    2007 SSA CATC. All rights reservedPresentation_ID 12

    SSA CATC

    Parent and Child Relationships

  • 8/7/2019 CCNA2 - 8 Examining The Routing Table

    13/28

    2007 SSA CATC. All rights reservedPresentation_ID 13

    SSA CATC

    Parent and Child: Classless Routing

    VLSM

    Ultimate Routes

  • 8/7/2019 CCNA2 - 8 Examining The Routing Table

    14/28

    2007 SSA CATC. All rights reservedPresentation_ID 14

    SSA CATC

    Common OSPFProblemsRouting Table LookupProcess

  • 8/7/2019 CCNA2 - 8 Examining The Routing Table

    15/28

    2007 SSA CATC. All rights reservedPresentation_ID 15

    SSA CATC

    Stepsin Route Lookup Process

    Step 1: Router examines level 1 routesfor the best matchwith the destination address

    Step 1a: If the best match is a level 1 ultimate route - this route isused to forward the packet

    Step 1b: If the best match is a level 1 parent route, proceed to Step 2

    Step 2: Router examines child routes (the subnet routes) ofthe parent route for a best match

    Step 2a: If there is a match with a level 2 child route, that subnet willbe used to forward the packet

    Step 2b: If there is not a match with any of the level 2 child routes,proceed to Step 3

  • 8/7/2019 CCNA2 - 8 Examining The Routing Table

    16/28

    2007 SSA CATC. All rights reservedPresentation_ID 16

    SSA CATC

    Stepsin Route Lookup Process

    Step 3: Is the router implementing classful or classless routingbehavior?

    Step 3a: Classful routing behavior: terminate the lookup process and dropthe packet

    Step 3b: Classless routing behavior: continue searching level 1supernet routes in the routing table for a match, including thedefault route

    Step 4: Match with a level 1 supernet or default routes, therouter uses that route to forward the packet

    Step 5: If there is not a match with any route in the routing table, therouterdrops the packet

  • 8/7/2019 CCNA2 - 8 Examining The Routing Table

    17/28

    2007 SSA CATC. All rights reservedPresentation_ID 17

    SSA CATC

    LongestMatch Preferred

    Mostspecific

  • 8/7/2019 CCNA2 - 8 Examining The Routing Table

    18/28

    2007 SSA CATC. All rights reservedPresentation_ID 18

    SSA CATC

    LongestMatch: Level 1 NetworkRoutes

  • 8/7/2019 CCNA2 - 8 Examining The Routing Table

    19/28

    2007 SSA CATC. All rights reservedPresentation_ID 19

    SSA CATC

    LongestMatch: Level 1 NetworkRoutes

  • 8/7/2019 CCNA2 - 8 Examining The Routing Table

    20/28

    2007 SSA CATC. All rights reservedPresentation_ID 20

    SSA CATC

    LongestMatch: Parent and Child

    22 bit match

    23 bit match

    24 bit match

  • 8/7/2019 CCNA2 - 8 Examining The Routing Table

    21/28

    2007 SSA CATC. All rights reservedPresentation_ID 21

    SSA CATC

    Common OSPFProblemsRouting Behaviour

  • 8/7/2019 CCNA2 - 8 Examining The Routing Table

    22/28

    2007 SSA CATC. All rights reservedPresentation_ID 22

    SSA CATC

    Classful and Classless RoutingBehaviour

  • 8/7/2019 CCNA2 - 8 Examining The Routing Table

    23/28

    2007 SSA CATC. All rights reservedPresentation_ID 23

    SSA CATC

    Classful and Classless RoutingBehaviour

    Discontiguous Networks:

    R2(config-router)# default-information originate

    R3(config)# ip route 172.16.0.0 255.255.0.0 s0/0/1

  • 8/7/2019 CCNA2 - 8 Examining The Routing Table

    24/28

    2007 SSA CATC. All rights reservedPresentation_ID 24

    SSA CATC

    R2 Routing Table

    Destination of IP Packet: 172.16.4.10

  • 8/7/2019 CCNA2 - 8 Examining The Routing Table

    25/28

    2007 SSA CATC. All rights reservedPresentation_ID 25

    SSA CATC

    Classful Search Process

    Because router R2 is using classful routing behavior (no ip classless)the routerwill notsearch beyond the child routes

  • 8/7/2019 CCNA2 - 8 Examining The Routing Table

    26/28

    2007 SSA CATC. All rights reservedPresentation_ID 26

    SSA CATC

    ClasslessSearch Process

  • 8/7/2019 CCNA2 - 8 Examining The Routing Table

    27/28

    2007 SSA CATC. All rights reservedPresentation_ID 27

    SSA CATC

    Questions?

  • 8/7/2019 CCNA2 - 8 Examining The Routing Table

    28/28

    2007 SSA CATC. All rights reservedPresentation_ID 28

    SSA CATC

    Labs

    8.4.1 Investigating the Routing Table LookupProcess

    8.4.2 show ip route Challenge Lab