miércoles, 10 de junio de 2009

Distribucion de la Ruta Quad Zero en un Dominio Rip

Hace algunos dias, discutimos con mis alumnos, la configuracion para redistribuir una ruta por defecto en un dominio RIP, lamentablemente en su momento no me recordaba del comando exacto asi que lo realizamos con Redistribute Static (El cual inyecta TODAS las rutas estaticas, que esten en la tabla de enrutamiento de este router, hacia el dominio).

El comando correcto para lograr que todos los Routers participando en un proceso RIP, tengan la informacion de la ruta por defecto es el default-information originate, configurado en el router de Salida, bajo el proceso de RIP.

Les adjunto el diagrama de la configuracion y los show run de los routers, si alguno lo necesita con gusto le envio la simulacion en Cisco Packet Tracer.





ISP-Router#show run
Building configuration...
Current configuration : 527 bytes
!
version 12.4
no service password-encryption
!
hostname ISP-Router
!
!
!
!
!
ip ssh version 1
!
!
interface FastEthernet0/0
ip address 120.0.0.1 255.0.0.0
duplex auto speed auto
!
interface FastEthernet0/1
no ip address
duplex auto speed auto
shutdown
!
interface Serial0/0/0
ip address 110.0.0.2 255.0.0.0
clock rate 56000
!
interface Serial0/0/1
no ip address
shutdown
!
interface Vlan1
no ip address
shutdown
!
ip classlessip route 0.0.0.0 0.0.0.0 110.0.0.1
!
!
!
!
!
line con 0
line vty 0 4
login
!
!
end

RIP-R1#show run
Building configuration...
Current configuration : 584 bytes
!
version 12.4
no service password-encryption
!
hostname RIP-R1
!
!
!
!
!
ip ssh version 1
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet0/1
no ip address
duplex auto speed auto
shutdown
!
interface Serial0/0/0
ip address 10.0.0.1 255.0.0.0
clock rate 56000
!
interface Serial0/0/1
ip address 110.0.0.1 255.0.0.0
!
interface Vlan1
no ip address
shutdown
!
router rip network 10.0.0.0
default-information originate
!
ip classless
ip route 0.0.0.0 0.0.0.0 110.0.0.2

!
!
!
!
!
line con 0
line vty 0 4
login
!
!
end

RIP-R2#show run
Building configuration...
Current configuration : 534 bytes
!
version 12.4
no service password-encryption
!
hostname RIP-R2
!
!
!
!
!
ip ssh version 1
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
ip address 20.0.0.1 255.0.0.0
clock rate 56000
!
interface Serial0/0/1
ip address 10.0.0.2 255.0.0.0
!
interface Vlan1
no ip address
shutdown
!
router rip
network 10.0.0.0
network 20.0.0.0
!
ip classless
!
!
!
!
!
line con 0
line vty 0 4
login
!
!
end

RIP-R3#show run
Building configuration...
Current configuration : 516 bytes
!
version 12.4
no service password-encryption
!
hostname RIP-R3
!
!
!
!
!
ip ssh version 1
!
!
interface FastEthernet0/0
ip address 30.0.0.1 255.0.0.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
ip address 20.0.0.2 255.0.0.0
!
interface Serial0/0/1
no ip address
shutdown
!
interface Vlan1
no ip address
shutdown
!
router rip
network 20.0.0.0
network 30.0.0.0
!
ip classless
!
!
!
!
!
line con 0
line vty 0 4
login
!
!
end


ISP-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 110.0.0.1 to network 0.0.0.0
C 110.0.0.0/8 is directly connected, Serial0/0/0
C 120.0.0.0/8 is directly connected, FastEthernet0/0
S* 0.0.0.0/0 [1/0] via 110.0.0.1

RIP-R1#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 110.0.0.2 to network 0.0.0.0
C 10.0.0.0/8 is directly connected, Serial0/0/0
R 20.0.0.0/8 [120/1] via 10.0.0.2, 00:00:26, Serial0/0/0
R 30.0.0.0/8 [120/2] via 10.0.0.2, 00:00:26, Serial0/0/0
C 110.0.0.0/8 is directly connected, Serial0/0/1
S* 0.0.0.0/0 [1/0] via 110.0.0.2

RIP-R2#show ip routeCodes:
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
C 10.0.0.0/8 is directly connected, Serial0/0/1
C 20.0.0.0/8 is directly connected, Serial0/0/0
R 30.0.0.0/8 [120/1] via 20.0.0.2, 00:00:18, Serial0/0/0
R* 0.0.0.0/0 [120/1] via 10.0.0.1, 00:00:00, Serial0/0/1

RIP-R3#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 20.0.0.1 to network 0.0.0.0
R 10.0.0.0/8 [120/1] via 20.0.0.1, 00:00:26, Serial0/0/0
C 20.0.0.0/8 is directly connected, Serial0/0/0
C 30.0.0.0/8 is directly connected, FastEthernet0/0
R* 0.0.0.0/0 [120/2] via 20.0.0.1, 00:00:26, Serial0/0/0
RIP-R3#

No hay comentarios:

Publicar un comentario