From: Nick Shah (nshah@xxxxxxxxxxxxxx)
Date: Tue May 21 2002 - 01:47:42 GMT-3
Angelo,
With the current configuration (and RIPV1) there is no *shortcut* way to do
this. However I will attempt to explain a few *not-so-standard* ways.
* Cisco standard way is create a static summarising to /24 on the
redistributing router (R4) and redistribute that summary route into RIP.
* Configure a secondary ip address on R7-R4 (interfaces connecting each
other) from the same major network (10.0.0.0) with a /27 mask, turn off
split horizon and your OSPF routes will be visible on R7
* create a default route on R7 pointing towards R4
* create a area range summary on R4 (create a loopback, put it into another
OSPF area, create a /24 summary for the existing area)
* create a tunnel between R7 & R4 apply /27 addresses on both ends, run RIP
(redistribute OSPF into RIP on R2)
I am sure there are few others...
Nick
----- Original Message -----
From: "Angelo De Guzman" <ghie_pogi@yahoo.com>
To: <ccielab@groupstudy.com>
Sent: Tuesday, May 21, 2002 12:41 PM
Subject: RIP FLSM and OSPF VLSM
> Hi Team,
> Need your advise on this. Please.
>
> R2<--->R4<-->R7
>
> R7 and R4 runs RIP with /24
>
> R4 and R2 runs OSPF with /27
>
> R4 performs mutual redistribution.
>
> I can't seem to make this work.
>
> Here is the config.
>
> Thanks in Advance.
>
>
> R7#sh run
> Building configuration...
>
> Current configuration : 487 bytes
> !
> version 12.1
> service timestamps debug uptime
> service timestamps log uptime
> no service password-encryption
> !
> hostname R7
> !
>
> !
> ip subnet-zero
> !
> !
> interface Loopback100
> ip address 10.1.1.1 255.255.255.0
> !
> interface Ethernet0
> no ip address
> !
> interface Serial0
> no ip address
> shutdown
> !
> interface Serial1
> ip address 10.2.2.2 255.255.255.0
> !
> router rip
> network 10.0.0.0
> !
> ip classless
> ip http server
> !
> !
> !
> line con 0
> line aux 0
> line vty 0 4
> password cisco
> login
> !
> end
>
> R7#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 not set
>
> 10.0.0.0/24 is subnetted, 2 subnets
> C 10.2.2.0 is directly connected, Serial1
> C 10.1.1.0 is directly connected, Loopback100
> R7#
>
> R2#sh run
> Building configuration...
>
> Current configuration : 1150 bytes
> !
> version 12.1
> service timestamps debug uptime
> service timestamps log uptime
> no service password-encryption
> service udp-small-servers
> service tcp-small-servers
> !
> hostname R2
> !
> boot system flash c4500-js56i-mz.121-13.bin
> boot system flash
> !
> !
> !
> !
> !
> ip subnet-zero
> !
> !
> !
> !
> !
> !
> interface Loopback10
> no ip address
> !
> interface Loopback100
> ip address 10.3.3.33 255.255.255.224
> ip ospf network point-to-point
> !
> !
> interface Serial0
> no ip address
> no ip route-cache
> no ip mroute-cache
> shutdown
> !
> interface Serial1
> no ip address
> no ip route-cache
> no ip mroute-cache
> shutdown
> !
> interface Serial2
> ip address 10.3.3.2 255.255.255.224
> no ip route-cache
> no ip mroute-cache
> !
> interface Serial3
> no ip address
> no ip route-cache
> no ip mroute-cache
> shutdown
> !
> router ospf 100
> log-adjacency-changes
> network 10.3.3.0 0.0.0.31 area 0
> network 10.3.3.32 0.0.0.31 area 0
> !
> ip classless
> no ip http server
> !
> !
> !
> line con 0
> line aux 0
> line vty 0 4
> password cisco
> login
> !
> end
>
> 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, 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
>
> 10.0.0.0/8 is variably subnetted, 4 subnets, 2
> masks
> O E2 10.2.2.0/24 [110/20] via 10.3.3.1, 00:12:13,
> Serial2
> O E2 10.1.1.0/24 [110/20] via 10.3.3.1, 00:12:13,
> Serial2
> C 10.3.3.0/27 is directly connected, Serial2
> C 10.3.3.32/27 is directly connected,
> Loopback100
> R2#
>
> R4#sh run
> Building configuration...
>
> Current configuration : 1205 bytes
> !
> version 12.1
> service timestamps debug uptime
> service timestamps log uptime
> no service password-encryption
> !
> hostname R4
> !
> !
> !
> !
> !
> !
> ip subnet-zero
> no ip domain-lookup
> !
> !
> !
> interface Serial0/0
> no ip address
> no ip route-cache
> no ip mroute-cache
> shutdown
> no fair-queue
> !
> interface Serial0/1
> ip address 10.2.2.1 255.255.255.0
> clockrate 64000
> !
> interface Serial0/2
> no ip address
> no ip route-cache
> no ip mroute-cache
> shutdown
> !
> interface Serial0/3
> ip address 10.3.3.1 255.255.255.224
> clockrate 64000
> !
> router ospf 100
> log-adjacency-changes
> summary-address 10.3.3.0 255.255.255.0
> redistribute rip subnets
> network 10.3.3.0 0.0.0.31 area 0
> distribute-list 1 out
> distance ospf external 140
> !
> router rip
> redistribute ospf 100 metric 2
> network 10.0.0.0
> distribute-list 2 out
> !
> ip classless
> ip http server
> !
> access-list 1 permit 10.1.1.0 0.0.0.255
> access-list 1 permit 10.2.2.0 0.0.0.255
> access-list 2 permit 10.3.3.0 0.0.0.255
> !
> !
> !
> line con 0
> exec-timeout 0 0
> logging synchronous
> line aux 0
> line vty 0 4
> password cisco
> login
> !
> end
>
> R4#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 not set
>
> 10.0.0.0/8 is variably subnetted, 4 subnets, 2
> masks
> R 10.1.1.0/24 [120/1] via 10.2.2.2, 00:00:11,
> Serial0/1
> C 10.3.3.0/27 is directly connected, Serial0/3
> C 10.2.2.0/24 is directly connected, Serial0/1
> O 10.3.3.32/27 [110/65] via 10.3.3.2, 00:12:39,
> Serial0/3
>
>
>
>
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:59:03 GMT-3