Static Routing CCNA Routing and Switching Semester 2 Chapter 6

Slides:



Advertisements
Similar presentations
Static Routing Exercise AFNOG 2003/ Track 2 # 1 Static Routing Exercise u Unix network interface configuration u Cisco network interface configuration.
Advertisements

Chapter 6: Static Routing
Static Routing Exercise. What will the exercise involve?  Unix network interface configuration  Cisco network interface configuration  Static routes.
Ver 1,12/09/2012Kode :CIJ 340,Jaringan Komputer Lanjut FASILKOM Routing Protocols and Concepts – Chapter 2 Static Routing CCNA.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Static Routing Routing Protocols and Concepts – Chapter 2 Sandra Coleman,
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Static Routing Routing Protocols and Concepts – Chapter 2.
1 CCNA 2 v3.1 Module 9. 2 Basic Router Troubleshooting CCNA 2, Module 9.
Routing and Routing Protocols
Routing and Routing Protocols Introduction to Static Routing.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 RIP version 1&2 Revised by Chakchai So-In, Ph.D.
Lecture Week 3 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts.
IP ROUTING -1 STATIC ROUTING DEFAULT ROUTING.  A routing protocol is used by routers to dynamically find all the networks in the internetwork and to.
1 Semester 2 Module 6 Routing and Routing Protocols YuDa college of business James Chen
1 16-Aug-15 Static Routing CCNA Exploration Semester 2 Chapter 2.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Static Routing Routing Protocols and Concepts – Chapter 2.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Static Routing Routing Protocols and Concepts – Chapter 2.
Routing Table CCNA Exploration Semester 2 Chapter 8
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—5-1 WAN Connections Enabling Static Routing.
1 Routing Introduction to Routing Static Routing.
Introduction to Routing and Routing Protocols By Ashar Anwar.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 3: Routing Dynamically Routing Protocols Assist. Prof. Pongpisit.
CCNA – Cisco Certified Network Associates Routing and Static Routes By Roshan Chaudhary Lecturer Islington College.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 6 Routing and Routing Protocols.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 6 Routing and Routing Protocols.
© 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.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Static Routing Routing and Switching Essentials.
© 2002, Cisco Systems, Inc. All rights reserved. 1 Routing Overview.
Routing and Routing Protocols
Routing Basics Chapter 8. powered by DJ 1. C HAPTER O BJECTIVES At the end of this Chapter you will be able to:  Understand routing basics. powered by.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Static Routing Routing Protocols and Concepts – Chapter 2.
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.
+ Routing Concepts 1 st semester Objectives  Describe the primary functions and features of a router.  Explain how routers use information.
1 9-Feb-16 S Ward Abingdon and Witney College Static Routing CCNA Exploration Semester 2 Chapter 2.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Static Routing Routing Protocols.
COMPUTER NETWORK AND DESIGN CSCI 3385K Routing Protocols.
CHAPTER 6: STATIC ROUTING Static Routing 2 nd semester
1 16-Mar-16 S Ward Abingdon and Witney College RIP v1 Routing CCNA Exploration Semester 2 Chapter 5.
Static Routing Routing Protocols and Concepts – Chapter 2.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Static Routing Routing and Switching Essentials.
Instructor Materials Chapter 7: EIGRP Tuning and Troubleshooting
Routing and routing tables
Routing and Routing Protocols: Routing Static
Chapter 8 The Routing Table: A Closer Look
Routing and routing tables
Chapter 2: Static Routing
CCNA 2 v3.1 Module 6 Routing and Routing Protocols
Static Routing and Serial interfaces
CT1306 Rehab AlFallaj.
Chapter 3: Dynamic Routing
Chapter 2: Static Routing
Enabling Static Routing
Chapter 3: Dynamic Routing
Routing and Routing Protocols: Routing Static
Chapter 3: Dynamic Routing
Routing Protocols and Concepts – Chapter 5
Chapter 6 Static Routing
Chapter 2: Static Routing
Routing Protocols and Concepts – Chapter 2
Static Routing 1st semester
Routing Protocols and Concepts – Chapter 5
Introduction to networking (Yarnfield)
Rick Graziani Cabrillo College
Routing Protocols and Concepts – Chapter 5
Routing Protocols and Concepts – Chapter 5
RIP1.ppt CCNA Exploration Semester 2 Chapter 5
Static Routing 2nd semester
Presentation transcript:

Static Routing CCNA Routing and Switching Semester 2 Chapter 6 28/04/2017 Static Routing CCNA Routing and Switching Semester 2 Chapter 6 Thanks to S Ward Abingdon and Witney College and St. Clair College in Windsor, Ontario and Cisco Networking Academy Slides. S Ward Abingdon and Witney College

Topics Static routes Summary and default routes Forwarding with static routes Managing and troubleshooting static routes

Reach Remote Networks A router can learn about remote networks in one of two ways: Manually - Remote networks are manually entered into the route table using static routes. Dynamically - Remote routes are automatically learned using a dynamic routing protocol. 6.1.1.1 Reach Remote Networks

Static Routing Why Use Static Routing? Advantages over dynamic routing: not advertised over the network, resulting in better security. use less bandwidth than dynamic routing protocols, no CPU cycles are used to calculate and communicate routes. the path a static route uses to send data is known. 6.1.1.2 Why Use Static Routing?

Static Routing Why Use Static Routing? (cont.) disadvantages: Initial configuration and maintenance is time-consuming. Configuration is error-prone, especially in large networks. Administrator intervention is required to maintain changing route information. 6.1.1.2 Why Use Static Routing?

Static Routing Why Use Static Routing? (cont.) disadvantages: Does not scale well with growing networks; maintenance becomes cumbersome. Requires complete knowledge of the whole network for proper implementation. 6.1.1.2 Why Use Static Routing?

Static Routing When to Use Static Routes Static routing has three primary uses: Providing ease of routing table maintenance in smaller networks that are not expected to grow significantly. Routing to and from stub networks. Using a single default route to represent a path to any network that does not have a more specific match with another route in the routing table. 6.1.1.3 When to Use Static Routes

Types of Static Routes Static Route Applications Static Routes are often used to: Connect to a specific network. Provide a Gateway of Last Resort for a stub network. Reduce the number of routes advertised by summarizing several contiguous networks as one static route. Create a backup route in case a primary route link fails. 6.1.2.1 Static Route Applications

Types of Static Routes Standard Static Route Stub Network: A network accessed by a single route. Running a dynamic routing protocol between R1 and R2 is a waste of resources. Static routes are commonly used when routing from a stub network.

Types of Static Routes Default Static Route A route that matches all packets. Identifies the gateway IP address to which the router sends all IP packets that it does not have a learned or static route. Simply a static route with 0.0.0.0/0 as the destination IPv4 address. 6.1.2.3 Default Static Route Stub network Static route Default route

Types of Static Routes Summary Static Route

Types of Static Routes Floating Static Route Floating static routes are static routes that are used to provide a backup path to a primary static or dynamic route, in the event of a link failure. The floating static route is only used when the primary route is not available. To accomplish this, the floating static route is configured with a higher administrative distance than the primary route. 6.1.2.5 Floating Static Route

Configure IPv4 Static Routes ip route Command OR

Configure IPv4 Static Routes Next-Hop Options Next-hop route - Only the next-hop IP address is specified. Directly connected static route - Only the router exit interface is specified. Fully specified static route - The next-hop IP address and exit interface are specified. 6.2.1.2 Next-Hop Options

Configure IPv4 Static Routes Configure a Next-Hop Static Route R1 only knows its directly connected networks.

Configure IPv4 Static Routes Configure a Next-Hop Static Route 172.16.2.2 / 24 172.16.2.1 / 24 Add a static route to R1 for the LAN on R2. Network Subnet Mask Next-Hop Address

Configure IPv4 Static Routes Configure a Next-Hop Static Route 172.16.2.2 / 24 BEFORE 172.16.2.1 / 24 AFTER Add a static route to R1 for the LAN on R2.

Configure IPv4 Static Routes Static Routes Principles Static Routing 28/04/2017 Configure IPv4 Static Routes Static Routes Principles Or would a ‘ping’ from a PC on the LAN on R1 to a PC on the LAN on R3 work? Would a ‘ping’ from a PC on the LAN on R1 to a PC on the LAN on R2 work? Return Route? S Ward Abingdon and Witney College

Configure IPv4 Static Routes Routing Table Principles and Static Routes

Verifying Static Routes

Verifying Static Routes

Configure IPv4 Static Routes Configure Directly Connected Static Route 6.2.1.4 Configure a Directly Connected Static Route

Configure IPv4 Static Routes Configure a Fully Specified Static Route Both the output interface and the next-hop IP address are specified. This is another type of static route that is used in older IOSs, prior to CEF. This form of static route is used when the output interface is a multi-access interface and it is necessary to explicitly identify the next hop. The next hop must be directly connected to the specified exit interface. 6.2.1.5 Configure a Fully Specified Static Route

Resolving to an Exit Interface Packet for 192.168.2.20 Before any packet is forwarded by a router, the routing table process must determine the exit interface to use to forward the packet. When the router has to perform multiple lookups in the routing table before forwarding a packet, it is performing a process known as a Recursive Route Lookup.

Exit Interface is Down BEFORE AFTER Cannot have a route if the exit interface does not exist. If an interface is manually taken down (shutdown) or a link fails, all routes that are resolved to that interface as the exit interface will be removed from the routing table.

Next hop or exit interface? For a point to point serial link, configure the static route with the exit interface. Only one look-up, less processing. For an Ethernet link, configure the static route with the next hop address (or with both). This identifies the device that should receive the packet next. The MAC address can be found and used in the frame header.

Static Routes with Ethernet Interfaces

Static Routes with Ethernet Interfaces NOT Recommended Recommended Since many different devices can be sharing the same multi-access network, the Router will have difficulty determining the destination MAC address. Use both the exit interface and next-hop address for Ethernet exit interfaces.

Summary Static Routes Route Summarization: A summary route is a single route that can be used to represent multiple routes. Generally a set of contiguous networks. Have the same exit interface or next-hop IP address. Creates smaller routing tables More efficient routing table lookup process.

Summary Static Routes R3 has three static routes configured. All three routes are forwarding traffic out the same Serial 0/0/1 interface. Can be summarized to 172.16.0.0 / 22 (255.255.252.0)

Summary Static Routes

Summary Static Routes BEFORE AFTER Any packet with a destination IP address belonging to the 172.16.1.0/24, 172.16.2.0/24, or 172.16.3.0/24 network matches this summarized route.

Configure Floating Static Routes Floating Static Routes Floating static routes are static routes that have an administrative distance greater than the administrative distance of another static route or dynamic routes: The administrative distance of a static route can be increased to make the route less desirable than that of another static route or a route learned through a dynamic routing protocol. In this way, the static route “floats” and is not used when the route with the better administrative distance is active. However, if the preferred route is lost, the floating static route can take over, and traffic can be sent through this alternate route. 6.4.3.1 Floating Static Routes

Configure Floating Static Routes Configure a Floating Static Route

Configure Floating Static Routes Test the Floating Static Route To test a floating static route: Use a show ip route command to verify that the routing table is using the default static route. Use a traceroute command to follow the traffic flow out the primary route. Disconnect the primary link or shutdown the primary exit interface. Use a show ip route command to verify that the routing table is using the floating static route. Use a traceroute command to follow the traffic flow out the backup route. 6.4.3.3 Test the Floating Static Route

Default route ip route 0.0.0.0 0.0.0.0 [ip address | interface] Stub network Static route networks Default route

Default Static Routes ip route 10.100.1.0 255.255.255.0 192.168.1.2 ip route 0.0.0.0 0.0.0.0 192.168.1.1 A common use for static routes is connecting a company’s edge router to the ISP network.

Default Static Routes A common use for static routes is connecting a company’s edge router to the ISP network.

Delete a static route R1(config)#no ip route 192.168.2.0 255.255.255.0 serial 0/0 Give the same command again with no in front. Most commands can be reversed like this.

Configure IPv4 Static Routes Verify a Static Route Along with ping and traceroute, useful commands to verify static routes include: show ip route show ip route static show ip route network 6.2.1.6 Verify a Static Route