Static Routing and Serial interfaces

Slides:



Advertisements
Similar presentations
Chapter 6: Static Routing
Advertisements

 WAN uses Serial ports  Ethernet Ports:  Straight through  Cross over.
Chapter 7 RIP Version 2 (RIPv2).
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 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.
Lecture Week 3 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts.
Static Routing Last Update Copyright Kenneth M. Chipps Ph.D.
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 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.
CCNA – Cisco Certified Network Associates Routing and Static Routes By Roshan Chaudhary Lecturer Islington College.
Basic Router Troubleshooting
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Static Routing Routing Protocols.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 9 Basic Router Troubleshooting.
© 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.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 The Routing Table: A Closer Look Routing Protocols and Concepts – Chapter.
The Routing Table Last Update Copyright Kenneth M. Chipps Ph.D.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Static Routing Routing and Switching Essentials.
CCNA 2 Week 9 Router Troubleshooting. Copyright © 2005 University of Bolton Topics Routing Table Overview Network Testing Troubleshooting Router Issues.
1 Semester 2 Module 9 Basic Router Troubleshooting Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology.
© 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 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.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.
© 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.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.0 Module 9 Basic Router Troubleshooting.
CHAPTER 6: STATIC ROUTING Static Routing 2 nd semester
Static Routing Routing Protocols and Concepts – Chapter 2.
Static Routing CCNA Routing and Switching Semester 2 Chapter 6
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Static Routing Routing and Switching Essentials.
Chapter 4: Routing Concepts
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: Single-Area OSPF Routing & Switching.
Instructor Materials Chapter 7: EIGRP Tuning and Troubleshooting
IP Routing using Packet Tracer Simulator
Routing and routing tables
Static and Default Routing
Basic Router Troubleshooting
Single-Area OSPF 1 Cisco Networking Academy program Routing Protocols
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
Chapter 3: Dynamic Routing
Chapter 2: Static Routing
Chapter 7: Routing Dynamically
Enabling Static Routing
Chapter 3: Dynamic Routing
Chapter 3: Dynamic Routing
Chapter 2: Static Routing
Routing Protocols and Concepts – Chapter 2
Static Routing 1st semester
Chapter 8: Single-Area OSPF
Introduction to networking (Yarnfield)
Chapter 7: Routing Dynamically
Chapter 7: EIGRP Tuning and Troubleshooting
Routing Protocols and Concepts – Chapter 7
Routing Protocols and Concepts – Chapter 7
The Routing Table: A Closer Look
CCE1030 Computer Networking
Serial interfaces 2nd semester
Static Routing 2nd semester
Presentation transcript:

Static Routing and Serial interfaces 1st semester 1439-2017

Outline 2 Static Routing Implementation Chapter 6 2 Outline Static Routing Implementation Configure Static and Default Routes Review of CIDR Configure Summary and Floating Static Routes Troubleshoot Static and Default Route Issues Summary

Configuring router serial interfaces

Point-to-point WAN link The simplest type of WAN link, also called a leased line or leased circuit. Serial transmission means that the bits of a frame are transmitted one at a time over the physical medium. In WANs, the serial connections are preferred because Serial cables can be longer than parallel cables. Synchronization easier than parallel connections. Simpler wiring and less cost . lightning-bolt line between R1 and R2, meaning that a point-to-point WAN link exists the simplest type of WAN link, called a point-to-point WAN link . A point-to-point WAN link, also called a leased line , leased circuit, or WAN link, connects two devices over a WAN. Leased lines give the devices on each end (typically routers) the ability to send data to each other at the same time. Leased lines are also permanently installed, meaning that the devices can send data to each other at any time. The definitions of DCE and DTE both bring up the topic of clocking , which is also known as synchronization . The serial links used between two routers typically use synchronous communication, which means that both routers on the ends of the leased line must use the exact same speed for sending and receiving bits. Building hardware that uses the exact same speed is expensive, because creating clocks that run at the exact same speed is expensive. With WAN links, the clocks need to match exactly, so the two routers synchronize their clocks continually to make sure their clocks run at the same speed. To synchronize the clocks on the serial interfaces of both routers on the ends of a serial link, a couple of things must happen Point-to-point link uses synchronous serial lines

Configuring Serial Interface The basic configuration of a serial connection is no different than the other types of interfaces

Synchronous Communication The serial links used between two routers typically use synchronous communication, which means that both routers on the ends of the leased line must use the exact same speed for sending and receiving bits. Serial interfaces will usually be attached to a CSU/DSU type of device that provides clocking for the line. Two routers can be made to think they have a leased line between them—without having an actual leased line from the telco—as long as the routers sit relatively close to each other. For example, when building a lab to use for this course, the routers typically sit in the same room. To install the equivalent of a WAN leased line between two routers’ serial interfaces, without having to pay any money to a telco, you can follow these steps Serial interfaces will usually be attached to a CSU/DSU type of device that provides clocking for the line. But if you have a back-to-back configuration (for example, one that’s used in a lab/classroom environment), on one end—the data communication equipment (DCE) end of the cable—must provide clocking. Clocking typically provided by DCEs to routers.

Synchronous Communication In the lab, to synchronize the clocks on the serial interfaces of both routers on the ends of a serial link, one end must provide clocking. But if you have a back-to-back configuration (for example, one that’s used in a lab/classroom environment), on one end—the data communication equipment (DCE) end of the cable—must provide clocking.

Enable clocking on the router that is connected to the DCE cable Setting the Clock Rate The clock speed controls the speed at which data is sent over the connection in bits per second (bps). By default, Cisco routers are all data terminal equipment (DTE) devices, so you must tell an interface to provide clocking if you need it to act like a DCE device. You configure a DCE serial interface with the clock rate command. The DCE sets and controls the clock speed. So, in the case of a link from a service provider, the provider sets the clock speed, and when you connect to the external CSU/DSU, your serial port accepts the configuration. In the case of a back-to-back cable, one of the routers plays the role of the DCE, and that device sets the clock speed for the connection. If you are implementing the same type of layout in a lab, check the cable and identify the DCE side of the cable For two serial interfaces to communicate, you must provide the clock rate. The clock rate provides bit synchronization and has other uses that are beyond the scope of this chapter's purposes. The device that provides this clock rate is the data circuit-terminating equipment (DCE). The other device is denoted as the data terminal equipment (DTE). In the real world, the router is the DTE. The telecom equipment, such as the Frame Relay switch, is the DCE. Because the lab scenario bypasses the telecom equipment, you need to specify which router is the DTE and which one is the DCE; you also need to provide the clock rate. To bypass the telecom equipment, you need to directly connect the routers with a DTE–DCE crossover cable. Each end of this cable is labeled as DTE or DCE. Whichever router is plugged into the DCE end of the cable will need to provide the clock rate. Enable clocking on the router that is connected to the DCE cable

Setting the Clock Rate To find the clock rates that are available on a router

Let’s Build a Following Network

Static Routing 11 Cisco Networking Academy program Routing Protocols Chapter 6: Static Routing Static Routing

Static Routing Reach Remote Networks 6.1.1.1 12 Static Routing 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 networks are automatically learned using a dynamic routing protocol.

Static Routing Static route A static route is created, maintained, and updated by a network administrator, manually. A static route to every network must be configured on every router for full connectivity. If there is no dynamic routing protocols

Static Routing Why Use Static Routing? Advantage of static routing It is most secure way of routing, since no information is shared with other routers. It puts no overhead on resources such as CPU or memory. No routing algorithm or update mechanisms are required. Therefore, extra resources (CPU and memory) are not required. It is easy to implement. 16 Static Routing Why Use Static Routing? Static routing provides some advantages over dynamic routing, including: Static routes are not advertised over the network, resulting in better security. Routers not share static routes with each other, thus reducing CPU/RAM overhead and saving bandwidth.

Static Routing Why Use Static Routing? (continued) 6.1.1.2 17 Static Routing Why Use Static Routing? (continued) Static routing has the following 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. Does not scale well with growing networks; maintenance becomes cumbersome. Requires complete knowledge of the whole network for proper implementation.

Static Routing When to Use Static Routes 6.1.1.3 18 Static Routing When to Use Static Routes Static routing has three primary uses: Small networks: Providing ease of routing table maintenance in smaller networks that are not expected to grow significantly. Default route: 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. Default routes are used to send traffic to any destination beyond the next upstream router.

Static Routing When to Use Static Routes Routing to and from stub networks. A stub network is a network accessed by a single route, and the router has no other neighbors (only one router).

6.1.1.4 Activity - Identify the Advantages and Disadvantages of Static Routing 20 Static Routing Activity - Identify the Advantages and Disadvantages of Static Routing

Types of Static Routes Static Route Applications Reduce the number of routes advertised by summarizing several contiguous networks as one static route 21 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 Summarize routing table entries Create a backup route in case a primary route link fails

Types of Static Routes Standard Static Route 6.1.2.2 22 Types of Static Routes Standard Static Route Static route can be used to connect to a specific network ( like for example a stub network)

Types of Static Routes Default Static Route Note: All routes that identify a specific destination with a larger subnet mask take precedence over the default route. 23 Types of Static Routes Default Static Route Static route can be used to configure default route. A default static route is a route that matches all packets. A default route identifies the gateway IP address to which the router sends all IP packets that it does not have a learned or static route. A default static route is simply a static route with 0.0.0.0/0 as the destination IPv4 address. Configuring a default static route creates a Gateway of Last Resort.

Types of Static Routes Default Static Route Default static routes are used: When no other routes in the routing table match the packet destination IP address. When a router has only one other router to which it is connected. This condition is known as a stub router.

Types of Static Routes Summary Static Route 6.1.2.4 25 Types of Static Routes Summary Static Route

Types of Static Routes Summary Static Route To reduce the number of routing table entries, multiple static routes can be summarized into a single static route if: The destination networks are contiguous and can be summarized into a single network address. The multiple static routes all use the same exit interface or next-hop IP address.

Types of Static Routes Floating Static Route 6.1.2.5 27 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. In order to accomplish this, the floating static route is configured with a higher administrative distance than the primary route.

Types of Static Routes Activity - Identify the Type of Static Route 28 Types of Static Routes Activity - Identify the Type of Static Route

Configure IPv4 Static Routes ip route Command 6.2.1.1 29 Configure IPv4 Static Routes ip route Command Next hop

Configure IPv4 Static Routes Next-Hop Options 6.2.1.2 30 Configure IPv4 Static Routes Next-Hop Options The next hop can be identified by an IP address, exit interface, or both. How the destination is specified creates one of the three following route types: When only the next-hop IP address is specified  Next-hop static route. When only the router exit interface is specified  Directly connected static route. When the next-hop IP address and exit interface are specified  Fully specified static route.

Configure IPv4 Static Routes Configure a Next-Hop Static Route When a packet is destined for the 192.168.2.0/24 network, R1: 1. Looks for a match in the routing table and finds that it has to forward the packets to the next-hop IPv4 address 172.16.2.2. 2. R1 must now determine how to reach 172.16.2.2; therefore, it searches a second time for a 172.16.2.2 match.

Configure IPv4 Static Routes Configure a Next-Hop Static Route In a next-hop static route, only the next-hop IP address is specified. The output interface is derived from the next hop. The router performs multiple lookups in the routing table before forwarding a packet( a recursive lookup). Because recursive lookups consume router resources, they should be avoided when possible.

Configure IPv4 Static Routes Configure Directly Connected Static Route 6.2.1.4 33 Configure IPv4 Static Routes Configure Directly Connected Static Route When configuring a static route, another option is to use the exit interface to specify the next-hop address.

Configure IPv4 Static Routes Configure Directly Connected Static Route Configuring a directly connected static route with an exit interface allows the routing table to resolve the exit interface in a single search, instead of two searches. Although the routing table entry indicates “directly connected”, the administrative distance of the static route is still 1. Only a directly connected interface can have an administrative distance of 0. Note: For point-to-point interfaces, you can use static routes that point to the exit interface or to the next-hop address. For multipoint/broadcast interfaces, it is more suitable to use static routes that point to a next-hop address.

Configure IPv4 Static Routes Configure a Fully Specified Static Route 6.2.1.5 35 Configure IPv4 Static Routes Configure a Fully Specified Static Route In 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 IOS’s, 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.

Configure IPv4 Static Routes Configure a Fully Specified Static Route

Configure IPv4 Static Routes Verify a Static Route 6.2.1.6 37 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

Configure IPv4 Static Routes Verify a Static Route

Configure IPv4 Default Routes Default Static Route 6.2.2.1 39 Configure IPv4 Default Routes Default Static Route

Configure IPv4 Default Routes Configure a Default Static Route 6.2.2.2 40 Configure IPv4 Default Routes Configure a Default Static Route

Configure IPv4 Default Routes Verify a Default Static Route 41 6.2.2.3 Configure IPv4 Default Routes Verify a Default Static Route Note the asterisk (*)next to the route with code ‘S’. The asterisk indicates that this static route is a candidate default route, which is selected as the Gateway of Last Resort.

6.3.1.1 42 Classful Addressing Classful Network Addressing and Default Subnet Masks Class A Class B Class C

CIDR Classless Inter-Domain Routing 43 6.3.1.4 CIDR Classless Inter-Domain Routing Classful Addressing Waste The overall result was that the classful addressing was a very wasteful addressing scheme. A better network addressing solution had to be developed. For this reason, Classless Inter-Domain Routing (CIDR) was introduced in 1993.

CIDR Classless Inter-Domain Routing CIDR also reduces the size of routing tables and manages the IPv4 address space more efficiently using: ■ Route summarization: Also known as prefix aggregation, routes are summarized into a single route to help reduce the size of routing tables. ■ Supernetting: Occurs when the route summarization mask is a smaller value than the default traditional classful mask. Note: A supernet is always a route summary, but a route summary is not always a supernet.

CIDR CIDR and Route Summarization 6.3.2.2 45 CIDR CIDR and Route Summarization

CIDR Static Routing CIDR Example 6.3.2.3 46 CIDR Static Routing CIDR Example

Configure IPv4 Summary Routes Calculate a Summary Route 6.4.1.2 47 Configure IPv4 Summary Routes Calculate a Summary Route

Configure IPv4 Summary Routes Route Summarization 6.4.1.1 48 Configure IPv4 Summary Routes Route Summarization CIDR is a form of route summarization and is synonymous with the term supernetting. CIDR ignores the limitation of classful boundaries, and allows summarization with masks that are smaller than that of the default classful mask. This type of summarization helps reduce the number of entries in routing updates and lowers the number of entries in local routing tables.

Configure IPv4 Summary Routes Summary Static Route Example 6.4.1.3 49 Configure IPv4 Summary Routes Summary Static Route Example

6.4.1.4 Activity - Determine the Summary Network Address and Prefix 50 Types of Static Routes Activity - Determine the Summary Network Address and Prefix

Configure Floating Static Routes Floating Static Routes 6.4.3.1 51 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.

Configure Floating Static Routes Configure a Floating Static Route 52 6.4.3.2 Configure Floating Static Routes Configure a Floating Static Route Default static route Floating default static route

Configure Floating Static Routes Test the Floating Static Route 6.4.3.3 53 Configure Floating Static Routes Test the 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.

Common IOS troubleshooting commands include: ping traceroute 6.5.2.1 54 Troubleshoot IPv4 Static and Default Route Configuration Troubleshoot a Missing Route Common IOS troubleshooting commands include: ping traceroute show ip route show ip interface brief show cdp neighbors detail

Summary 55 Chapter 6 Summary Static routes can be configured with a next-hop IP address, which is commonly the IP address of the next-hop router. When a next-hop IP address is used, the routing table process must resolve this address to an exit interface. On point-to-point serial links, it is usually more efficient to configure the static route with an exit interface. On multi-access networks, such as Ethernet, both a next-hop IP address and an exit interface can be configured on the static route. Static routes have a default administrative distance of "1".

Summary (continued) 56 Chapter 6 Summary A static route is only entered in the routing table if the next-hop IP address can be resolved through an exit interface. Whether the static route is configured with a next-hop IP address or exit interface, if the exit interface that is used to forward that packet is not in the routing table, the static route is not included in the routing table. In many cases, several static routes can be configured as a single summary route. If there is not a more specific match in the routing table, the routing table uses the default route to forward the packet to another router. A floating static route can be configured to back up a main link by manipulating its administrative value.

Any Question?