Lesson 4 - Routing Technologies
Lesson 4 - Routing Technologies
LAN Connections
Cisco 2800 Series
Routers Router
Classful routing protocols do not include the subnet mask with the
route advertisement.
Within the same network, consistency of the subnet masks is
assumed.
Summary routes are exchanged between foreign networks.
These are examples of classful routing protocols:
– RIPv1
– IGRP
Classless Routing Protocol
Classless routing protocols include the subnet mask with the
route advertisement.
Classless routing protocols support a variable-length subnet
mask (VLSM).
Summary routes can be manually controlled within the network.
These are examples of classless routing protocols:
– RIPv2
– EIGRP
– OSPF
– IS-IS
Routing Metrics
If a router learns of more than one route to reach one
subnet, choose the best route based on that routing
protocol’s concept of a metric
Administrative Distance:
Ranking Routes If a router learns routes for the listed subnet
from more than one source of routing
information, the router uses the source with
the lowest administrative distance (AD)
Static Routes
or
Router(config)#ip route 172.16.1.0 255.255.255.0 s0/0/0
This route allows the stub network to reach all known networks beyond
Router A.
Verifying the Static
Route Configuration
WAN Connections
What Is a Routing Protocol?
Routing protocols
are used between
routers to determine
paths and maintain
routing tables.
After the path is
determined, a router
can route a routed
protocol.
Autonomous Systems: Interior or
Exterior Routing Protocols
Classful routing protocols do not include the subnet mask with the
route advertisement.
Within the same network, consistency of the subnet masks is
assumed.
Summary routes are exchanged between foreign networks.
These are examples of classful routing protocols:
– RIPv1
– IGRP
Classless Routing Protocol
Classless routing protocols include the subnet mask with the
route advertisement.
Classless routing protocols support a variable-length subnet
mask (VLSM).
Summary routes can be manually controlled within the network.
These are examples of classless routing protocols:
– RIPv2
– EIGRP
– OSPF
– IS-IS
Distance Vector Routing Protocols
RIPv1 RIPv2
Routing protocol Classful Classless
Supports variable-length subnet mask? No Yes
Sends the subnet mask along with the routing
No Yes
update?
Addressing type Broadcast Multicast
RFCs 1721,
Defined in … RFC 1058
1722, and 2453
Supports manual route summarization? No Yes
Authentication support? No Yes
IP Routing Configuration Tasks
Router configuration
– Select routing protocols
– Specify networks or interfaces
RIP Configuration
RouterX(config-router)# version 2
Serial0/0/2 2 2
RouterA#
Displaying the IP Routing Table
10
10
1
1
Router ID:
Number by which the router is known to OSPF
Default: The highest IP address on an active interface at the moment of
OSPF process startup
Can be overridden by a loopback interface: Highest IP address of any active
loopback interface
Can be set manually using the router-id command
Verifying the OSPF Configuration
RouterX# show ip protocols
Verifies that OSPF is configured
RouterX# show ip route
splays all the routes learned by the router
RouterX# show ip route
RouterX(config-if)#
ip ospf authentication [message-digest | null]
Specifies the authentication type for an interface (as of Cisco
IOS Release 12.0)
OR
RouterX(config-router)#
area area-id authentication [message-digest]
Specifies the authentication type for an area
Plaintext Password Authentication
Configuration Example
Verifying Plaintext Password
Authentication
RouterX#show ip route
<output omitted>
Gateway of last resort is not set
10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
O 10.2.2.2/32 [110/782] via 192.168.1.102, 00:01:17, Serial0/0/1
C 10.1.1.0/24 is directly connected, Loopback0
192.168.1.0/27 is subnetted, 1 subnets
C 192.168.1.96 is directly connected, Serial0/0/1
RouterX#ping 10.2.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/29/32 ms
Visual Objective 4-1: Implementing OSPF
Summary
EIGRP Implementation
EIGRP Features
Note: EIGRP routes are exchanged only when a change in topology occurs.
EIGRP Metric
The criteria that EIGRP uses by default to calculate its
metric:
Bandwidth
Delay
The optional criteria that EIGRP can be configured to
use when calculating its metric:
Reliability
Load
RouterX(config-keychain)#
key key-id
Identifies the key and enters the configuration mode for the key ID
Configuring EIGRP MD5 Authentication
(Cont.)
RouterX(config-keychain-key)#
key-string text
Identifies the key string (password)
RouterX(config-keychain-key)#
accept-lifetime start-time {infinite | end-time | duration
seconds}
(Optional) Specifies when the key is accepted for received packets
RouterX(config-keychain-key)#
send-lifetime start-time {infinite | end-time | duration
seconds}
(Optional) Specifies when the key can be used for sending packets
Configuring EIGRP MD5 Authentication
(Cont.)
RouterX(config-if)#
ip authentication mode eigrp autonomous-system md5
Specifies MD5 authentication for EIGRP packets
RouterX(config-if)#
ip authentication key-chain eigrp autonomous-system
name-of-chain
Enables authentication of EIGRP packets using the key in the keychain
Example EIGRP MD5 Authentication
Configuration
RouterX
<output omitted>
key chain RouterXchain
key 1
key-string firstkey
accept-lifetime 04:00:00 Jan 1 2006 infinite
send-lifetime 04:00:00 Jan 1 2006 04:01:00 Jan 1 2006
key 2
key-string secondkey
accept-lifetime 04:00:00 Jan 1 2006 infinite
send-lifetime 04:00:00 Jan 1 2006 infinite
<output omitted>
!
interface Serial0/0/1
bandwidth 64
ip address 192.168.1.101 255.255.255.224
ip authentication mode eigrp 100 md5
ip authentication key-chain eigrp 100 RouterXchain
Example EIGRP MD5 Authentication
Configuration (Cont.)
RouterY
<output omitted>
key chain RouterYchain
key 1
key-string firstkey
accept-lifetime 04:00:00 Jan 1 2006 infinite
send-lifetime 04:00:00 Jan 1 2006 infinite
key 2
key-string secondkey
accept-lifetime 04:00:00 Jan 1 2006 infinite
send-lifetime 04:00:00 Jan 1 2006 infinite
<output omitted>
!
interface Serial0/0/1
bandwidth 64
ip address 192.168.1.102 255.255.255.224
ip authentication mode eigrp 100 md5
ip authentication key-chain eigrp 100 RouterYchain
Verifying MD5 Authentication
RouterX#
*Jan 21 16:23:30.517: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.1.102
(Serial0/0/1) is up: new adjacency
RouterX#show ip route
<output omitted>
Gateway of last resort is not set
D 172.17.0.0/16 [90/40514560] via 192.168.1.102, 00:02:22, Serial0/0/1
172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks
D 172.16.0.0/16 is a summary, 00:31:31, Null0
C 172.16.1.0/24 is directly connected, FastEthernet0/0
192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.1.96/27 is directly connected, Serial0/0/1
D 192.168.1.0/24 is a summary, 00:31:31, Null0
RouterX#ping 172.17.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.17.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/15/16 ms
Visual Objective 5-1:
Implementing EIGRP
Summary