Re: Redistribute ospf1-> ospf2->rip

From: Stephen C. Feldberg (scfeldberg@xxxxxxxxxxx)
Date: Thu Jan 10 2002 - 11:23:53 GMT-3


   
It will be inactive until a neighbor relationship is formed in area 0 of the
process. As long as there is an interface assigned to area 0
redistribution can be performed into an OSPF process with an inactive
backbone area... See below:

router2#sh ip ospf
 Routing Process "ospf 2" with ID 192.168.1.1
 Supports only single TOS(TOS0) routes
 It is an autonomous system boundary router
 External Link update interval is 00:30:00 and the update due in 00:26:14
 Redistributing External Routes from,
    ospf 1, includes subnets in redistribution
 SPF schedule delay 5 secs, Hold time between two SPFs 10 secs
 Number of DCbitless external LSA 0
 Number of DoNotAge external LSA 0
 Number of areas in this router is 1. 1 normal 0 stub 0 nssa
    Area BACKBONE(0) (Inactive)
        Number of interfaces in this area is 1
        Area has no authentication
        SPF algorithm executed 4 times
        Area ranges are
        Link State Update Interval is 00:30:00 and due in 00:03:54
        Link State Age Interval is 00:20:00 and due in 00:19:48
        Number of DCbitless LSA 0
        Number of indication LSA 0
        Number of DoNotAge LSA 0

 Routing Process "ospf 1" with ID 4.4.4.4
 Supports only single TOS(TOS0) routes
 SPF schedule delay 5 secs, Hold time between two SPFs 10 secs
 Number of DCbitless external LSA 0
 Number of DoNotAge external LSA 0
 Number of areas in this router is 1. 1 normal 0 stub 0 nssa
    Area BACKBONE(0) (Inactive)
        Number of interfaces in this area is 4
        Area has no authentication
        SPF algorithm executed 6 times
        Area ranges are
        Link State Update Interval is 00:30:00 and due in 00:28:30
        Link State Age Interval is 00:20:00 and due in 00:19:46
        Number of DCbitless LSA 0
        Number of indication LSA 0
        Number of DoNotAge LSA 0

router2#sh ip route

     4.0.0.0/32 is subnetted, 2 subnets
C 4.4.4.4 is directly connected, Loopback99
C 4.4.4.5 is directly connected, Loopback98
C 192.168.1.0/24 is directly connected, Ethernet0
R 192.168.3.0/24 [120/1] via 192.168.1.249, 00:00:04, Ethernet0
     172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks
C 172.16.1.32/28 is directly connected, Loopback3
C 172.16.1.16/28 is directly connected, Loopback2
O 172.16.0.0/16 is a summary, 17:53:16, Null0
C 172.16.1.0/28 is directly connected, Loopback1

router2#sh ip ospf d

       OSPF Router with ID (192.168.1.1) (Process ID 2)

                Router Link States (Area 0)

Link ID ADV Router Age Seq# Checksum Link count
192.168.1.1 192.168.1.1 1722 0x80000026 0x69B9 1

                Type-5 AS External Link States

Link ID ADV Router Age Seq# Checksum Tag
4.4.4.4 192.168.1.1 382 0x80000025 0xF05 0
172.16.0.0 192.168.1.1 382 0x80000025 0x4225 0

       OSPF Router with ID (4.4.4.4) (Process ID 1)

                Router Link States (Area 0)

Link ID ADV Router Age Seq# Checksum Link count
4.4.4.4 4.4.4.4 244 0x80000028 0xD961 4
----- Original Message -----
From: "Markus Haas" <mh@nmc-m.dtag.de>
To: "Stephen C. Feldberg" <scfeldberg@hotmail.com>; "Jeongwoo Park"
<Jpark@wams.com>; <ccielab@groupstudy.com>
Sent: Thursday, January 10, 2002 8:31 AM
Subject: AW: Redistribute ospf1-> ospf2->rip

> Hi,
>
> I have a similar problem. One OSPF-process is inactive the other is up.
>
> R1#sh ip os
> Routing Process "ospf 2" with ID 139.1.7.7
> Supports only single TOS(TOS0) routes
> It is an autonomous system boundary router
> Redistributing External Routes from,
> ospf 1, includes subnets in redistribution
> rip, includes subnets in redistribution
> SPF schedule delay 5 secs, Hold time between two SPFs 10 secs
> Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs
> Number of external LSA 9. Checksum Sum 0x4CBF0
> Number of DCbitless external LSA 0
> Number of DoNotAge external LSA 0
> Number of areas in this router is 1. 1 normal 0 stub 0 nssa
> Area BACKBONE(0) (Inactive) <------- ???????????
> Number of interfaces in this area is 1
> Area has no authentication
> SPF algorithm executed 3 times
> Area ranges are
> Number of LSA 1. Checksum Sum 0x5E02
> Number of DCbitless LSA 0
> Number of indication LSA 0
> Number of DoNotAge LSA 0
>
> Routing Process "ospf 1" with ID 139.1.1.1
> Supports only single TOS(TOS0) routes
> It is an area border and autonomous system boundary router
> Redistributing External Routes from,
> ospf 2, includes subnets in redistribution
> SPF schedule delay 5 secs, Hold time between two SPFs 10 secs
> Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs
> Number of external LSA 3. Checksum Sum 0x1DDC8
> Number of DCbitless external LSA 0
> Number of DoNotAge external LSA 0
> Number of areas in this router is 2. 2 normal 0 stub 0 nssa
> Area BACKBONE(0)
> Number of interfaces in this area is 2
> Area has no authentication
> SPF algorithm executed 13 times
> Area ranges are
> Number of LSA 21. Checksum Sum 0xAB290
> Number of DCbitless LSA 0
> Number of indication LSA 0
> Number of DoNotAge LSA 12
> Area 1
> Number of interfaces in this area is 2
> Area has no authentication
> SPF algorithm executed 9 times
> Area ranges are
> 139.1.1.0/24 Active(1) Advertise
> 139.1.2.0/24 Passive Advertise
> 139.1.10.0/24 Active(64) Advertise
> Number of LSA 20. Checksum Sum 0x9FC7E
> Number of DCbitless LSA 0
> Number of indication LSA 0
> Number of DoNotAge LSA 0
>
> R1#
>
> Config:
>
> router ospf 1
> router-id 139.1.1.1
> log-adjacency-changes
> area 1 range 139.1.1.0 255.255.255.0
> area 1 range 139.1.2.0 255.255.255.0
> area 1 range 139.1.10.0 255.255.255.0
> area 1 virtual-link 139.1.2.2
> redistribute ospf 2 subnets
> network 139.1.1.0 0.0.0.255 area 1
> network 139.1.10.0 0.0.0.255 area 1
> network 139.1.11.0 0.0.0.255 area 0
> !
> router ospf 2
> router-id 139.1.7.7
> summary-address 139.1.10.0 255.255.255.0
> summary-address 139.1.11.0 255.255.255.0
> redistribute ospf 1 subnets
> redistribute rip subnets route-map rip-to-ospf
> network 139.1.7.0 0.0.0.255 area 0
> !
> router rip
> redistribute ospf 2 route-map test
> passive-interface default
> network 150.100.0.0
> default-metric 4
>
> route-map rip-to-ospf permit 10
> match ip address prefix-list ospf-e1-routes
> set metric-type type-1
>
>
> Did I miss something ?
>
> What means "peers" in both areas ?
>
> Thanks,
> Markus
>
> -----Urspr|ngliche Nachricht-----
> Von: nobody@groupstudy.com [mailto:nobody@groupstudy.com]Im Auftrag von
> Stephen C. Feldberg
> Gesendet: Mittwoch, 9. Januar 2002 16:22
> An: Jeongwoo Park; ccielab@groupstudy.com
> Betreff: Re: Redistribute ospf1-> ospf2->rip
>
>
> J,
>
> Show ip ospf will hold the answer for you-
>
> r2#sh ip ospf
> Routing Process "ospf 2" with ID 172.16.1.17
> Supports only single TOS(TOS0) routes
> It is an autonomous system boundary router
> Redistributing External Routes from,
> ospf 1
> SPF schedule delay 5 secs, Hold time between two SPFs 10 secs
> Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs
> Number of external LSA 0. Checksum Sum 0x0
> Number of DCbitless external LSA 0
> Number of DoNotAge external LSA 0
> Number of areas in this router is 1. 1 normal 0 stub 0 nssa
> External flood list length 0
> Area BACKBONE(0) (Inactive) <<<<<<<< Problem
> Number of interfaces in this area is 1
> Area has no authentication
> SPF algorithm executed 1 times
> Area ranges are
> Number of LSA 1. Checksum Sum 0xA80
> Number of DCbitless LSA 0
> Number of indication LSA 0
> Number of DoNotAge LSA 0
> Flood list length 0
>
> Routing Process "ospf 1" with ID 172.16.1.33
> Supports only single TOS(TOS0) routes
> SPF schedule delay 5 secs, Hold time between two SPFs 10 secs
> Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs
> Number of external LSA 0. Checksum Sum 0x0
> Number of DCbitless external LSA 0
> Number of DoNotAge external LSA 0
> Number of areas in this router is 1. 1 normal 0 stub 0 nssa
> External flood list length 0
> Area BACKBONE(0) (Inactive) <<<<<<< Problem
> Number of interfaces in this area is 3
> Area has no authentication
> SPF algorithm executed 4 times
> Area ranges are
> Number of LSA 1. Checksum Sum 0x6481
> Number of DCbitless LSA 0
> Number of indication LSA 0
> Number of DoNotAge LSA 0
> Flood list length 0
>
> Redistribution will not occur when the backbone is inactive. AFAIK, the
> only way to get the backbone to become active is for the router to have a
> peer in area 0 (for each process).
>
> Steve
> ----- Original Message -----
> From: "Jeongwoo Park" <Jpark@wams.com>
> To: <ccielab@groupstudy.com>
> Cc: "'Stephen C. Feldberg'" <scfeldberg@hotmail.com>
> Sent: Wednesday, January 09, 2002 5:19 AM
> Subject: Redistribute ospf1-> ospf2->rip
>
>
> > Hi all
> > Here is the scenario.
> > Loopbacks
> > R1(e0)-----------(e0)R2------172.16.1.1/28
> > 172.16.1.17/28
> > 172.16.1.33/28
> > What I want to do is ultimately to redistribute these three loopback
> > networks into rip.
> > R2 is ASBR running ospf and rip. R1 is running only rip.
> > As the people on this list recommended, I first created ospf 2 and
> > redistributed ospf 1 into ospf 2. And during this redistribution from
> ospf2
> > to ospf1, I summarized three loopback networks to the classful address (
> > 172.16.0.0/16) And I redistributed ospf 2 into rip.
> > NOT WORKING :-(
> > Here is my config
> > R2;
> > !
> > !
> > !
> > interface Loopback1
> > ip address 172.16.1.1 255.255.255.240
> > !
> > interface Loopback2
> > ip address 172.16.1.17 255.255.255.240
> > !
> > interface Loopback3
> > ip address 172.16.1.33 255.255.255.240
> > !
> > router ospf 1
> > log-adjacency-changes
> > redistribute rip
> > network 172.16.0.0 0.0.255.255 area 0
> > !
> > router ospf 2
> > log-adjacency-changes
> > summary-address 172.16.0.0 255.255.0.0
> > redistribute ospf 1
> > !
> > router rip
> > redistribute ospf 2
> > network 192.168.1.0
> > !
> > ip route 172.16.0.0 255.255.0.0 Null0
> > no ip http server
> > !
> > !
> > line con 0
> > password 7 120E0333
> > login
> > transport input none
> > line vty 0 4
> > exec-timeout 0 0
> > password 7 xxxxxx
> > login
> > !
> > end
> >
> > R1;
> > version 12.1
> > service timestamps debug uptime
> > service timestamps log uptime
> > no service password-encryption
> > !
> > hostname Router
> > !
> > enable secret 5 $1$ZMs8$bNzuexNNx77K24cGqgx6B0
> > !
> > !
> > !
> > !
> > !
> > !
> > ip subnet-zero
> > !
> > ip name-server 192.168.1.6
> > no ip finger
> > isdn switch-type basic-ni
> > !
> > !
> > !
> > interface Loopback1
> > ip address 192.168.3.20 255.255.255.0
> > !
> > interface Ethernet0
> > ip address 192.168.1.249 255.255.255.0
> > !
> > !
> > router rip
> > network 192.168.1.0
> > network 192.168.3.0
> > !
> > ip http server
> > ip classless
> > !
> > !
> > line con 0
> > password xxx
> > transport input none
> > stopbits 1
> > line vty 0 4
> > exec-timeout 0 0
> > password xxx
> > login
> > !
> > end
> >
> > R1's routing table;
> > R1#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
> >
> > C 192.168.1.0/24 is directly connected, Ethernet0
> > C 192.168.3.0/24 is directly connected, Loopback1
> >
> > As you can see, those three loopbacks didn't show up in this routing
> table,
> > which means it is not working.
> >
> > Can anyone point out what is wrong?
> > I will appreciate your reply.
> >
> > JP



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