From: Wen Jia Yang (tonyblair@xxxxxxxxx)
Date: Tue Mar 05 2002 - 04:27:02 GMT-3
where is the "redistribute rip subnet"statement under ospf routing protocol con
fig mode?
just remember ,you can't just redis connected to get it work.
----- Original Message -----
From: Jeongwoo Park <Jpark@wams.com>
To: <ccielab@groupstudy.com>
Cc: <smann0762@hotmail.com>
Sent: Tuesday, March 05, 2002 2:08 PM
Subject: Rip not getting redis to ospf (tired, but worth it)
> Hi all
> I know you are fed up with rip ospf redistribution by now.
> But I am not getting it to work.
>
> Here is the set up.
> R1------R2-------R3
> R2 cant reach R1's loop interfaces.
>
> R1: runing rip
> R2: mutual redis
> R3: ospf
> Here is the config
>
> R1
> R1#wr t
> Building configuration...
>
> Current configuration : 674 bytes
> !
> version 12.2
> service timestamps debug uptime
> service timestamps log uptime
> no service password-encryption
> !
> hostname R1
> !
> !
> ip subnet-zero
> !
> !
> !
> !
> !
> !
> interface Loopback0
> ip address 172.16.6.1 255.255.255.0
> !
> interface Loopback1
> ip address 172.16.7.1 255.255.255.0
> !
> interface Ethernet0/0
> no ip address
> no keepalive
> half-duplex
> !
> interface Serial0/0
> ip address 172.16.4.2 255.255.255.0
> !
> interface Ethernet0/1
> no ip address
> shutdown
> half-duplex
> !
> router rip
> network 172.16.0.0
> !
> ip classless
> ip http server
> !
> alias exec r sh ip route
> !
> line con 0
> line aux 0
> line vty 0 4
> exec-timeout 0 0
> privilege level 15
> password xx
> no login
> line vty 5 15
> login
> !
> end
>
> R2
> R2#wr t
> Building configuration...
>
> Current configuration : 1067 bytes
> !
> version 12.1
> service timestamps debug uptime
> service timestamps log uptime
> no service password-encryption
> !
> hostname R2
> !
> !
> !
> !
> !
> !
> ip subnet-zero
> !
> !
> !
> !
> interface Loopback0
> ip address 172.16.5.1 255.255.255.0
> !
> interface Ethernet0
> no ip address
> shutdown
> !
> interface Serial0
> ip address 172.16.1.1 255.255.255.252
> no fair-queue
> clockrate 500000
> !
> interface Serial1
> ip address 172.16.4.1 255.255.255.0
> clockrate 500000
> !
> interface BRI0
> no ip address
> shutdown
> isdn x25 static-tei 0
> !
> router ospf 1
> log-adjacency-changes
> summary-address 172.16.1.0 255.255.255.0
> summary-address 172.16.20.0 255.255.255.0
> redistribute connected subnets
> network 172.16.1.0 0.0.0.3 area 0
> network 172.16.20.0 0.0.0.15 area 0
>
> !
> router rip
> redistribute ospf 1
> passive-interface Serial0
> network 172.16.0.0
> default-metric 2
> !
> ip classless
> ip http server
> !
> alias exec r sh ip route
> !
> line con 0
> exec-timeout 0 0
> password wams
> line aux 0
> line vty 0 2
> exec-timeout 0 0
> password xx
> login
> line vty 3 4
> password xx
> login
> !
> end
>
> R3
> R2#telnet 172.16.1.2
> Trying 172.16.1.2 ... Open
>
>
> User Access Verification
>
> Password:
> Password:
> R3>en
> Password:
> R3#wr t
> Building configuration...
>
> Current configuration : 866 bytes
> !
> version 12.2
> service timestamps debug uptim
> service timestamps log uptime
> no service password-encryption
> !
> hostname R3
> !
> enable password xx
> !
> ip subnet-zero
> !
> !
> no ip domain-lookup
> !
> !
> !
> !
> interface Loopback0
> ip address 172.16.20.1 255.255.255.240
> !
> interface Loopback1
> ip address 172.16.20.17 255.255.255.240
> !
> interface Ethernet0/0
> no ip address
> shutdown
> half-duplex
> !
> interface Serial0/0
> ip address 172.16.1.2 255.255.255.252
> !
> interface Ethernet0/1
> no ip address
> shutdown
> half-duplex
> !
> router ospf 1
> log-adjacency-changes
> summary-address 172.16.20.0 255.255.255.0
> redistribute connected subnets
> network 172.16.1.0 0.0.0.3 area 0
> network 172.16.20.0 0.0.0.15 area 0
>
> !
> ip classless
> ip http server
> !
> alias exec r sh ip route
> !
> line con 0
> line aux 0
> transport input all
> line vty 0 4
> exec-timeout 0 0
> password xx
> login
> line vty 5 15
> login
> !
> end
>
> R1' routing table
> R1#sh ip rou
> Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
> D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
> 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
>
> Gateway of last resort is not set
>
> 172.16.0.0 is variably subnetted, 6 subnets, 2 masks
> R 172.16.20.0 255.255.255.0 [120/2] via 172.16.4.1, 00:00:04, Serial1
> R 172.16.20.1 255.255.255.255 [120/2] via 172.16.4.1, 00:00:04,
> Serial1
> C 172.16.4.0 255.255.255.0 is directly connected, Serial1
> R 172.16.5.0 255.255.255.0 [120/1] via 172.16.4.1, 00:00:04, Serial1
> C 172.16.6.0 255.255.255.0 is directly connected, Loopback0
> C 172.16.7.0 255.255.255.0 is directly connected, Loopback1
> R1#
>
> R2' routing table
> R2#sh ip rou
> 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
>
> 172.16.0.0/16 is variably subnetted, 8 subnets, 4 masks
> O E2 172.16.20.0/24 [110/20] via 172.16.1.2, 00:11:57, Serial0
> O 172.16.20.1/32 [110/65] via 172.16.1.2, 01:44:48, Serial0
> O 172.16.4.0/22 is a summary, 00:30:42, Null0
> C 172.16.4.0/24 is directly connected, Serial1
> C 172.16.5.0/24 is directly connected, Loopback0
> R 172.16.6.0/24 [120/1] via 172.16.4.2, 00:00:25, Serial1
> R 172.16.7.0/24 [120/1] via 172.16.4.2, 00:00:25, Serial1
> C 172.16.1.0/30 is directly connected, Serial0
> R2#
>
> R3's routing table
> R3#sh ip rou
> 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
>
> 172.16.0.0/16 is variably subnetted, 5 subnets, 4 masks
> O 172.16.20.0/24 is a summary, 00:12:50, Null0
> C 172.16.20.0/28 is directly connected, Loopback0
> O E2 172.16.4.0/22 [110/20] via 172.16.1.1, 00:27:51, Serial0/0
> C 172.16.20.16/28 is directly connected, Loopback1
> C 172.16.1.0/30 is directly connected, Serial0/0
> R3#ping 172.16.7.1
>
> Type escape sequence to abort.
> Sending 5, 100-byte ICMP Echos to 172.16.7.1, timeout is 2 seconds:
> ....
> Success rate is 0 percent (0/5)
> R3#
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:56:53 GMT-3