Jose,
Actually, it is not possible to redistribute any default into OSPF, AFAIK.
If there is a default in the forwarding table that you want to go into OSPF,
then you would use the "default-information originate" command. With this
command it is not necessary to do a "redistribution" command, and if you
redistribute without "default-inf originate", then the redistribution will
not work.
-Bob
> -----Original Message-----
> From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of
> Jose Luiz Marques Santana
> Sent: Saturday, July 18, 2009 9:23 PM
> To: ccielab_at_groupstudy.com
> Subject: Redistribute a RIP default route into OSPF
>
> Hello GS,
>
> I have a doubt.
> Is it possible redistribute a RIP default route into OSPF?
> In my lab this configuration doesn't work.
>
> R1 fa1/9<----OSPF----->fa1/15 R2 Vlan57<-----RIP----->e0/1 R3
>
>
> Configuration of R1
> -------------------
>
> router ospf 1
> router-id 10.4.4.4
> log-adjacency-changes
> area 34 range 10.0.0.0 255.0.0.0
> network 10.4.4.4 0.0.0.0 area 34
> network 163.1.0.4 0.0.0.0 area 0
> network 163.1.0.134 0.0.0.0 area 0
>
>
> R1# sh ip route ospf
> 163.1.0.0/16 is variably subnetted, 5 subnets, 2 masks
> O E2 163.1.57.0/24 [110/20] via 163.1.0.1, 01:35:28, FastEthernet1/9
> O 163.1.3.0/24 [110/2] via 163.1.0.133, 01:35:28,
> FastEthernet1/15
> O E2 163.1.7.0/24 [110/20] via 163.1.0.1, 01:35:28, FastEthernet1/9
> 10.0.0.0/8 is variably subnetted, 3 subnets, 3 masks
> O IA 10.3.3.3/32 [110/2] via 163.1.0.133, 01:35:28, FastEthernet1/15
> O 10.0.0.0/8 is a summary, 01:39:50, Null0
> 150.1.0.0/24 is subnetted, 1 subnets
> O E2 150.1.7.0 [110/20] via 163.1.0.1, 01:35:28, FastEthernet1/9
>
> R1#sh ip ospf neighbor
>
> Neighbor ID Pri State Dead Time Address
> Interface
> 10.3.3.3 1 FULL/BDR 00:00:39 163.1.0.133
> FastEthernet1/15
> 150.1.7.7 1 FULL/DR 00:00:33 163.1.0.1
> FastEthernet1/9
>
>
>
> Configuration of R2
> -------------------
>
> router ospf 1
> router-id 150.1.7.7
> log-adjacency-changes
> redistribute rip subnets
> network 163.1.0.1 0.0.0.0 area 0
> distribute-list 10 in
>
> router rip
> version 2
> redistribute ospf 1 metric 1
> passive-interface default
> no passive-interface Vlan57
> network 150.1.0.0
> network 163.1.0.0
> no auto-summary
>
> R2#sh ip route rip
> R* 0.0.0.0/0 [120/1] via 163.1.57.5, 00:00:01, Vlan57
>
> R2#sh ip ospf neighbor
>
> Neighbor ID Pri State Dead Time Address
> Interface
> 10.4.4.4 1 FULL/BDR 00:00:35 163.1.0.4
> FastEthernet1/15
>
>
> Configuration of R3
> -------------------
>
> router rip
> version 2
> passive-interface default
> no passive-interface Ethernet0/1
> no passive-interface Serial1/1
> network 163.1.0.0
> default-information originate
> distribute-list prefix DEFAULT out Ethernet0/1
> distance 109 0.0.0.0 255.255.255.255 RIP-ROUTES
> no auto-summary
>
> !
> ip prefix-list DEFAULT seq 5 permit 0.0.0.0/0
>
>
> Warmest Regards,
>
>
> ---
> Jose Luiz
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
Received on Sat Jul 18 2009 - 21:57:25 ART
This archive was generated by hypermail 2.2.0 : Sat Aug 01 2009 - 13:10:22 ART