Chapter 3 Routing Dynamically

Slides:



Advertisements
Similar presentations
Enhanced Interior Gateway Routing Protocol (EIGRP) Part 2
Advertisements

Introduction to Dynamic Routing Protocols
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts – Chapter.
Chapter 7: Routing Dynamically
Lecture Week 3 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts.
Routing Table : closer look w.lilakiatsakun. Sample Routing Table Static Route Dynamic Routing Protocol (RIP) Directly Connected Network Administrative.
Chapter 3 Dynamic Routing Protocols CIS 82 Routing Protocols and Concepts Rick Graziani Cabrillo College Last Updated: 3/3/2009.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Routing Dynamically Routing & Switching.
Chapter 7: Routing Dynamically
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Routing Dynamically Routing Protocols.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 3: Routing Dynamically Routing Protocols Assist. Prof. Pongpisit.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 6 Routing and Routing Protocols.
Introduction to Dynamic Routing Protocol
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Static Routing Routing Protocols.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Introduction to Routing and Packet Forwarding Routing Protocols and.
Routing Table : closer look w.lilakiatsakun. Sample Routing Table Static Route Dynamic Routing Protocol (RIP) Directly Connected Network Administrative.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Static Routing Routing and Switching Essentials.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts.
Routing and Routing Protocols
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Routing Dynamically Routing & Switching.
Chapter 8 The Routing Table: A Closer Look CIS 82 Routing Protocols and Concepts Rick Graziani Cabrillo College Last Updated: 4/14/2008.
1 Version 3.1 Module 6 Routed & Routing Protocols.
1 7-Jan-16 S Ward Abingdon and Witney College Dynamic Routing CCNA Exploration Semester 2 Chapter 3.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Static Routing Routing and Switching Essentials.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Routing Dynamically Routing & Switching.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Static Routing Routing Protocols.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Routing Dynamically Routing & Switching.
CHAPTER 6: STATIC ROUTING Static Routing 2 nd semester
+ Dynamic Routing Protocols 2 nd semester
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Static Routing Routing and Switching Essentials.
Lec4: Introduction to Dynamic Routing Protocol
Introduction to Dynamic Routing Protocol
Working at a Small-to-Medium Business or ISP – Chapter 6
Click to edit Master subtitle style
Instructor Materials Chapter 5: Dynamic Routing
Routing and routing tables
EIGRP.
Routing and Routing Protocols: Routing Static
Chapter 8 The Routing Table: A Closer Look
Chapter 4: Routing Concepts
Routing and routing tables
Chapter 2: Static Routing
CCNA 2 v3.1 Module 6 Routing and Routing Protocols
Introduction to Dynamic Routing Protocol
Chapter 5: Dynamic Routing
Chapter 3: Dynamic Routing
Chapter 5: Dynamic Routing
Chapter 2: Static Routing
Chapter 7: Routing Dynamically
Chapter 3: Dynamic Routing
Routing and Routing Protocols: Routing Static
Routing Protocols and Concepts – Chapter 9
Introduction to Dynamic Routing Protocol
Chapter 3: Dynamic Routing
Chapter 8 The Routing Table: A Closer Look
Chapter 5 RIP version 1 CIS 82 Routing Protocols and Concepts
Chapter 6 Static Routing
Chapter 2: Static Routing
Static Routing 1st semester
Routing Protocols and Concepts – Chapter 9
Chapter 7 RIP version 2 CIS 82 Routing Protocols and Concepts
Chapter 7: Routing Dynamically
Rick Graziani Cabrillo College
Rick Graziani Cabrillo College
Working at a Small-to-Medium Business or ISP – Chapter 6
Routing Protocols and Concepts – Chapter 9
The Routing Table: A Closer Look
CCE1030 Computer Networking
Static Routing 2nd semester
Presentation transcript:

Chapter 3 Routing Dynamically CIS 82 Routing Protocols and Concepts Rick Graziani Cabrillo College graziani@cabrillo.edu Version 6

Chapter 3 3.1 Dynamic Routing Protocols 3.2 Distance Vector Dynamic Routing 3.3 RIP and RIPng Routing 3.4 Link-State Dynamic Routing 3.5 The Routing Table 3.6 Summary

Chapter 3: Objectives Explain the basic operation of dynamic routing protocols. Compare and contrast dynamic and static routing. Determine which networks are available during an initial network discovery phase. Define the different categories of routing protocols. Describe the process by which distance vector routing protocols learn about other networks. Identify the types of distance-vector routing protocols. Configure the RIP routing protocol. Configure the RIPng routing protocol. Explain the process by which link-state routing protocols learn about other networks.

Dynamic Routing Protocols

Types of Routing Protocols Exterior Gateway Protocols Interior Gateway Protocols Distance Vector Link State Path Vector Distance Vector Routing Protocols Link State Routing Protocols Path Vector RIPv2 EIGRP OSPFv2 IS-IS BGP-4 RIPng EIGRP for IPv6 OSPFv3 * IS-IS for IPv6 BGP-4 for IPv6 or MP-BGP IPv4 IPv6 * OSPFv3 supports routing both IPv4 and IPv6.

Distance Vector Routing Protocol Operation What does a street sign like this tell you? How far (distance) Which way (direction) Distance vector Routes are advertised as vectors of distance and direction. Distance is defined in terms of a metric Such as hop count Direction is simply the: Nexthop router or Exit interface Typically use the Bellman-Ford algorithm for the best-path (shortest) route determination

Distance Vector Routing Protocol Operation Does not know the topology of an internetwork. Only knows the routing information received from its neighbors. Does not know if another path would actually be faster. I don’t have a map of the network. Would another path that is longer actually be faster? (speed limit) All I know is how far and which direction (to next hop router) Distance Vector routing protocols are like signposts along the path to the final destination.

Distance Vector Concepts

Distance Vector Routing Protocols Routing Information Protocol (RIP) Thee versions: IPv4 RIPv1 and RIPv2. RIPng for IPv6. Uses hop counts as its metric. Still around but don't use. Interior Gateway Routing Protocol (IGRP) Legacy Cisco Proprietary protocol. Uses bandwidth and delay as its metric. Enhanced IGRP (EIGRP) Cisco Proprietary protocol.

Link-State Protocol Operation Link-state routing protocol can create a “complete view,” or topology, of the network. Link-state protocols are associated with Shortest Path First (SPF) calculations. A link-state router uses the link-state information to: Create a topology map Select the best path to all destination networks in the topology. Each router makes the decision! OR Link State routing protocols is like having a complete map of the network topology

Link-State Protocol Operation Link-state protocols work best in situations where The network design is hierarchical, usually occurring in large networks. The administrators have a good knowledge of the implemented link-state routing protocol. Fast convergence of the network is crucial.

Link-State Routing Protocols Open Shortest Path First (OSPF) Popular standards based routing protocol Intermediate System-to-Intermediate System (IS-IS) Popular in provider networks

Link-State Concepts

Evolution of Dynamic Routing Protocols Classful Routing Protocols Classless Routing Protocols BGP-MP & OSPFv3 OSPFv2 RIPv2 RIPng EGP IGRP RIPv1 IS-IS EIGRP BGP IS-ISv6

Purpose of Dynamic Routing Protocols Add dynamic routing protocol… No changes! The purpose of dynamic routing protocols includes: Discovery of remote networks Maintaining up-to-date routing information Choosing the best path to destination networks Ability to find a new best path if the current path is no longer available 3.1.1.2 Purpose of Dynamic Routing Protocols

Main Components of Routing Protocols Data Structures Neighbor table Topology table Neighbor table Topology table EIGRP Hello EIGRP Update Routing Protocol Messages Algorithm I will use the EIGRP DUAL algorithm to identify what the best routes are. I will use the EIGRP DUAL algorithm to identify what the best routes are. 3.1.1.2 Purpose of Dynamic Routing Protocols (cont.)

Dynamic Routing Protocol Operation Update Update Update Update Update Update In general, the operations of a dynamic routing protocol can be described as follows: The router sends and receives routing messages on its interfaces. The router shares routing messages and routing information with other routers that are using the same routing protocol. Routers exchange routing information to learn about remote networks. When a router detects a topology change the routing protocol can advertise this change to other routers. 3.1.3.1 Dynamic Routing Protocol Operation

Dynamic versus Static Routing

Using Static Routing R2(config)# ip route 172.16.3.0 255.255.255.0 172.16.2.2 R1(config)# ip route 0.0.0.0 0.0.0.0 172.16.2.1 Static routing has several primary uses: Best for smaller networks that are not expected to grow significantly. Routing to and from a stub network. A default route. Networks typically use a combination of both static and dynamic routing. 3.1.2.1 Using Static Routing

Dynamic Routing Scenario Dynamic routing is the best choice for large networks Dynamic routing protocols help the network administrator manage the network: Providing redundant paths Automatically implementing the alternate path when a link goes down. Media Description: Based on the media from E2-4.1.1.1 Networks often use both static and dynamic routing.

Reaching Remote Networks Dynamically Hey I’m R1 and I’m using EIGRP to let my neighbors know that I’m directly connected to networks: 192.168.10.0/24 192.168.11.0/24 209.165.200.224/30 Internet Hey I’m R2 and I’m using EIGRP to let my neighbors know that I’m the gateway to the Internet (I have a default route to the Internet) and that I’m directly connected to: 10.1.1.0/24 10.1.2.0/24 209.165.200.224/30 Media Description: Use the media created for Routing-1.3.3.1

Routing Information Protocol (RIP) Media Description: Briefly describe the visual for this page.

Why RIP? RIP is rarely used in modern networks! However, it’s useful as a foundation for understanding basic network routing. This section provides a brief overview of how to configure basic RIP settings and to verify RIPv2.

RIP Cheat Sheet

RIP Reference Topology 192.168.3.0/24 192.168.1.0/24 192.168.5.0/24 .1 G0/0 .1 DCE DCE .1 S0/0/0 S0/0/0 S0/0/1 S0/0/1 G0/0 R1 R2 R3 G0/0 .1 .2 .2 .1 192.168.2.0/30 192.168.4.0/30 G0/0 Media Description: Create as indicated.

Dynamic versus Static Routing Router RIP Configuration Mode Use the router rip command to enable RIP v1 Use the no router rip command to disable RIP 3.2 – RIPv2 3.2.1 – Configuring the RIP Protocol 3.2.1.1 – Router RIP Configuration Mode

Configuring the RIP Protocol Advertise Networks The network network-address router configuration mode command: Enables RIP on all interfaces that belong to a specific network Advertises the network in RIP routing updates sent to other routers every 30 seconds. Note: RIPv1 is a classful routing protocol for IPv4. Configuring the RIP Protocol Advertise Networks 3.2 – RIPv2 3.2.1 – Configuring the RIP Protocol 3.2.1.2 – Advertise Networks

Configuring the RIP Protocol Verify RIP Routing show ip route – displays RIP routes installed in the routing table. show ip protocols – displays IPv4 routing protocols configured on the router. 3.2 – RIPv2 3.2.1 – Configuring the RIP Protocol 3.2.1.3 – Verify RIP Routing

Configuring the RIP Protocol Enable and Verify RIPv2 Use the version 2 router configuration mode command to enable RIPv2 Use the show ip protocols command to verify that RIPv2 is configured. Use the show ip route command to verify the RIPv2 routes in the routing table. 3.2 – RIPv2 3.2.1 – Configuring the RIP Protocol 3.2.1.4 – Enable and Verify RIPv2

Configuring the RIP Protocol Disable Auto Summarization RIPv2 automatically summarizes networks at major network boundaries. Use the no auto-summary router configuration mode command to disable auto summarization. Use the show ip protocols command to verify that auto summarization is off. 3.2 – RIPv2 3.2.1 – Configuring the RIP Protocol 3.2.1.5 – Disable Auto Summarization

Configuring the RIP Protocol Configure Passive Interfaces RIP updates: Are forwarded out all RIP-enabled interfaces by default. Only need to be sent out interfaces that are connected to other RIP-enabled routers. Sending RIP updates to LANs wastes bandwidth, wastes resources, and is a security risk. Use the passive-interface router configuration command to stop routing updates out the interface. Still allows that network to be advertised to other routers. 3.2 – RIPv2 3.2.1 – Configuring the RIP Protocol 3.2.1.6 – Configure Passive Interfaces

Configuring the RIP Protocol Propagate a Default Route In the diagram a default static route to the Internet is configured on R1. The default-information originate router configuration command instructs R1 to send the default static route information in the RIP updates. 3.2 – RIPv2 3.2.1 – Configuring the RIP Protocol 3.2.1.7 – Propagate a Default Route

RIP Passive Interfaces 192.168.3.0/24 192.168.1.0/24 192.168.5.0/24 .1 G0/0 .1 DCE DCE .1 S0/0/0 S0/0/0 S0/0/1 G0/0 R1 R2 S0/0/1 R3 G0/0 .1 .2 .2 .1 192.168.2.0/30 192.168.4.0/30 Sending out unneeded updates on a LAN: Wastes Bandwidth  Wastes Resources Security Risk  The passive-interface Stops routing updates out the specified interface. The network that the specified interface belongs to is still advertised in routing updates that are sent out other interfaces. Should be configured on interfaces which do not connect to other RIP routers.

IPv4 Routing Table

Understanding the IPv4 Routing Table For more details: Cisco IP Routing, by Alex Zinin (ISBN 0-201-60473-6)

It is all because of classful IPv4 addressing

Back in the day…. When you got classful address, you got the whole thing Class A 10.0.0.0/8 Class B 172.16.0.0/16 Class C 192.168.1.0/24 Class B 172.17.0.0/16 Class C 192.168.2.0/24 Class A 11.0.0.0/8 Class A 12.0.0.0/8 Class B 172.18.0.0/16 Class C 192.168.3.0/24

So, the IPv4 routing table is organized by classful addresses R1#show ip route S* 0.0.0.0/0 [1/0] via 209.165.200.234, Serial0/0/1 is directly connected, Serial0/0/1 172.16.0.0/16 is variably subnetted, 5 subnets, 3 masks C 172.16.1.0/24 is directly connected, GigabitEthernet0/0 L 172.16.1.1/32 is directly connected, GigabitEthernet0/0 R 172.16.2.0/24 [120/1] via 209.165.200.226, 00:00:12,Serial0/0/0 R 172.16.3.0/24 [120/2] via 209.165.200.226, 00:00:12,Serial0/0/0 R 172.16.4.0/28 [120/2] via 209.165.200.226, 00:00:12,Serial0/0/0 R 192.168.0.0/16 [120/2] via 209.165.200.226, 00:00:03, Serial0/0/0 209.165.200.0/24 is variably subnetted, 5 subnets, 2 masks C 209.165.200.224/30 is directly connected, Serial0/0/0 L 209.165.200.225/32 is directly connected, Serial0/0/0 R 209.165.200.228/30 [120/1]via209.165.200.226,0:0:12,Serial0/0/0 C 209.165.200.232/30 is directly connected, Serial0/0/1 L 209.165.200.233/30 is directly connected, Serial0/0/1 R1#

Level 1 route A level 1 route is a route with a subnet mask equal to or less than the classful mask of the network address.

R1#show ip route S* 0.0.0.0/0 [1/0] via 209.165.200.234, Serial0/0/1 is directly connected, Serial0/0/1 172.16.0.0/16 is variably subnetted, 5 subnets, 3 masks C 172.16.1.0/24 is directly connected, GigabitEthernet0/0 L 172.16.1.1/32 is directly connected, GigabitEthernet0/0 R 172.16.2.0/24 [120/1] via 209.165.200.226, 00:00:12,Serial0/0/0 R 172.16.3.0/24 [120/2] via 209.165.200.226, 00:00:12,Serial0/0/0 R 172.16.4.0/28 [120/2] via 209.165.200.226, 00:00:12,Serial0/0/0 R 192.168.0.0/16 [120/2] via 209.165.200.226, 00:00:03, Serial0/0/0 209.165.200.0/24 is variably subnetted, 5 subnets, 2 masks C 209.165.200.224/30 is directly connected, Serial0/0/0 L 209.165.200.225/32 is directly connected, Serial0/0/0 R 209.165.200.228/30 [120/1]via209.165.200.226,0:0:12,Serial0/0/0 C 209.165.200.232/30 is directly connected, Serial0/0/1 L 209.165.200.233/30 is directly connected, Serial0/0/1 R1# Level 1 Ultimate route: a route with a subnet mask equal to or less than the classful mask of the network address.

Level 1 Parent route: A parent route is a heading: R1#show ip route S* 0.0.0.0/0 [1/0] via 209.165.200.234, Serial0/0/1 is directly connected, Serial0/0/1 172.16.0.0/16 is variably subnetted, 5 subnets, 3 masks C 172.16.1.0/24 is directly connected, GigabitEthernet0/0 L 172.16.1.1/32 is directly connected, GigabitEthernet0/0 R 172.16.2.0/24 [120/1] via 209.165.200.226, 00:00:12,Serial0/0/0 R 172.16.3.0/24 [120/2] via 209.165.200.226, 00:00:12,Serial0/0/0 R 172.16.4.0/28 [120/2] via 209.165.200.226, 00:00:12,Serial0/0/0 R 192.168.0.0/16 [120/2] via 209.165.200.226, 00:00:03, Serial0/0/0 209.165.200.0/24 is variably subnetted, 5 subnets, 2 masks C 209.165.200.224/30 is directly connected, Serial0/0/0 L 209.165.200.225/32 is directly connected, Serial0/0/0 R 209.165.200.228/30 [120/1]via209.165.200.226,0:0:12,Serial0/0/0 C 209.165.200.232/30 is directly connected, Serial0/0/1 L 209.165.200.233/30 is directly connected, Serial0/0/1 R1# Level 1 Parent route: A parent route is a heading: Indicates the presence of level 2 routes, also known as child routes. Level 1 parent route is automatically created any time a subnet is added to the routing table. A parent route is created whenever a route with a mask greater than the classful mask is entered into the routing table.

If Classful Parent matches, check Children for more specific match If Classful Parent matches, check Children for more specific match. If no Children match look for a lesser match. RTC# show ip route Gateway of last resort is 192.168.1.1 to network 0.0.0.0 R 192.168.10.0/24 [120/1] via 192.168.1.1, 00:00:02, Serial1 C 192.168.1.0/24 is directly connected, Serial1 C 192.168.2.0/24 is directly connected, Ethernet0 172.30.0.0/24 is subnetted, 3 subnets C 172.30.2.0 is directly connected, Loopback2 C 172.30.3.0 is directly connected, Loopback3 C 172.30.1.0 is directly connected, Loopback1 S* 0.0.0.0/0 [1/0] via 192.168.1.1 RTC# ping 172.30.4.1 Sending 5, 100-byte ICMP Echoes to 172.30.4.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5),round-trip min/avg/max=56/57/60 ms Packet’s Destination IP Address: 172.30.4.1

Routing Table Lookup Process IP Packet Routing Table Find “best match” /prefix-length in the route indicates the number of bits that must match the destination IPv4 address for this route to be a match When a router receives a packet on one of its interfaces. The routing table lookup process compares the destination IP address of the incoming packet with the entries in the routing table. The best match between the packet’s destination IP address and the route in the routing table is used to determine to which interface to forward the packet.

A packet is destined for 172.16.0.10 The router has three possible routes that match this packet: 172.16.0.0/12 172.16.0.0/18 172.16.0.0/26 Of the three routes, 172.16.0.0/26 has the longest match and is therefore chosen to forward the packet. Media Description: Use the media from E2-8.2.2.1

L 209.165.200.233/30 is directly connected, Serial0/0/1 R1# R1#show ip route | begin Gateway Gateway of last resort is 209.165.200.234 to network 0.0.0.0 S* 0.0.0.0/0 [1/0] via 209.165.200.234, Serial0/0/1 is directly connected, Serial0/0/1 172.16.0.0/16 is variably subnetted, 5 subnets, 3 masks C 172.16.1.0/24 is directly connected, GigabitEthernet0/0 L 172.16.1.1/32 is directly connected, GigabitEthernet0/0 R 172.16.2.0/24 [120/1] via 209.165.200.226, 00:00:12,Serial0/0/0 R 172.16.3.0/24 [120/2] via 209.165.200.226, 00:00:12,Serial0/0/0 R 172.16.4.0/28 [120/2] via 209.165.200.226, 00:00:12,Serial0/0/0 R 192.168.0.0/16 [120/2] via 209.165.200.226, 00:00:03, Serial0/0/0 209.165.200.0/24 is variably subnetted, 5 subnets, 2 masks C 209.165.200.224/30 is directly connected, Serial0/0/0 L 209.165.200.225/32 is directly connected, Serial0/0/0 R 209.165.200.228/30 [120/1]via209.165.200.226,0:0:12,Serial0/0/0 C 209.165.200.232/30 is directly connected, Serial0/0/1 L 209.165.200.233/30 is directly connected, Serial0/0/1 R1# 192.168.1.100 Packet with Destination IPv4 address 192.168.1.100 One Level 1 Ultimate Routes to choose from. 192.168.0.0/16 is the best (only) match, the longest match (coming). Longest match: Most left-most bits that match between destination IP address and route in routing table At a minimum it must match the number of bits in the route as indicated by the subnet mask.

L 209.165.200.233/30 is directly connected, Serial0/0/1 R1# R1#show ip route | begin Gateway Gateway of last resort is 209.165.200.234 to network 0.0.0.0 S* 0.0.0.0/0 [1/0] via 209.165.200.234, Serial0/0/1 is directly connected, Serial0/0/1 172.16.0.0/16 is variably subnetted, 5 subnets, 3 masks C 172.16.1.0/24 is directly connected, GigabitEthernet0/0 L 172.16.1.1/32 is directly connected, GigabitEthernet0/0 R 172.16.2.0/24 [120/1] via 209.165.200.226, 00:00:12,Serial0/0/0 R 172.16.3.0/24 [120/2] via 209.165.200.226, 00:00:12,Serial0/0/0 R 172.16.4.0/28 [120/2] via 209.165.200.226, 00:00:12,Serial0/0/0 R 192.168.0.0/16 [120/2] via 209.165.200.226, 00:00:03, Serial0/0/0 209.165.200.0/24 is variably subnetted, 5 subnets, 2 masks C 209.165.200.224/30 is directly connected, Serial0/0/0 L 209.165.200.225/32 is directly connected, Serial0/0/0 R 209.165.200.228/30 [120/1]via209.165.200.226,0:0:12,Serial0/0/0 C 209.165.200.232/30 is directly connected, Serial0/0/1 L 209.165.200.233/30 is directly connected, Serial0/0/1 R1# 172.16.3.10 Packet with Destination IPv4 address 172.16.3.10 No Level 1 Ultimate Routes match Matches Level 1 Parent Route (minimum match is classful mask). Look for matching Child route At a minimum it must match the number of bits in the route as indicated by the subnet mask. If more than one child route matches choose routes with longest match.

Packet with Destination IPv4 address 172.16.5.10 R1#show ip route | begin Gateway Gateway of last resort is 209.165.200.234 to network 0.0.0.0 S* 0.0.0.0/0 [1/0] via 209.165.200.234, Serial0/0/1 is directly connected, Serial0/0/1 172.16.0.0/16 is variably subnetted, 5 subnets, 3 masks C 172.16.1.0/24 is directly connected, GigabitEthernet0/0 L 172.16.1.1/32 is directly connected, GigabitEthernet0/0 R 172.16.2.0/24 [120/1] via 209.165.200.226, 00:00:12,Serial0/0/0 R 172.16.3.0/24 [120/2] via 209.165.200.226, 00:00:12,Serial0/0/0 R 172.16.4.0/28 [120/2] via 209.165.200.226, 00:00:12,Serial0/0/0 R 192.168.0.0/16 [120/2] via 209.165.200.226, 00:00:03, Serial0/0/0 209.165.200.0/24 is variably subnetted, 5 subnets, 2 masks C 209.165.200.224/30 is directly connected, Serial0/0/0 L 209.165.200.225/32 is directly connected, Serial0/0/0 R 209.165.200.228/30 [120/1]via209.165.200.226,0:0:12,Serial0/0/0 C 209.165.200.232/30 is directly connected, Serial0/0/1 L 209.165.200.233/30 is directly connected, Serial0/0/1 R1# 172.16.5.10 Packet with Destination IPv4 address 172.16.5.10

L 209.165.200.233/30 is directly connected, Serial0/0/1 R1# 10.1.2.3 R1#show ip route | begin Gateway Gateway of last resort is 209.165.200.234 to network 0.0.0.0 S* 0.0.0.0/0 [1/0] via 209.165.200.234, Serial0/0/1 is directly connected, Serial0/0/1 172.16.0.0/16 is variably subnetted, 5 subnets, 3 masks C 172.16.1.0/24 is directly connected, GigabitEthernet0/0 L 172.16.1.1/32 is directly connected, GigabitEthernet0/0 R 172.16.2.0/24 [120/1] via 209.165.200.226, 00:00:12,Serial0/0/0 R 172.16.3.0/24 [120/2] via 209.165.200.226, 00:00:12,Serial0/0/0 R 172.16.4.0/28 [120/2] via 209.165.200.226, 00:00:12,Serial0/0/0 R 192.168.0.0/16 [120/2] via 209.165.200.226, 00:00:03, Serial0/0/0 209.165.200.0/24 is variably subnetted, 5 subnets, 2 masks C 209.165.200.224/30 is directly connected, Serial0/0/0 L 209.165.200.225/32 is directly connected, Serial0/0/0 R 209.165.200.228/30 [120/1]via209.165.200.226,0:0:12,Serial0/0/0 C 209.165.200.232/30 is directly connected, Serial0/0/1 L 209.165.200.233/30 is directly connected, Serial0/0/1 R1# 10.1.2.3 Packet with Destination IPv4 address 10.1.2.3 No Level 1 Ultimate Routes to choose match No Level 1 Parent Routes match Look for Level 1 supernet route (mask less than classful mask), including default Choose longest match. Default route always matches because 0 bits have to match. 0 matching bits makes it the “gateway of last resort”

10.1.2.3 R1# R1#show ip route | begin Gateway 172.16.0.0/16 is variably subnetted, 5 subnets, 3 masks C 172.16.1.0/24 is directly connected, GigabitEthernet0/0 L 172.16.1.1/32 is directly connected, GigabitEthernet0/0 R 172.16.2.0/24 [120/1] via 209.165.200.226, 00:00:12,Serial0/0/0 R 172.16.3.0/24 [120/2] via 209.165.200.226, 00:00:12,Serial0/0/0 R 172.16.4.0/28 [120/2] via 209.165.200.226, 00:00:12,Serial0/0/0 R 192.168.0.0/16 [120/2] via 209.165.200.226, 00:00:03, Serial0/0/0 209.165.200.0/24 is variably subnetted, 5 subnets, 2 masks C 209.165.200.224/30 is directly connected, Serial0/0/0 L 209.165.200.225/32 is directly connected, Serial0/0/0 R 209.165.200.228/30 [120/1]via209.165.200.226,0:0:12,Serial0/0/0 C 209.165.200.232/30 is directly connected, Serial0/0/1 L 209.165.200.233/30 is directly connected, Serial0/0/1 R1# 10.1.2.3 Packet with Destination IPv4 address 10.1.2.3 No default route No Level 1 Ultimate Routes to choose match No Level 1 Parent Routes match No supernet routes match Drop packet

IPv6 Routing Tables

There is no level 1 parent of level 2 child routes. R1# show ipv6 route <Output omitted> C 2001:DB8:CAFE:1::/64 [0/0] via GigabitEthernet0/0, directly connected L 2001:DB8:CAFE:1::1/128 [0/0] via GigabitEthernet0/0, receive D 2001:DB8:CAFE:2::/64 [90/3524096] via FE80::3, Serial0/0/1 D 2001:DB8:CAFE:3::/64 [90/2170112] C 2001:DB8:CAFE:A001::/64 [0/0] via Serial0/0/0, directly connected L 2001:DB8:CAFE:A001::1/128 [0/0] via Serial0/0/0, receive D 2001:DB8:CAFE:A002::/64 [90/3523840] C 2001:DB8:CAFE:A003::/64 [0/0] via Serial0/0/1, directly connected L 2001:DB8:CAFE:A003::1/128 [0/0] via Serial0/0/1, receive L FF00::/8 [0/0] via Null0, receive R1# Components of the IPv6 routing table are very similar to the IPv4 routing table (directly connected interfaces, static routes, and dynamically learned routes). There is no concept of classes in IPv6, so all routes are effectively level 1 ultimate routes. There is no level 1 parent of level 2 child routes. 3.5.4.1 IPv6 Routing Table Entries

Reference IPv6 Topology EIGRP for IPv6 Routing Domain 2001:DB8:CAFE:2::/64 LLA: FE80::2 G0/0 :1 S0/0/0 :2 R2 S0/0/1 :1 2001:DB8:CAFE:A001::/64 2001:DB8:CAFE:A002::/64 64 kbps S0/0/0 :1 1024 kbps S0/0/1 :2 LLA: FE80::1 1544 kbps LLA: FE80::3 S0/0/1 :1 S0/0/0 :2 R1 R3 2001:DB8:CAFE:A003::/64 G0/0 :1 G0/0 :1 2001:DB8:CAFE:1::/64 2001:DB8:CAFE:3::/64 Media Description: Use graphic from powerpoint

Directly Connected Networks of R1 R1# show ipv6 route C 2001:DB8:CAFE:1::/64 [0/0] via GigabitEthernet0/0, directly connected L 2001:DB8:CAFE:1::1/128 [0/0] via GigabitEthernet0/0, receive D 2001:DB8:CAFE:2::/64 [90/3524096] via FE80::3, Serial0/0/1 D 2001:DB8:CAFE:3::/64 [90/2170112] C 2001:DB8:CAFE:A001::/64 [0/0] via Serial0/0/0, directly connected L 2001:DB8:CAFE:A001::1/128 [0/0] via Serial0/0/0, receive D 2001:DB8:CAFE:A002::/64 [90/3523840] C 2001:DB8:CAFE:A003::/64 [0/0] via Serial0/0/1, directly connected L 2001:DB8:CAFE:A003::1/128 [0/0] via Serial0/0/1, receive L FF00::/8 [0/0] via Null0, receive R1# Media Description: Create as indicated

Remote Network Entries on R1 R1# show ipv6 route C 2001:DB8:CAFE:1::/64 [0/0] via GigabitEthernet0/0, directly connected L 2001:DB8:CAFE:1::1/128 [0/0] via GigabitEthernet0/0, receive D 2001:DB8:CAFE:2::/64 [90/3524096] via FE80::3, Serial0/0/1 D 2001:DB8:CAFE:3::/64 [90/2170112] C 2001:DB8:CAFE:A001::/64 [0/0] via Serial0/0/0, directly connected L 2001:DB8:CAFE:A001::1/128 [0/0] via Serial0/0/0, receive D 2001:DB8:CAFE:A002::/64 [90/3523840] C 2001:DB8:CAFE:A003::/64 [0/0] via Serial0/0/1, directly connected L 2001:DB8:CAFE:A003::1/128 [0/0] via Serial0/0/1, receive L FF00::/8 [0/0] via Null0, receive R1# Media Description: Create as indicated

Chapter 3 Routing Dynamically CIS 82 Routing Protocols and Concepts Rick Graziani Cabrillo College graziani@cabrillo.edu Version 6