Re: Rip ver2 into ospf

From: Rick Burts (burts@xxxxxxxxxxxxxx)
Date: Fri Feb 16 2001 - 07:02:18 GMT-3


   
Dan

Looking at the configs seems pretty straightforward. Notice that
the routemap will only allow subnets 170.100.42.240 and 20.20.20.0
to be redistributed. The subnet 170.100.42.240 appears in your
routing table as a connected subnet not as a RIP network and the
20.20.20.0 does not appear in the routing table at all. So there
is not anything to redistribute.

Rick

Rick Burts, CCSI CCIE 4615 burts@mentortech.com
Mentor Technologies 240-568-6500 ext 6652
133 National Business Parkway 240-568-6515 fax
Annapolis Junction, Md 20701

Chesapeake Network Solutions has now become Mentor Technologies.
Mentor Technologies is a certified Cisco Training Partner and also
a Cisco Professional Services partner.
We offer most of the Cisco training courses.
We also offer training in Checkpoint Firewall software and
Fore Systems (now Marconi) and MicroMuse.
We also provide network consulting services including
design, management, and problem solving.
We have 22 CCIEs on our staff.
We offer the breakthrough VLAB remote access technology for
access to pratice configuration on real equipment.

On Thu, 15 Feb 2001, Dan Skiptunas wrote:

> To All ,
>
> I cannot seem to get RIP V2 to redistribute into OSPF I must be missing
> something can someone look at the config and see where I have made a
> mistake
>
>
>
>
> sho run
> Building configuration...
>
> Current configuration:
> !
> version 12.0
> service timestamps debug uptime
> service timestamps log uptime
> no service password-encryption
> !
> hostname rtr5
> !
> enable password cisco
> !
> ip subnet-zero
> ip tcp synwait-time 5
> no ip domain-lookup
> ip multicast-routing
> ip dvmrp route-limit 20000
> ipx routing 0005.0005.0005
> !
> !
> !
> !
> !
> interface Ethernet0
> ip address 1.1.1.1 255.255.255.0 secondary
> ip address 170.100.42.241 255.255.255.240
> no ip directed-broadcast
> ip nat inside
> ip pim sparse-dense-mode
> ip igmp join-group 239.1.1.1
> ipx network 42
> bridge-group 1
> !
> interface Serial0
> no ip address
> no ip directed-broadcast
> ip nat outside
> encapsulation frame-relay
> frame-relay lmi-type ansi
> !
> interface Serial0.1 multipoint
> ip address 170.100.33.1 255.255.255.0
> no ip directed-broadcast
> ip pim sparse-dense-mode
> ip ospf network point-to-multipoint
> ip ospf interface-retry 0
> ipx network 33
> no ipx split-horizon eigrp 1
> frame-relay map ip 170.100.33.2 501 broadcast
> frame-relay map ip 170.100.33.3 503 broadcast
> frame-relay map ipx 33.0002.0002.0002 501 broadcast
> frame-relay map ipx 33.0003.0003.0003 503 broadcast
> !
> interface Serial0.2 point-to-point
> ip address 170.100.37.1 255.255.255.0
> no ip directed-broadcast
> frame-relay interface-dlci 504
> !
> interface Serial1
> no ip address
> no ip directed-broadcast
> shutdown
> !
> interface BRI0
> ip address 170.100.55.1 255.255.255.240
> no ip directed-broadcast
> ipx network 55
> !
> router ospf 50
> redistribute igrp 1 subnets route-map igrp2ospf
> redistribute rip subnets route-map rip2ospf
> network 170.100.33.0 0.0.0.255 area 0
> !
> router rip
> version 2
> redistribute ospf 50 metric 2 route-map ospf2rip
> network 170.100.0.0
> no auto-summary
> !
> router igrp 1
> redistribute ospf 50 route-map ospf2igrp
> network 170.100.0.0
> default-metric 1500 2000 255 1 1500
> !
> ip nat pool CCIE 170.100.42.242 170.100.42.254 netmask 255.255.255.240
> ip nat inside source list 5 pool CCIE overload
> ip classless
> ip default-network 210.0.5.0
> ip pim send-rp-announce Serial0.1 scope 16
> ip pim send-rp-discovery scope 16
> !
> access-list 1 permit 170.100.51.0 0.0.0.255
> access-list 1 permit 170.100.200.0 0.0.0.255
> access-list 1 permit 170.100.37.0 0.0.0.255
> access-list 2 permit 170.100.42.240 0.0.0.15
> access-list 2 permit 20.20.20.0 0.0.0.255
> access-list 5 permit 1.1.1.0 0.0.0.255
> route-map igrp2ospf permit 10
> match ip address 1
> !
> route-map ospf2igrp deny 10
> match ip address 1
> !
> route-map ospf2igrp permit 15
> match route-type external
> !
> route-map ospf2igrp permit 20
> !
> route-map rip2ospf permit 10
> match ip address 2
> !
> route-map ospf2rip deny 10
> match ip address 2
> !
> route-map ospf2rip permit 20
> !
> !
> !
> !
> ipx router eigrp 1
> network 33
> !
> !
> ipx router rip
> no network 33
> !
> !
> !
> bridge 1 protocol ieee
> !
> line con 0
> transport input none
> line aux 0
> line vty 0 4
> no login
> !
> end
>
> rtr5# sho ver
> Cisco Internetwork Operating System Software
> IOS (tm) 2500 Software (C2500-JOS56I-L), Version 12.0(9), RELEASE SOFTWARE
> (fc1)
> Copyright (c) 1986-2000 by cisco Systems, Inc.
> Compiled Tue 25-Jan-00 02:27 by bettyl
> Image text-base: 0x03058078, data-base: 0x00001000
>
> ROM: System Bootstrap, Version 11.0(10c), SOFTWARE
> BOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c), RELEASE
> SOFTWARE (fc1)
>
> rtr5 uptime is 2 minutes
> System restarted by reload
> System image file is "flash:c2500-jos56i-l.120-9.bin"
>
> cisco 2500 (68030) processor (revision N) with 14336K/2048K bytes of memory.
> Processor board ID 11823836, with hardware revision 00000001
> Bridging software.
> X.25 software, Version 3.0.0.
> SuperLAT software (copyright 1990 by Meridian Technology Corp).
> TN3270 Emulation software.
> Basic Rate ISDN software, Version 1.1.
> 1 Ethernet/IEEE 802.3 interface(s)
> 2 Serial network interface(s)
> 1 ISDN Basic Rate interface(s)
> 32K bytes of non-volatile configuration memory.
> 16384K bytes of processor board System flash (Read ONLY)
>
> Configuration register is 0x2102
>
> rtr5#sho ip rout
> 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
>
> 170.100.0.0/16 is variably subnetted, 12 subnets, 3 masks
> I 170.100.200.0/24 [100/8576] via 170.100.37.2, 00:00:14, Serial0.2
> C 170.100.42.240/28 is directly connected, Ethernet0
> O IA 170.100.129.1/32 [110/129] via 170.100.33.3, 00:00:03, Serial0.1
> O E2 170.100.150.0/24 [110/20] via 170.100.33.3, 00:00:03, Serial0.1
> O IA 170.100.165.0/24 [110/128] via 170.100.33.3, 00:00:03, Serial0.1
> O IA 170.100.161.0/24 [110/74] via 170.100.33.3, 00:00:03, Serial0.1
> O E2 170.100.97.0/28 [110/20] via 170.100.33.3, 00:00:03, Serial0.1
> C 170.100.37.0/24 is directly connected, Serial0.2
> O 170.100.33.3/32 [110/64] via 170.100.33.3, 00:00:03, Serial0.1
> C 170.100.33.0/24 is directly connected, Serial0.1
> C 170.100.55.0/28 is directly connected, BRI0
> I 170.100.51.0/24 [100/8976] via 170.100.37.2, 00:00:14, Serial0.2
> 1.0.0.0/24 is subnetted, 1 subnets
> C 1.1.1.0 is directly connected, Ethernet0
> O E2 210.0.5.0/24 [110/20] via 170.100.33.3, 00:00:03, Serial0.1
> rtr5#
> Dan Skiptunas
> Network Engineer
> NEC-BNS
>
>



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:28:51 GMT-3