Escenario de pruebas de redistribución de la ruta por defecto en distintos protocolos de enrutamiento

Fecha: Diciembre 2012

 

 

El escenario comprende de un router de borde con una ruta por defecto (o quad zero) y esta es redistribuida por EIGRP,

luego por OSPF y luego por RIP, utilizando las distintas opciones que presenta cada protocolo.

 

Verificación del escenario terminado:

 

Gateway#sh 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 200.0.0.1 to network 0.0.0.0

 

     10.0.0.0/30 is subnetted, 1 subnets

C       10.0.0.0 is directly connected, Serial0/0/0

S    192.168.0.0/22 [1/0] via 10.0.0.2

C    200.0.0.0/24 is directly connected, FastEthernet0/0

S*   0.0.0.0/0 [1/0] via 200.0.0.1 (ruta por defecto)

Gateway#

 

Router1#sh 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 10.0.0.1 to network 0.0.0.0

 

     10.0.0.0/30 is subnetted, 1 subnets

C       10.0.0.0 is directly connected, Serial0/0/0

D EX 192.168.0.0/22 [170/7289856] via 10.0.0.1, 00:04:58, Serial0/0/0

C    192.168.0.0/24 is directly connected, FastEthernet0/0

C    192.168.1.0/24 is directly connected, FastEthernet0/1

O    192.168.2.0/24 [110/2] via 192.168.0.2, 00:10:50, FastEthernet0/0

S    192.168.3.0/24 [1/0] via 192.168.0.2

D*EX 0.0.0.0/0 [170/2195456] via 10.0.0.1, 00:14:21, Serial0/0/0 (ruta por defecto, ver AD 170 y no 90)

Router1#

 

Router2#sh 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 192.168.0.1 to network 0.0.0.0

 

C    192.168.0.0/24 is directly connected, FastEthernet0/0

O    192.168.1.0/24 [110/2] via 192.168.0.1, 00:13:54, FastEthernet0/0

C    192.168.2.0/24 is directly connected, FastEthernet0/1

R    192.168.3.0/24 [120/1] via 192.168.2.2, 00:00:04, FastEthernet0/1

O*E2 0.0.0.0/0 [110/1] via 192.168.0.1, 00:13:54, FastEthernet0/0(ruta por defecto OSPF type-2)

Router2#

 

Router3#sh 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 192.168.2.1 to network 0.0.0.0

 

R    192.168.0.0/24 [120/1] via 192.168.2.1, 00:00:23, FastEthernet0/1

R    192.168.1.0/24 [120/1] via 192.168.2.1, 00:00:23, FastEthernet0/1

C    192.168.2.0/24 is directly connected, FastEthernet0/1

C    192.168.3.0/24 is directly connected, FastEthernet0/0

R*   0.0.0.0/0 [120/1] via 192.168.2.1, 00:00:23, FastEthernet0/1 (ruta por defecto)

Router3#

 

PC>ipconfig

 

IP Address......................: 192.168.3.123

Subnet Mask.....................: 255.255.255.0

Default Gateway.................: 192.168.3.1

 

PC>tracert 200.0.0.1

 

Tracing route to 200.0.0.1 over a maximum of 30 hops:

 

  1   31 ms     31 ms     32 ms     192.168.3.1 (Router3)

  2   31 ms     31 ms     63 ms     192.168.2.1 (Router2)

  3   94 ms     78 ms     78 ms     192.168.0.1 (Router1)

  4   110 ms    109 ms    125 ms    10.0.0.1 (Gateway)

  5   156 ms    156 ms    141 ms    200.0.0.1

 

Trace complete.

 

PC>

 

Configuraciones relevantes:

 

Gateway#sh runn

Building configuration...

 

Current configuration : 896 bytes

!

!

hostname Gateway

!

interface FastEthernet0/0

 ip address 200.0.0.2 255.255.255.0

!

interface Serial0/0/0

 ip address 10.0.0.1 255.255.255.252

!

!

router eigrp 100

 redistribute static (redistrubuye ruta estatíca por defecto)

 network 10.0.0.0 0.0.0.3 (segmento en común con Router1)

 auto-summary

!

ip classless

ip route 0.0.0.0 0.0.0.0 200.0.0.1 (ruta por defecto)

ip route 192.168.0.0 255.255.252.0 10.0.0.2  (ruta sumarizada para alcanzar las redes internas)

!

end

 

Gateway#

 

Router1#sh runn

Building configuration...

 

Current configuration : 919 bytes

!

!

hostname Router1

!

interface FastEthernet0/0

 ip address 192.168.0.1 255.255.255.0

!

interface FastEthernet0/1

 ip address 192.168.1.1 255.255.255.0

!

interface Serial0/0/0

 ip address 10.0.0.2 255.255.255.252

 clock rate 2000000

!

!

router eigrp 100

 network 10.0.0.0 0.0.0.3 (segmento en común con Gateway)

 auto-summary

!

router ospf 1

 log-adjacency-changes

 redistribute eigrp 100

 network 192.168.0.0 0.0.0.255 area 0 (segmento en común con Router2)

 network 192.168.1.0 0.0.0.255 area 0

 default-information originate (redistribuye ruta por defecto)

!

ip classless

ip route 192.168.3.0 255.255.255.0 192.168.0.2

!

end

 

Router1#

 

Router2#sh runn

Building configuration...

 

Current configuration : 681 bytes

!

hostname Router2

!

interface FastEthernet0/0

 ip address 192.168.0.2 255.255.255.0

!

interface FastEthernet0/1

 ip address 192.168.2.1 255.255.255.0

!

router ospf 1

 log-adjacency-changes

 network 192.168.0.0 0.0.0.255 area 0 (segmento en común con Router1)

!

router rip

 redistribute ospf 1 metric 1 (redistribuye rutas OSPF con métrica 1 -las Tipo 2- )

 network 192.168.2.0 (segmento en común con Router3)

!

ip classless

!

end

 

Router2#

 

Router3#sh runn

Building configuration...

 

Current configuration : 728 bytes

!

hostname Router3

!

interface FastEthernet0/0

 ip address 192.168.3.1 255.255.255.0

!

interface FastEthernet0/1

 ip address 192.168.2.2 255.255.255.0

!

router rip

 passive-interface FastEthernet0/0 (no existen routers detrás de esta interfaz)

 network 192.168.2.0 (segmento en común con Router2)

 network 192.168.3.0

!

ip classless

!

end

 

Router3#

 

 

(2012) Networking  for lonely minds

Rosario, Argentina