Re: RIP learnt default route not redistributed automatically

From: Thor Kopp (thorkopp@googlemail.com)
Date: Sun Jun 01 2008 - 07:22:31 ART


yes. you need the 'default-information originate' under ospf to originate a
default and it must be in the routing table. If you want to advertise a
default without it being in the routing table use the 'always' keyword at
the end. There is a table in Odom 2nd Edition page 346 which specify the
rules by which you can advertise a default within rip/ospf/eigrp.

Thor

On Sat, May 31, 2008 at 6:16 AM, Suryakant P <suryakant.pandian@gmail.com>
wrote:

> Hi All,
>
> On a router, I am redistributing rip to ospf.I have a default-route learnt
> via RIP installed in the routing table.
>
> While redistributing,this default route is not picked automatically and
> sent
> into the OSPF domain.I had to use default-information originate to pass on
> this default route into my ospf domain.
>
> Is this an expected behavior?
>
> Configs :
>
> 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
> !
> 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
>
> Rack1SW1#show ip route
> Codes: C - connected, S - static, 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, su - IS-IS summary, 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 163.1.57.5 to network 0.0.0.0
>
> 163.1.0.0/16 is variably subnetted, 5 subnets, 2 masks
> O 163.1.0.128/25 [110/2] via 163.1.0.4, 00:06:31, Port-channel14
> C 163.1.57.0/24 is directly connected, Vlan57
> O 163.1.3.0/24 [110/3] via 163.1.0.4, 00:06:31, Port-channel14
> C 163.1.0.0/25 is directly connected, Port-channel14
> C 163.1.7.0/24 is directly connected, Vlan7
> O IA 10.0.0.0/8 [110/2] via 163.1.0.4, 00:06:31, Port-channel14
> 150.1.0.0/24 is subnetted, 1 subnets
> C 150.1.7.0 is directly connected, Loopback0
> R* 0.0.0.0/0 [120/1] via 163.1.57.5, 00:00:06, Vlan57
>
> Rack1SW1#show ip ospf database external
>
> OSPF Router with ID (150.1.7.7) (Process ID 1)
>
> Type-5 AS External Link States
>
> LS age: 1224
> Options: (No TOS-capability, DC)
> LS Type: AS External Link
> Link State ID: 150.1.7.0 (External Network Number )
> Advertising Router: 150.1.7.7
> LS Seq Number: 80000001
> Checksum: 0x3A22
> Length: 36
> Network Mask: /24
> Metric Type: 2 (Larger than any link state path)
> TOS: 0
> Metric: 20
> Forward Address: 0.0.0.0
> External Route Tag: 0
>
> LS age: 1224
> Options: (No TOS-capability, DC)
> LS Type: AS External Link
> Link State ID: 163.1.7.0 (External Network Number )
> Advertising Router: 150.1.7.7
> LS Seq Number: 80000001
> Checksum: 0x90BE
> Length: 36
> Network Mask: /24
> Metric Type: 2 (Larger than any link state path)
> TOS: 0
> Metric: 20
> Forward Address: 0.0.0.0
> External Route Tag: 0
>
> LS age: 1225
> Options: (No TOS-capability, DC)
> LS Type: AS External Link
> Link State ID: 163.1.57.0 (External Network Number )
> Advertising Router: 150.1.7.7
> LS Seq Number: 80000001
> Checksum: 0x68B4
> Length: 36
> Network Mask: /24
> Metric Type: 2 (Larger than any link state path)
> TOS: 0
> Metric: 20
> Forward Address: 0.0.0.0
> External Route Tag: 0
> Rack1SW1#
>
> Thanks
> With regards
> Suryakant
>
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Tue Jul 01 2008 - 06:23:20 ART