Академический Документы
Профессиональный Документы
Культура Документы
ROUTE v6 Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
Chapter 1 Objectives
Describe common enterprise traffic requirements and network design models. Describe how to create a plan for implementing routing services in an enterprise network. Review the fundamentals of routing and compare various routing protocols.
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
This mix of traffic greatly impacts the network requirements such as security and performance. To help enterprises, Cisco has developed the Intelligent Information Network (IIN).
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
The IIN technology vision consists of 3 three phases in which functionality can be added to the infrastructure as required:
Integrated transport Integrated services Integrated applications
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
Application Layer:
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
It provides a modular framework that allows design flexibility and facilitates implementation and troubleshooting.
The hierarchical model is useful for smaller networks, but does not scale well to todays larger, more complex networks.
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
10
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
11
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
12
Building Access
ISP A
ISP B
PSTN
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
13
Building Access
ISP A
ISP B
PSTN
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
14
Building Access
ISP A
ISP B
PSTN
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
15
Building Access
ISP A
ISP B
PSTN
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
16
Prepare
Plan
Design
Implement
Operate
Optimize
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
17
3.
4.
5. 6.
Configure EIGRP routing protocol Verify configuration and record the results
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
18
IP Routing Overview
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
19
Routing
This section addresses the ways in which routers learn about networks and how routers can incorporate static and dynamic routes. A router can be made aware of remote networks in two ways:
An administrator can manually configure the information (static routing) The router can learn from other routers (dynamic routing).
A routing table can contain both static and dynamically recognized routes.
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
20
Static Routes
A static route can be used in the following circumstances:
To have absolute control of routes used by the router. When a backup to a dynamically recognized route is necessary. When it is undesirable to have dynamic routing updates forwarded across slow bandwidth links. To reach a stub network.
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
21
Static Routing
Configure a static route with the ip route command.
Router(config)# ip route prefix mask address interface dhcp distance name next-hop-name permanent track number tag tag Parameter
prefix mask address interface dhcp distance name next-hopname permanent track number tag tag
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
Description
The IP network and subnet mask for the remote network to be entered into the IP routing table. The IP address of the next hop that can be used to reach the destination network. The local router outbound interface to be used to reach the destination network. (Optional) Enables a Dynamic Host Configuration Protocol (DHCP) server to assign a static route to a default gateway (option 3). (Optional) The administrative distance to be assigned to this route. (Optional) Applies a name to the specified route. (Optional) Specifies that the route will not be removed from the routing table even if the interface associated with the route goes down. (Optional) Associates a track object with this route. Valid values for the number argument range from 1 to 500. (Optional) A value that can be used as a match value in route maps.
22
R1
Fa0/0 172.16.1.0 /24
10.1.1.2
S0/0/0 10.1.1.1
R2
Fa0/0 10.2.0.0 /16
192.168.1.2
192.168.1.1
Internet
R1(config)# ip route 0.0.0.0 0.0.0.0 10.1.1.1 R1(config)# exit R1# show ip route <output omitted> Gateway of last resort is not set C 172.16.1.0 is directly connected, FastEthernet0/0 C 10.1.1.0 is directly connected, Serial0/0/0 S* 0.0.0.0/0 [1/0] via 10.1.1.1 R1#
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
23
Dynamic Routing
Dynamic routing (RIPv1, RIPv2, EIGRP, OSPF, and IS-IS) allows the network to adjust to changes in the topology automatically, without administrator involvement. The information exchanged by routers includes the metric or cost to each destination (this value is sometimes called the distance).
Different routing protocols base their metric on different measurements, including hop count, interface speed, or morecomplex metrics.
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
24
On-Demand Routing
Static routes must be manually configured and updated when the network topology changes. Dynamic routing protocols use network bandwidth and router resources.
Resource usage of dynamic routing can be considerable.
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
25
ODR
ODR is applicable in a hub-and-spoke topology only. ODR works with the Cisco Discovery Protocol (CDP) to carry network information between spokes and hub router. The hub router sends a default route to the spokes that points back to itself and installs the stub networks reported by ODR in its routing table.
The hub router can then be configured to redistribute the ODR learned routes into a dynamic routing protocol.
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
26
Configuring ODR
ODR is configured:
On all routers, CDP must be enabled. On the hub router using the router odr global config command. On the stub routers, no IP routing protocol can be configured.
ODR learned routes appear in the hub router routing table with an entry of o and an administrative distance of 160.
On each spoke router, the routing table contains only its connected networks and a static default route injected by ODR from the hub.
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
27
Configuring ODR
R1 is a hub router while R2 and R3 are stub routers. All routers have CDP enabled.
S0/0/1
S0/0/2
R2
10.1.1.2
10.1.1.1
R1
10.2.2.1
10.2.2.2
R3
172.16.1.0 /24
172.16.2.0 /24
R1(config)# router odr R1(config)# exit R1# show ip route <output omitted> 172.16.0.0/16 is subnetted, 2 subnets o 172.16.1.0/24 [160/1] via 10.1.1.2, 00:00:23, Serial0/0/1 o 172.16.2.0/24 [160/1] via 10.2.2.2, 00:00:03, Serial0/0/2 <output omitted> R1#
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
28
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
29
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
30
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
31
R1 therefore receives routes about 172.16.0.0 /16 from two different directions and it might make an incorrect routing decision.
Fa0/0 192.168.1.0 /24 192.168.2.0 /24 Fa0/0
R2
172.16.1.0 /24
R1
R3
172.16.2.0 /24
Cisco Public
32
R1 Routing Table:
172.16.1.0/24 172.16.2.0/24
Fa0/0 192.168.1.0 /24 192.168.2.0 /24 Fa0/0
R2
172.16.1.0 /24
R1
R3
172.16.2.0 /24
Cisco Public
33
ip classless Command
The behavior of a classful routing protocol changes when the ip classless global config command is used. Classful protocols assume that if the router knows some of the subnets of a classful network (e.g. 10.0.0.0), then it must know all that networks existing subnets.
If a packet arrives for an unknown destination on the 10.0.0.0 subnet and:
ip classless is not enabled, the packet is dropped. ip classless is enabled, then the router will follow the best supernet route or the default route.
Since IOS release 12.0, ip classless is enabled by default and should not be disabled.
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
34
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
35
RIPv1
RIPv2
EIGRP
IS-IS
OSPF
BGP
(can be disabled
using no autosummary)
Manual route summarization Hierarchical topology required Size of network Metric Convergence time
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
36
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
37
Administrative Distance
Cisco routers use a value called administrative distance to select the best path when they learn of two or more routes to the same destination with the same prefix from different routing protocols. Administrative distance rates a routing protocols believability. Cisco has assigned a default administrative distance value to each routing protocol supported on its routers.
Each routing protocol is prioritized in the order of most to least believable.
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
38
Administrative Distances
Route Source Default Distance Routing Table Entry
Connected interface Static route out an interface Static route to a next-hop address EIGRP summary route External BGP Internal EIGRP IGRP OSPF IS-IS RIPv1, RIPv2 Exterior Gateway Protocol (EGP) ODR External EIGRP Internal BGP Unknown
Chapter 1
C S S D B D I O i R E O D EX B
Cisco Public
39
To configure a static route use the ip route command with the distance parameter.
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
40
Backup link
172.16.1.1 192.168.1.0 /24 172.16.1.2
R1
Fa0/0 172.17.0.0 /16
R1(config)# ip route 10.0.0.0 255.0.0.0 172.16.1.2 100 R1(config)# router eigrp 1 R1(config-router)# network 172.17.0.0 R1(config-router)# network 192.168.1.0 R2(config)# ip route 172.17.0.0 255.255.0.0 172.16.1.1 100 R2(config)# router eigrp 1 R2(config-router)# network 10.0.0.0 R2(config-router)# network 192.168.1.0
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
41
Although the best practice is to use one IP routing protocol throughout the enterprise if possible, in some cases multiple routing protocols might be required.
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
42
Building Distribution
Edge Distribution
Server Farm
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
43
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
44
Chapter 1 Summary
Traffic in converged networks includes voice and video, voice applications, mission-critical, transactional, routing protocol, and network management. The three phases of the Cisco IIN: integrated transport, integrated services, and integrated applications. The three layers of the Cisco SONA architectural framework: networked infrastructure, interactive services, application. The components of the Cisco Enterprise Architecture for integration of the entire network: campus, data center, branches, teleworkers, and WAN. The traditional hierarchical network model with its three layers: core, distribution, and access. The Cisco Enterprise Composite Network Model with its three functional areas and their associated modules:
Enterprise Campus: Building, Building Distribution, Core, Edge Distribution, Server Farm, Management Enterprise Edge: E-commerce, Corporate Internet, VPN and Remote Access, WAN Service Provider Edge: ISP, PSTN, Frame Relay/ATM.
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
45
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
46
The process that Cisco routers use to populate their routing tables includes a valid next-hop IP address, Administrative distance, metric, and prefix.
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
47
Chapter 1 Labs
Lab 1-1 Tcl Script Reference and Demonstration
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
48
Chapter 1 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
49