rip and ospf redistribute

From: wsqccie@hotmail.com
Date: Thu Jun 26 2003 - 05:56:52 GMT-3


hi, group

    rta1(e0/0)-cross cable---(e0/1)rta2(e0/0)
between R1 and R2 is RIP V2,
and ospf run in R2
IOS (tm) C2600 Software (C2600-JS56I-M), Version 12.0(18b), RELEASE SOFTWARE (fc1)
 
as below configuration and show information, I am very confused
why route 3.3.3.0/24 and 142.3.12.0/24 (loopbak) can not redistribute iro RIP(v2),
but other loopback route, 192.168.0.0/24 and 200.200.200/24 can do.

rta1#sh run
Building configuration...

Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname rta1
!
!
ip subnet-zero
no ip domain-lookup
!
!
interface Loopback0
 ip address 1.1.1.1 255.255.255.0
 no ip directed-broadcast
interface Loopback1
 ip address 192.168.1.1 255.255.255.0
 no ip directed-broadcast
!
interface Ethernet0/0
 ip address 150.100.1.254 255.255.255.0
 no ip directed-broadcast
!
interface Serial0/0
 no ip address
 no ip directed-broadcast
 shutdown
!
interface Ethernet0/1
 no ip address
 no ip directed-broadcast
!
router rip
 version 2
 passive-interface default
 no passive-interface Ethernet0/0
 network 1.0.0.0
 network 150.100.0.0
 network 192.168.1.0
 no auto-summary
!
ip classless
!
!
!
line con 0
 logging synchronous
 transport input none
line aux 0
line vty 0 4
 login
!
end

rta1#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, * - candidate default
       U - per-user static route, o - ODR

Gateway of last resort is not set

R 200.200.200.0/24 [120/1] via 150.100.1.1, 00:00:08, Ethernet0/0
     1.0.0.0/24 is subnetted, 1 subnets
C 1.1.1.0 is directly connected, Loopback0
R 192.168.0.0/24 [120/1] via 150.100.1.1, 00:00:08, Ethernet0/0
C 192.168.1.0/24 is directly connected, Loopback1
     150.100.0.0/24 is subnetted, 1 subnets
C 150.100.1.0 is directly connected, Ethernet0/0
rta1#

rta2#sh run
Building configuration...

Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname rta2
!
!
ip subnet-zero
no ip domain-lookup
!
!
interface Loopback0
 no ip address
 no ip directed-broadcast
!
interface Loopback1
 ip address 143.3.12.2 255.255.255.0
 no ip directed-broadcast
!
interface Loopback3
 ip address 192.168.0.100 255.255.255.0
 no ip directed-broadcast
!
interface Loopback4
 ip address 3.3.3.3 255.255.255.0
 no ip directed-broadcast
!
interface Loopback5
 ip address 200.200.200.100 255.255.255.0
 no ip directed-broadcast
!
interface Ethernet0/0
 ip address 143.3.125.2 255.255.255.0
 no ip directed-broadcast
!
interface Serial0/0
 no ip address
 no ip directed-broadcast
 shutdown
!
interface Ethernet0/1
 ip address 150.100.1.1 255.255.255.0
 no ip directed-broadcast
!
router ospf 3
 network 3.3.3.3 0.0.0.0 area 0
 network 143.2.125.2 0.0.0.0 area 0
 network 143.3.12.2 0.0.0.0 area 0
 network 192.168.0.100 0.0.0.0 area 0
 network 200.200.200.100 0.0.0.0 area 0
!
router rip
 version 2
 redistribute ospf 3
 passive-interface default
 no passive-interface Ethernet0/1
 no passive-interface Loopback5
 network 150.100.0.0
 no auto-summary
!
ip classless
!
!
!
line con 0
 logging synchronous
 transport input none
line aux 0
line vty 0 4
 login
!
end

rta2#a \ sh ip ospf data route

       OSPF Router with ID (200.200.200.100) (Process ID 3)

  Router Link States (Area 0)

  LS age: 308
  Options: (No TOS-capability, DC)
  LS Type: Router Links
  Link State ID: 200.200.200.100
  Advertising Router: 200.200.200.100
  LS Seq Number: 80000005
  Checksum: 0x3113
  Length: 72
   Number of Links: 4

    Link connected to: a Stub Network
     (Link ID) Network/subnet number: 143.3.12.2
     (Link Data) Network Mask: 255.255.255.255
      Number of TOS metrics: 0
       TOS 0 Metrics: 1

    Link connected to: a Stub Network
    (Link ID) Network/subnet number: 192.168.0.100
     (Link Data) Network Mask: 255.255.255.255
      Number of TOS metrics: 0
       TOS 0 Metrics: 1

    Link connected to: a Stub Network
     (Link ID) Network/subnet number: 200.200.200.100
     (Link Data) Network Mask: 255.255.255.255
      Number of TOS metrics: 0
       TOS 0 Metrics: 1

    Link connected to: a Stub Network
     (Link ID) Network/subnet number: 3.3.3.3
     (Link Data) Network Mask: 255.255.255.255
      Number of TOS metrics: 0
       TOS 0 Metrics: 1

rta2#sh ip ospf data

       OSPF Router with ID (200.200.200.100) (Process ID 3)

  Router Link States (Area 0)

Link ID ADV Router Age Seq# Checksum Link count
200.200.200.100 200.200.200.100 323 0x80000005 0x3113 4
rta2#sh    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, * - candidate default
       U - per-user static route, o - ODR

Gateway of last resort is not set

C 200.200.200.0/24 is directly connected, Loopback5
     1.0.0.0/24 is subnetted, 1 subnets
R 1.1.1.0 [120/1] via 150.100.1.254, 00:00:14, Ethernet0/1
     3.0.0.0/24 is subnetted, 1 subnets
C 3.3.3.0 is directly connected, Loopback4
     143.3.0.0/24 is subnetted, 2 subnets
C 143.3.12.0 is directly connected, Loopback1
C 143.3.125.0 is directly connected, Ethernet0/0
C 192.168.0.0/24 is directly connected, Loopback3
R 192.168.1.0/24 [120/1] via 150.100.1.254, 00:00:14, Ethernet0/1
     150.100.0.0/24 is subnetted, 1 subnets
C 150.100.1.0 is directly connected, Ethernet0/1
rta2#



This archive was generated by hypermail 2.1.4 : Fri Jul 04 2003 - 11:11:10 GMT-3