From: Ronald Salomon (rsalomon@xxxxxxxxxxxxxxxx)
Date: Sat Dec 04 1999 - 00:04:14 GMT-3
Anil,
I've outlined one possible solution to your problem. One way to redistribute
a /22 network into a RIP (/24) domain can be done by adding a static route
to the /22 network as a /24 static route and redistribute the static route
under the RIP protocol configuration; this is demonstrated in the router
script for SW.
R1---(RIP-DOMAIN) ------SW---(OSPF-DOMAIN)------R2
router rip
passive-interface Ethernet0/0
network 10.0.0.0
network 192.168.83.0
R1#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, * - candidate
default
U - per-user static route, o - ODR
Gateway of last resort is not set
R 172.17.0.0/16 [120/5] via 192.168.83.1, 00:00:11, Serial0/0
C 192.168.83.0/24 is directly connected, Serial0/0
10.0.0.0/20 is subnetted, 1 subnets
C 10.33.0.0 is directly connected, Ethernet0/0
R 192.168.252.0/24 [120/4] via 192.168.83.1, 00:00:11, Serial0/0
----------------------------------------------------------------------------
---- SW# sh rurouter ospf 1 redistribute rip subnets network 172.17.1.1 0.0.0.0 area 0 ! router rip redistribute connected metric 5 redistribute static metric 4 redistribute ospf 1 metric 6 network 192.168.83.0
ip route 192.168.252.0 255.255.255.0 Serial0/1
SW#i 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, * - candidate default U - per-user static route, o - ODR
Gateway of last resort is not set
172.17.0.0/24 is subnetted, 1 subnets C 172.17.1.0 is directly connected, Serial0/1 C 192.168.83.0/24 is directly connected, Serial0/0 R 10.0.0.0/8 [120/1] via 192.168.83.244, 00:00:01, Serial0/0 O 192.168.252.0/22 [110/74] via 172.17.1.2, 00:00:01, Serial0/1
---------------------------------------------------------------------------- --- R2# sh ru router ospf 1 network 0.0.0.0 255.255.255.255 area 0
R2#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, * - candidate default U - per-user static route, o - ODR
Gateway of last resort is not set
172.17.0.0/24 is subnetted, 1 subnets C 172.17.1.0 is directly connected, Serial0 O E2 192.168.83.0/24 [110/20] via 172.17.1.1, 00:10:33, Serial0 O E2 10.0.0.0/8 [110/20] via 172.17.1.1, 00:10:33, Serial0 C 192.168.252.0/22 is directly connected, Ethernet0
Ronald
----- Original Message ----- From: anil kandare <akkandare@yahoo.com> To: <ccielab@groupstudy.com> Sent: Friday, December 03, 1999 11:36 AM Subject: Redistribution how ?
> Cisco gurus, > > I have one classless (OSPF) and classful > (RIP) domains. Rip is configured with 24 bit mask. > OSPF areas with 24,28,26,30 and 22 bit masks. To > redistribute from OSPF TO RIP 28,26,30 bits mask areas > needs to summarise to 24 bit mask. But How do we > redistribute 22bit mask ospf area to RIP ? > RIP and ospf using same major class B > network. > > > Thanks in advance > > Anil
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:21:58 GMT-3