Está en la página 1de 6

Problemas de RIPv1 y configuración de RIPv2

En esta actividad se pretende que el alumno vea la principal


diferencia entre RIP version 1 y RIP version 2. Para ello debe fijarse
en la práctica de RIP que acaba de hacer y concretamente en el
comando debug IP rip. En este comando se muestra la información
que se intercambian los router. Como se puede ver en RIP versión 1.
Sólo se intercambian, la dirección de la Red y el número de saltos.
Pero ¿y la máscara? Pues en rip versión uno no se pasa la máscara y
se supone que toda la red tiene la misma máscara o se pone la
máscara atendiendo a la clase de la red (clase A, B o C). Por esos se
dice que RIPv1 es un protocolo en enrutamiento con clase. Mientras
que, Rip versión 2 es un protocolo de enrutamiento sin clase.

1. Comprobar de la actividad anterior que en RIP v1 sólo no se pasa la máscara


sólo la dirección de red y la distancia en saltos. Mostrar el comando debug
ip rip del router 3

Router>
Router>enable
Router#debug ip rip
RIP protocol debugging is on
Router#RIP: sending v1 update to 255.255.255.255 via FastEthernet0/0 (192.168.7.2)
RIP: build update entries
network 192.168.1.0 metric 4
network 192.168.2.0 metric 3
network 192.168.3.0 metric 3
network 192.168.4.0 metric 2
network 192.168.5.0 metric 2
network 192.168.6.0 metric 1
network 192.168.7.0 metric 1
network 192.168.8.0 metric 1
network 192.168.9.0 metric 2
RIP: sending v1 update to 255.255.255.255 via Serial3/0 (192.168.8.1)
RIP: build update entries
network 192.168.1.0 metric 4
network 192.168.2.0 metric 3
network 192.168.3.0 metric 3
network 192.168.4.0 metric 2
network 192.168.5.0 metric 2
network 192.168.6.0 metric 1
network 192.168.7.0 metric 1
network 192.168.8.0 metric 1
network 192.168.9.0 metric 2
RIP: sending v1 update to 255.255.255.255 via Serial2/0 (192.168.6.2)
RIP: build update entries
network 192.168.1.0 metric 4
network 192.168.2.0 metric 3
network 192.168.3.0 metric 3
network 192.168.4.0 metric 2
network 192.168.5.0 metric 2
network 192.168.6.0 metric 1
network 192.168.7.0 metric 1
network 192.168.8.0 metric 1
network 192.168.9.0 metric 2
RIP: received v1 update from 192.168.6.1 on Serial2/0
192.168.1.0 in 3 hops
192.168.2.0 in 2 hops
192.168.3.0 in 2 hops
192.168.4.0 in 1 hops
192.168.5.0 in 1 hops
192.168.6.0 in 1 hops
192.168.7.0 in 2 hops
192.168.8.0 in 2 hops
192.168.9.0 in 3 hops
RIP: received v1 update from 192.168.8.2 on Serial3/0
192.168.1.0 in 5 hops
192.168.2.0 in 4 hops
192.168.3.0 in 4 hops
192.168.4.0 in 3 hops
192.168.5.0 in 3 hops
192.168.6.0 in 2 hops
192.168.7.0 in 2 hops
192.168.8.0 in 1 hops
192.168.9.0 in 1 hops
Router#
Router#undebug all
All possible debugging has been turned off
2. En el packet tracer vinculado a esta actividad. Comprueba con el comando
show ip protocols en qué versión está configurado RIP. Mostrar el resultado
del show ip protocols del router 3.

Router>
Router>enable
Router#show ip protocols
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 8 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Redistributing: rip
Default version control: send version 1, receive any version
Interface Send Recv Triggered RIP Key-chain
FastEthernet0/0 1 2 1
Serial3/0 1 2 1
Serial2/0 1 2 1
Automatic network summarization is in effect
Maximum path: 4
Routing for Networks:
192.168.1.0
Passive Interface(s):
Routing Information Sources:
Gateway Distance Last Update
192.168.1.113 120 00:00:25
Distance: (default is 120)
Router#
3. En el packet tracer vinculado a esta actividad. Visualiza las tablas de rutas
de los routers y comprueba que no funcionan, que faltan redes. Muestrea la
tabla de rutas del router 3

Router#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is not set

192.168.1.0/24 is variably subnetted, 5 subnets, 2 masks


C 192.168.1.32/27 is directly connected, FastEthernet0/0
R 192.168.1.104/30 [120/2] via 192.168.1.113, 00:00:17, Serial2/0
R 192.168.1.108/30 [120/1] via 192.168.1.113, 00:00:17, Serial2/0
C 192.168.1.112/30 is directly connected, Serial2/0
C 192.168.1.116/30 is directly connected, Serial3/0

Router#

4. Pasa todos los routers a RIP v2. Para ello sólo debes poner
router rip
version 2
Comprueba ahora las tablas de rutas y muestra la tabla de rutas del router
3. Verás que las tablas están correctas según las redes existentes.

Router#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is not set

192.168.1.0/24 is variably subnetted, 9 subnets, 4 masks


R 192.168.1.0/27 [120/3] via 192.168.1.113, 00:00:27, Serial2/0
C 192.168.1.32/27 is directly connected, FastEthernet0/0
R 192.168.1.64/28 [120/2] via 192.168.1.113, 00:00:27, Serial2/0
R 192.168.1.80/28 [120/1] via 192.168.1.118, 00:00:07, Serial3/0
R 192.168.1.96/29 [120/1] via 192.168.1.113, 00:00:27, Serial2/0
R 192.168.1.104/30 [120/2] via 192.168.1.113, 00:00:27, Serial2/0
R 192.168.1.108/30 [120/1] via 192.168.1.113, 00:00:27, Serial2/0
C 192.168.1.112/30 is directly connected, Serial2/0
C 192.168.1.116/30 is directly connected, Serial3/0

Router#

5. Con los routers en RIP versión 2. Realiza un debug ip rip y demustra que en
esta versión si se pasa la máscara. Muestra el debug ip rip del router 3.

Router#debug ip rip
RIP protocol debugging is on
Router#RIP: sending v2 update to 224.0.0.9 via FastEthernet0/0 (192.168.1.33)
RIP: build update entries
192.168.1.0/27 via 0.0.0.0, metric 4, tag 0
192.168.1.64/28 via 0.0.0.0, metric 3, tag 0
192.168.1.80/28 via 0.0.0.0, metric 2, tag 0
192.168.1.96/29 via 0.0.0.0, metric 2, tag 0
192.168.1.104/30 via 0.0.0.0, metric 3, tag 0
192.168.1.108/30 via 0.0.0.0, metric 2, tag 0
192.168.1.112/30 via 0.0.0.0, metric 1, tag 0
192.168.1.116/30 via 0.0.0.0, metric 1, tag 0
RIP: sending v2 update to 224.0.0.9 via Serial3/0 (192.168.1.117)
RIP: build update entries
192.168.1.0/27 via 0.0.0.0, metric 4, tag 0
192.168.1.32/27 via 0.0.0.0, metric 1, tag 0
192.168.1.64/28 via 0.0.0.0, metric 3, tag 0
192.168.1.96/29 via 0.0.0.0, metric 2, tag 0
192.168.1.104/30 via 0.0.0.0, metric 3, tag 0
192.168.1.108/30 via 0.0.0.0, metric 2, tag 0
192.168.1.112/30 via 0.0.0.0, metric 1, tag 0
RIP: sending v2 update to 224.0.0.9 via Serial2/0 (192.168.1.114)
RIP: build update entries
192.168.1.32/27 via 0.0.0.0, metric 1, tag 0
192.168.1.80/28 via 0.0.0.0, metric 2, tag 0
192.168.1.116/30 via 0.0.0.0, metric 1, tag 0
RIP: received v2 update from 192.168.1.118 on Serial3/0
192.168.1.80/28 via 0.0.0.0 in 1 hops
RIP: received v2 update from 192.168.1.113 on Serial2/0
192.168.1.0/27 via 0.0.0.0 in 3 hops
192.168.1.64/28 via 0.0.0.0 in 2 hops
192.168.1.96/29 via 0.0.0.0 in 1 hops
192.168.1.104/30 via 0.0.0.0 in 2 hops
192.168.1.108/30 via 0.0.0.0 in 1 hops
Router#
Router#undebug all
All possible debugging has been turned off

También podría gustarte