Re: How to change route from O to IA in OSPF?

From: Joe Jia (ellenjjl@xxxxxxxxxx)
Date: Fri Apr 19 2002 - 01:11:48 GMT-3


   
Hi,

I post the configuration of the three routers, some routes from R1's
interface s0.2 have been romved from the route table for the simplicity.
Actually I hope the route: 128.10.1.0 can be learned in R2 from its ethernet
interface although Ethernet is in another area.

***** I hope 128.10.1.0 be learned as:
O IA 128.10.1.0[110/35] via 172.16.10.1, 00:25:32, Ethenet 0
I can change the cost of R3's serial 0 interface as " ip ospf cost 15", and
if there is another router attached on the ethernet, it would chose R3's
ethernet as the next hop.
I hope on R2, I can also get the result without using policy routing.

r1#sr
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* 206.1.1.0/24 is directly connected, Loopback1
C 200.200.1.0/24 is directly connected, Loopback0
     172.16.0.0/16 is variably subnetted, 6 subnets, 2 masks
C 172.16.11.0/24 is directly connected, Loopback2
C 172.16.2.4/30 is directly connected, Serial0.2
C 172.16.1.0/24 is directly connected, Serial0.11
     128.10.0.0/24 is subnetted, 1 subnets
C 128.10.1.0 is directly connected, Ethernet0

r2#
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 172.16.1.5 to network 0.0.0.0

     172.16.0.0/16 is variably subnetted, 7 subnets, 2 masks
C 172.16.50.0/24 is directly connected, Serial1
C 172.16.10.0/28 is directly connected, Ethernet0
C 172.16.1.0/24 is directly connected, Serial0
C 200.200.3.0/24 is directly connected, Loopback0
     128.10.0.0/24 is subnetted, 1 subnets
O 128.10.1.0 [110/74] via 172.16.1.5, 00:25:30, Serial0
O*E2 0.0.0.0/0 [110/1] via 172.16.1.5, 00:25:30, Serial0

R3#

Gateway of last resort is 172.16.1.5 to network 0.0.0.0

C 200.200.4.0/24 is directly connected, Loopback0
C 200.200.5.0/24 is directly connected, Ethernet0
C 200.200.6.0/24 is directly connected, Ethernet0
     172.16.0.0/16 is variably subnetted, 8 subnets, 2 masks
C 172.16.10.0/28 is directly connected, Ethernet0
C 172.16.1.0/24 is directly connected, Serial0
     128.10.0.0/24 is subnetted, 1 subnets
O 128.10.1.0 [110/25] via 172.16.1.5, 00:28:02, Serial0
     128.200.0.0/29 is subnetted, 1 subnets
C 128.200.3.16 is directly connected, Serial1
O*E2 0.0.0.0/0 [110/1] via 172.16.1.5, 00:27:52, Serial0
r3#

R1#s
Building configuration...

Current configuration : 4691 bytes
!
version 12.2
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname r1
!
logging rate-limit console 10 except errors
!
ip subnet-zero
no ip finger
no ip domain-lookup

!
interface Loopback0
 ip address 200.200.1.1 255.255.255.0
 ip ospf network point-to-point
!
interface Loopback1
 ip address 206.1.1.1 255.255.255.0
!
interface Loopback2
 ip address 172.16.11.5 255.255.255.0

interface Ethernet0
 ip address 128.10.1.5 255.255.255.0
 ip ospf message-digest-key 1 md5 cisco3
 no keepalive
!
interface Serial0
 no ip address
 encapsulation frame-relay
 no ip mroute-cache
 clockrate 2000000
 no arp frame-relay
 no frame-relay inverse-arp
!
interface Serial0.2 point-to-point
 bandwidth 64
 ip address 172.16.2.5 255.255.255.252
 frame-relay interface-dlci 130
!
interface Serial0.11 multipoint
 ip address 172.16.1.5 255.255.255.0

 ip ospf priority 255
 frame-relay map ip 172.16.1.6 131 broadcast
 frame-relay map ip 172.16.1.1 132 broadcast
!

router ospf 2002
 router-id 200.200.1.1
 log-adjacency-changes
 network 128.10.1.0 0.0.0.255 area 0
 network 172.16.1.0 0.0.0.255 area 0
 neighbor 172.16.1.6
 neighbor 172.16.1.1
 default-information originate always route-map default
!
!

ip classless
ip default-network 204.30.121.0
!
!
!
R2#
Building configuration...

Current configuration:
!
version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R2
!
ip subnet-zero
no ip finger
no ip domain-lookup
!
!
interface Loopback0
 ip address 200.200.3.3 255.255.255.0
 ip ospf network point-to-point
!
interface Ethernet0
 ip address 172.16.10.6 255.255.255.240
 ip ospf message-digest-key 1 md5 cisco
 no keepalive
!
interface Serial0
 ip address 172.16.1.6 255.255.255.0
 encapsulation frame-relay
 ip ospf priority 0
 no ip mroute-cache
 clockrate 2000000
 no arp frame-relay
 frame-relay map ip 172.16.1.5 123 broadcast
 frame-relay map ip 172.16.1.1 123 broadcast
 no frame-relay inverse-arp
!

interface BRI0
 no ip address
 shutdown
!
router ospf 2002
 log-adjacency-changes
 area 1 authentication message-digest
 network 172.16.1.0 0.0.0.255 area 0
 network 172.16.10.0 0.0.0.15 area 1
 distribute-list prefix 1 in Serial0
!
ip classless
no ip http server
!
!
ip prefix-list 1 seq 5 deny 172.16.10.0/24
ip prefix-list 1 seq 10 permit 0.0.0.0/0 le 32

line con 0
 exec-timeout 0 0
 transport input none
line aux 0
line vty 0 4
 privilege level 15
 no login
!
end

R3#
Building configuration...

Current configuration:
!
version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
service udp-small-servers
service tcp-small-servers
!
hostname R3
!
!
ip subnet-zero
!
!
interface Loopback0
 ip address 200.200.4.4 255.255.255.0
 ip ospf network point-to-point
!
interface Ethernet0
 ip address 172.16.10.1 255.255.255.240
 no ip route-cache
 ip ospf message-digest-key 1 md5 cisco
 no ip mroute-cache
 no keepalive
!
interface Serial0
 ip address 172.16.1.1 255.255.255.0
 encapsulation frame-relay
 no ip route-cache
 ip ospf cost 15
 ip ospf priority 0
 no ip mroute-cache
 no fair-queue
 clockrate 64000
 frame-relay map ip 172.16.1.5 231 broadcast
 frame-relay map ip 172.16.1.6 231 broadcast
 no frame-relay inverse-arp
!

interface BRI0
 no ip address
 shutdown
!
router ospf 2002
 log-adjacency-changes
 area 1 authentication message-digest
 area 1 range 172.16.10.0 255.255.255.0
 network 172.16.1.0 0.0.0.255 area 0
 network 172.16.10.0 0.0.0.15 area 1

!
ip classless
no ip http server

line con 0
 exec-timeout 0 0
 transport input none
line aux 0
 transport input all
line vty 0 4
 privilege level 15
 no login
!
end

r3#
----- Original Message -----
From: <kris.keen@aon.com.au>
To: "Joe Jia" <ellenjjl@rogers.com>
Cc: <ccielab@groupstudy.com>
Sent: Thursday, April 18, 2002 11:29 PM
Subject: Re: How to change route from O to IA in OSPF?

>
> Joe,
>
> Do you have a route table handy? Hard to make out from your diagram...
>
> -----------------------------------------------------------------
> Kris Keen - CNE, CCNA, CCNP
> Network Support Specialist - Network Systems
> Aon Risk Services Australia Limited
> (612) 9253 7272
> 0404862970
> E: Kris.Keen@aon.com.au
>
>
>
>
>
> "Joe Jia"
> <ellenjjl@roge To: <ccielab@groupstudy.com>

> rs.com> cc:
> Sent by: bcc:
> nobody@groupst Subject: How to change route
from O to IA in OSPF?
> udy.com
>
>
> 19/04/2002
> 12:55 PM
> Please respond
> to "Joe Jia"
>
>
>
>
>
>
> Hi,
> how to change the path at R2 to R1's ethernet0 from R2's serial0 to its
> ethernet 0?
> I have the case as following: R1,R2,R3 hub-spoke topology. R1 has
> ethernet0
> and searial 0 at area 0
> R2 has 64k serial0 and 10M ethernet interfaces, s0 in area0, ethernet0 in
> area1
> R3 has T1 serial0 and 10M ethernet interfaces, so in area 0 , ethernet 0
> with
> R2's e0 in area 1
>
> I have the question, how can change R2's route to R1's ethernet0 from R2's
> serial0 to Ethernet0 because this way has a low cost?
>
> O , IA, E1, E2?
>
> 128.10.1.0/24
> ______(e0)
> |
> (area0)
> R1
> |
> (s0) 172.16.1.5/24
> (area0) / \ (area0)
> 64k / \ T1
> / \
> (s0) (s0)
> 172.16.1.6/24 | | 172.16.1.1/24
> R2 R3
> | (e0) | (e0)
> (area1)|________| (area1)



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