Clase 6. Dynamic Routing & RIP
Clase 6. Dynamic Routing & RIP
Clase 6. Dynamic Routing & RIP
Tema 6. Dynamic
Routing & RIPv2
Alberto Arellano A. Ing. Msc.
[email protected]
CCNA – CCNP - CCSP
1
Dynamic Routing Protocol
Operation
networks.
When a router detects a topology change the routing protocol can
5
CNT BGP TELCONET
An autonomous system
(AS), is a collection of routers
under a common
administration.
• Company ’ s internal
network
• An ISP’s network.
AS-1
BGP
EIGRP
Static Route
ISP-2 AS-3
OSPF Default Static Route IS-IS
Single customer
Distance vector
Routes are advertised as vectors
Exit interface
neighbors.
Does not know if another path would actually be faster.
Standard Protocol
decision!
Link-State Protocol
Operation
Link-state protocols work
best in situations where
The network design is
hierarchical, usually
occurring in large networks.
172.16.0.0/16
Major Classful
Network
Classful routing protocols do not send subnet mask information in their routing
updates:
Only RIPv1 and IGRP are classful.
Created when network addresses were allocated based on classes (class A, B,
or C).
Cannot provide variable length subnet masks (VLSMs) and classless
interdomain routing (CIDR).
Create problems in discontiguous networks.
R1 Forwards a Classful Update to R2
172.16.1.0/24 192.168.1.0/30 192.168.2.0/30 172.16.2.0/24
.1 .1 .2 .2 .1 .1
S0/0/0 S0/0/0 S0/0/1 S0/0/1
G0/0 R1 R2 R3 G0/0
Routing update:
My 30 seconds are up. 172.16.0.0
I’m sending an update
to my RIP neighbor(s).
Discontiguous Networks
172.16.1.0/24 192.168.1.0/30 192.168.2.0/30 172.16.2.0/24
.1 .1 .2 .2 .1 .1
S0/0/0 S0/0/0 S0/0/1 S0/0/1
G0/0 R1 R2 R3 G0/0
Routing update:
My 30 seconds are up.
I’m sending an update 172.16.1.0/24
to my RIP neighbor(s).
R2# show ip route | begin Gateway
Gateway of last resort is not set
Routing update:
My 30 seconds are up.
172.16.2.0/24 I’m sending an update
to my RIP neighbor(s).
protocols.
Two different routing protocols might choose different paths to
For example:
56 Kbps
27
Routing Protocol Metrics
R 192.168.1.0/24 [120/1] via 192.168.2.1, 00:00:24, Serial0/0/0
C 192.168.2.0/24 is directly connected, Serial0/0/0
C 192.168.3.0/24 is directly connected, FastEthernet0/0
C 192.168.4.0/24 is directly connected, Serial0/0/1
R 192.168.5.0/24 [120/1] via 192.168.4.1, 00:00:26, Serial0/0/1
R 192.168.6.0/24 [120/1] via 192.168.2.1, 00:00:24, Serial0/0/0
[120/1] via 192.168.4.1, 00:00:26, Serial0/0/1
R 192.168.7.0/24 [120/1] via 192.168.4.1, 00:00:26, Serial0/0/1
R 192.168.8.0/24 [120/2] via 192.168.4.1, 00:00:26, Serial0/0/1
30
Routing Information
Protocol ver. 1 (RIPv1)
summarization.
Secure: Supports an authentication mechanism to
R1(config)#int fa0/0
R1(config-if)#ip summary-address rip 1.1.0.0 255.255.248.0
RIPv1 versus RIPv2
Supports VLSM
Supports CIDR
Supports Summarization
Secure
RIP Summary
IGRP
The Interior Gateway Routing Protocol (IGRP) was
the first proprietary IPv4 routing protocol developed by
Cisco in 1984.
IGRP Features:
No hop limit
Easy to understand
the calculation.
Routing updates are broadcast every 90 seconds, by
default.
EIGRP
In 1992, Enhanced IGRP (EIGRP) replaced IGRP.
EIGRP also supports VLSM and CIDR, increases
Rapid convergence
IPX, Appletalk)
IGRP versus EIGRP
Supports VLSM
Supports CIDR
Supports Summarization
Supports Authentication
RIPv2 Topology
192.168.3.0/24
Example
42
GNS3 Cloud object
192.168.3.0/24
The cloud object was in fact a direct usage of the emulator capabilities to
connect to external networks
43
Configure Mikrotik
GUI Access
192.168.1.0/24 .1 G0/0
192.168.5.0/24
.1 DCE DCE .1
S0/0/0 S0/0/0 S0/0/1
G0/0 R1 R2 S0/0/1 R3 G0/0
.1 .2 .2 .1
192.168.2.0/30 192.168.4.0/30
Wastes Resources
Security Risk
The passive-interface
Stops routing updates out the specified interface.
The network that the specified interface belongs to is still
advertised in routing updates that are sent out other interfaces.
Should be configured on interfaces which do not connect to
other RIP routers.
Configuring a Passive
Interface on Cisco
192.168.3.0/24
Routing update:
192.168.1.0/24
192.168.1.0/24 .1 G0/0
192.168.5.0/24
.1 DCE DCE .1
S0/0/0 S0/0/0 S0/0/1
G0/0 R1 R2 S0/0/1 R3 G0/0
.1 .2 .2 .1
192.168.2.0/30 192.168.4.0/30