Lab Rip Ospf
Lab Rip Ospf
Lab Rip Ospf
Objetivos:
Revisar la configuracin de RIP y OSPF, y verificarla.
Configurar interfaces pasivas en RIP y OSPF.
Filtrar actualizaciones de enrutamiento usando listas de distribucin (distribute
lists)
Redistribuir rutas estticas en RIP
Redistribuir rutas RIP en OSPF
Redistribuir rutas OSPF en RIP
Generar una ruta por defecto en OSPF
Poner la mtrica seed por defecto
Modificar tipos de redes externas de OSPF
Configurar direcciones sumarizadas.
Desarrollo:
1.- Configurar las interfaces fsicas y lgicas en los routers.
2.- Configurar RIPv2 en R1 y R2.
R1(config)# router rip
R1(config-router)# version 2
R1(config-router)# no auto-summary
R1(config-router)# network 172.16.0.0
R1(config-router)# network 192.168.48.0
R1(config-router)# network 192.168.49.0
R1(config-router)# network 192.168.50.0
R1(config-router)# network 192.168.51.0
R1(config-router)# network 192.168.70.0
R2(config)# router rip
R2(config-router)# version 2
R2(config-router)# no auto-summary
R2(config-router)# network 172.16.0.0
Verificar las rutas ingresadas a la tabla de enrutamiento de R1 y R2.
Tambin se puede usar el comando show ip rip database para ver informacin del
protocolo RIP.
R1# show ip route rip
172.16.0.0/24 is subnetted, 4 subnets
R
172.16.23.0 [120/1] via 172.16.12.2, 00:00:03, Serial0/0/0
R
172.16.2.0 [120/1] via 172.16.12.2, 00:00:03, Serial0/0/0
R2# show ip route rip
172.16.0.0/24 is subnetted, 4 subnets
R
172.16.1.0 [120/1] via 172.16.12.1, 00:00:29, Serial0/0/0
R 192.168.51.0/24 [120/1] via 172.16.12.1, 00:00:29, Serial0/0/0
R 192.168.50.0/24 [120/1] via 172.16.12.1, 00:00:29, Serial0/0/0
R 192.168.49.0/24 [120/1] via 172.16.12.1, 00:00:29, Serial0/0/0
R 192.168.70.0/24 [120/1] via 172.16.12.1, 00:00:29, Serial0/0/0
R 192.168.48.0/24 [120/1] via 172.16.12.1, 00:00:29, Serial0/0/0
R1# show ip rip database
172.16.0.0/16 auto-summary
172.16.1.0/24 directly connected, Loopback0
172.16.2.0/24
[1] via 172.16.12.2, 00:00:06, Serial0/0/0
172.16.12.0/24 directly connected, Serial0/0/0
172.16.23.0/24
[1] via 172.16.12.2, 00:00:06, Serial0/0/0
192.168.48.0/24 auto-summary
192.168.48.0/24 directly connected, Loopback48
2
192.168.49.0/24
192.168.49.0/24
192.168.50.0/24
192.168.50.0/24
192.168.51.0/24
192.168.51.0/24
192.168.70.0/24
192.168.70.0/24
auto-summary
directly connected,
auto-summary
directly connected,
auto-summary
directly connected,
auto-summary
directly connected,
Loopback49
Loopback50
Loopback51
Loopback70
Last Update
00:00:26 Distance: (default is 120)
loopback
loopback
loopback
loopback
loopback
loopback
0
48
49
50
51
70
R2(config)#router rip
R2(config-router)#passive-interface loopback 0
4.- Aplicar sumarizacin con RIP.
Revisar la tabla de enrutamiento de R2 y detectar las redes que pueden ser
sumarizadas.
R2# show ip route rip
172.16.0.0/24 is subnetted, 4 subnets
R
172.16.1.0 [120/1] via 172.16.12.1, 00:00:29, Serial0/0/0
R 192.168.51.0/24 [120/1] via 172.16.12.1, 00:00:29, Serial0/0/0
R 192.168.50.0/24 [120/1] via 172.16.12.1, 00:00:29, Serial0/0/0
R 192.168.49.0/24 [120/1] via 172.16.12.1, 00:00:29, Serial0/0/0
R 192.168.48.0/24 [120/1] via 172.16.12.1, 00:00:29, Serial0/0/0
R 192.168.70.0/24 [120/1] via 172.16.12.1, 00:00:29, Serial0/0/0
En R1, aplicar los comandos siguientes para sumarizar usando la direccin
192.168.48.0 255.255.252.0:
R1(config)# ip route 192.168.48.0 255.255.252.0 null0
R1(config)# router rip
R1(config-router)# redistribute static
Para verificar el resultado de esta sumarizacin, revisar la tabla de enrutamiento en
R1 y en R2:
4
Interface
5
192.168.40.1
0 FULL/ -
00:00:37
172.16.23.3
Serial0/0/1
Interface
Serial0/0/1
172.16.0.0
10