Download presentation
Presentation is loading. Please wait.
1
Routing and Routing Protocols: Routing Static
2
Objectives
3
Route Types
4
Introducing Routing In order to forward packets correctly, routers must learn the path to remote networks. There are methods by which a router can learn these routes: Dynamic routing - information is learned from other routers, and routing protocols adjust routes automatically. Static routing - network administrator configures information about remote networks manually. They are used to reduce overhead and for security. Because of the extra administrative requirements, static routing does not have the scalability of dynamic routing. In most networks static routes are often used in conjunction with a dynamic routing protocol.
5
ip route network_address network_mask next_hop | interface_admin_dist
Static Routes Static routes are manually configured using the ip route command The IP route command can set the next hop by specifying either: The outgoing interface, or The next hop IP address of the adjacent router See examples in next slides Command Format ip route network_address network_mask next_hop | interface_admin_dist
6
1. Specifying the Outgoing Interface
7
2. Specifying the Next-hop IP Address
8
Administrative Distance
The Administrative Distance is the trustworthiness of the source of the route. The router by default assigns a Administrative Distance of 1 to static routes. It is assumed that if the administrator takes the time to figure out what route the packet should take then this routing information must be very reliable Only directly connected routes have a default Administrative Distance that is trusted more (directly connected default Administrative Distance is 0). Administrative Distance should not be confused with the Metric of the route. The metric of the route is how good an individual route is When a router selects a route to a particular destination to put in the routing table, it first examines the Administrative Distance of all the routes available to that destination If it has alternate routes to the same destination it will use the route with the lowest Administrative Distance
9
Configuring Static Routes
We can configure static routes to all destinations
10
Non-directly Connected Networks
Or we can set a default route to be used for any destination that does not have a routing table entry
11
Verifying Static Route Configuration
The command show running-config is used to view the active configuration in RAM to verify that the static route was entered correctly. The show ip route command is used to make sure that the static route is present in the routing table
12
Static routes to next hop addresses have administrative distance of 1.
Static routes between networks are manually configured by an administrator. Static routes are added with the following command: Router(config)# ip route E0 Static routes out interfaces have an administrative distance of 0. Network Address Subnet Mask Interface This command sets a default route on a router: ip route [next-hop-address | outgoing interface] Router(config)# ip route Static routes to next hop addresses have administrative distance of 1. You can specify a non-default administrative distance for a static route: Router(config)# ip route Default routes are used to route packets with destinations that do not match any of the other routes in the routing table
13
Troubleshooting Static Route Configuration
The show interfaces command The ping command The traceroute command
14
Verifying / Troubleshooting the Static Route
Verifying static route configuration After static routes are configured it is important to verify that they are present in the routing table and that routing is working as expected The command show running-config is used to view the active configuration in NVRAM to verify that the static route was entered correctly The show ip route command is used to make sure that the static route is present in the routing table Troubleshooting static route configuration The show interfaces command can be used to check the state and configuration of the interface that is to be used for the route gateway The ping command is used to determine if end-to end connectivity exists If an echo reply is not received after a ping, traceroute will be used to determine which router in the route path is dropping the packets
15
The show ip route Command Output
16
The ping and traceroute Commands
17
Routed Versus Routing Protocol
18
Autonomous Systems AS 10 AS 20
19
Autonomous Systems Autonomous Systems divide the global internetwork into smaller, more manageable networks. An Autonomous System is a collection of networks under a common administration (a single organisation, ISP or systems administrator) and sharing a common routing strategy. Typically the world wide organisation ICANN, the ISP, or the administrator assigns a unique AS number to the Autonomous System. The Autonomous System number uniquely distinguish it from other Autonomous Systems around the world. Each Autonomous Systems has its own set of rules and policies.
20
Routing Protocols Overview
Features Distance vector, hop count metric, maximum 15 hops, broadcasts updates every 30 secs. Cisco proprietary distance vector, bandwidth / load / delay / reliability composite metric, broadcast updates every 90 secs. Cisco proprietary, enhanced distance vector (hybrid), load balancing, uses DUAL to calculate shortest path. Routing updates are triggered by topology changes. Link-state, open standard, Uses SPF algorithm. Routing updates are sent as topology changes occur. Distance vector exterior routing protocol, used between ISPs, used to route traffic between ASs. RIP IGRP EIGRP OSPF BGP
21
Summary
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.