Re: Is anyone using the Jeff Doyle Book?

From: Joe Soricelli (jsoricelli@xxxxxxxx)
Date: Wed Jun 16 1999 - 09:24:29 GMT-3


   
A couple of things here.

First, text files are attached as I didn't want to lengthen this e-mail any
more than necessary

Second, as Rick Burts pointed out, OSPF will advertise secondary addreses on
an interface if they are in the same OSPF area.

Third, some issues with the configurations below.

I layed in these configs exactly as shown on three of my routers. The
results of the configs and a show ip route from each router are attached as
hostname-start.txt (e.g. r2520-start.txt)

Notice that r2520 has all routing information available to it. Three
connected /28 routes and 4 OSPF E2 /27 routes.

When you look at r2503, its routing table has /32 routes for the 2 OSPF
networks on loopback interfaces on r2520. This is not complete routing
information. It is these two /32 routes that are getting redistributed into
RIP and can be seen on r2502.

At this point, r2502 can only ping those 2 specific IP addresses.

To get rid of the /32 routes in favor of /28 routes, you need to place the
command ip ospf network point-to-point on the loopbacks on r2520. This will
advertise them as /28 routes instead. NOTE: This command is only valid in
11.3 code. For previous versions, you need an area # range command to make
this happen.

OK, so now r2503 sees only /28 routes from r2520, but this now leaves r2502
with only connected routes. r2503 will not advertise /28 routes out a RIP
interface of /27. So we have to make the OSPF routes appear to be /27
routes. We do this by using the summary-address command under OSPF on
r2503. This can be seen in the ending configs and final sho ip routes in
the attached text files.

HTH and please let me know if their are questions,
Joe

------------------------------------------------------------------
  Joseph M. Soricelli, CCIE #4803, CCNP
  EMAIL: jsoricelli@ccci.com

  Chesapeake Computer Consultants, Inc.
  8110 Gatehouse Road, Suite 101E Phone: (703) 207-0757
  Falls Church, VA 22042 Fax: (703) 207-0441

  FYI - About Chesapeake: We are a Cisco Certified Training and
  professional services partner. We offer most of the Cisco
  training courses as well as training for Fore, NetScout, and
  CheckPoint-1 Firewalls. We provide network consulting services,
  including design, network health, management, firewall,
  and problem solving. We now have 20 CCIEs on our staff
  of instructor/consultants.
-------------------------------------------------------------------

-----Original Message-----
From: Vince Fortunato <vfortunato@erols.com>
To: Ben Rife <brife@bignet.net>
Cc: Scott O'Donnell <scotto@iworksys.com>; ccielab@groupstudy.com
<ccielab@groupstudy.com>
Date: Wednesday, June 16, 1999 12:11 AM
Subject: Re: Is anyone using the Jeff Doyle Book?

>Ben:
>
>I believe you have to turn off split horizon for secondary interfaces to
get
>advertised. -- This is how it is with EIGRP, but I cannot fathom why OSPF
>would require this.
>
>Vince
>
>Ben Rife wrote:
>
>> Scott,
>>
>> Here's the 3 routers configs.
>> (refer to pp 739 in Doyle's book question #2)
>> I believe this will work, I tried it and it seemed to. The only problem I
>> had was
>> redistribution of secondary addresses on a loopback interface running
OSPF.
>> I had to use
>> multiple loopback interfaces to achieve that. Can anyone help?
>>
>> r2520-------r2503-------r2502
>>
>> ===========================================
>> hostname r2520
>> !
>> no ip domain-lookup
>> !
>> interface Loopback0
>> ip address 172.16.1.161 255.255.255.240
>> !
>> interface Loopback1
>> ip address 172.16.1.225 255.255.255.240
>> !
>> interface Serial2
>> ip address 172.16.1.145 255.255.255.240
>> bandwidth 1544
>> clockrate 56000
>> !
>> router ospf 100
>> network 172.16.1.0 0.0.0.255 area 0
>>
>> ===========================================
>>
>> hostname r2503
>> !
>> interface Serial0
>> ip address 172.16.1.146 255.255.255.240
>> !
>> interface Serial1
>> ip address 172.16.1.97 255.255.255.224
>> clockrate 64000
>> !
>> router ospf 100
>> redistribute rip metric 20 subnets
>> network 172.16.1.146 0.0.0.0 area 0
>> !
>> router rip
>> redistribute ospf 100 metric 2
>> passive-interface Serial0
>> network 172.16.0.0
>>
>> ===========================================
>>
>> hostname r2502
>> !
>> interface Loopback0
>> ip address 172.16.2.65 255.255.255.224 secondary
>> ip address 172.16.2.129 255.255.255.224 secondary
>> ip address 172.16.2.33 255.255.255.224
>> !
>> interface Serial1
>> ip address 172.16.1.98 255.255.255.224
>> !
>> router rip
>> network 172.16.0.0
>>
>> ===========================================
>>
>> HTH,
>>
>> Ben Rife
>> CCIE Candidate (30 days, RTP)
>>
>> ----- Original Message -----
>> From: Scott O'Donnell <scotto@iworksys.com>
>> To: <ccielab@groupstudy.com>
>> Sent: Sunday, June 13, 1999 1:21 PM
>> Subject: Is anyone using the Jeff Doyle Book?
>>
>> > I'm using the Jeff Doyle book CCIE Professional Development:Routing
>> > TCP/IP
>> > to prepare for the lab.
>> >
>> > I HIGHLY RECOMMEND THIS BOOK FOR ANYONE PREPARING FOR THE LAB!
>> >
>> > Anyway, on page 739 question #2, I simply can't get router C to learn
>> > the OSPF based routes
>> > coming from Router A. If anyone out there is using this book and can
>> > make this work, please
>> > let me know.
>> >
>> > Thanks in advance.
>> > Scott
>> >
>> >
>
>
>

version 11.3
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
service udp-small-servers
service tcp-small-servers
!
hostname r2502
!
!
interface Loopback0
 ip address 172.16.2.33 255.255.255.224 secondary
 ip address 172.16.1.129 255.255.255.224 secondary
 ip address 172.16.1.65 255.255.255.224
!
interface Serial1
 ip address 172.16.1.98 255.255.255.224
 no ip route-cache
 no ip mroute-cache
 clockrate 1300000
!
router rip
 network 172.16.0.0
!
ip classless
!
!
end

r2502#sho ip ro
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

     172.16.0.0/27 is subnetted, 7 subnets
R 172.16.1.160 [120/2] via 172.16.1.97, 00:00:05, Serial1
R 172.16.1.128 [120/2] via 172.16.1.97, 00:00:05, Serial1
C 172.16.2.128 is directly connected, Loopback0
R 172.16.1.224 [120/2] via 172.16.1.97, 00:00:05, Serial1
C 172.16.2.32 is directly connected, Loopback0
C 172.16.1.96 is directly connected, Serial1
C 172.16.2.64 is directly connected, Loopback0

version 11.3
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
service udp-small-servers
service tcp-small-servers
!
hostname r2502
!
!
interface Loopback0
 ip address 172.16.2.33 255.255.255.224 secondary
 ip address 172.16.1.129 255.255.255.224 secondary
 ip address 172.16.1.65 255.255.255.224
!
interface Serial1
 ip address 172.16.1.98 255.255.255.224
 no ip route-cache
 no ip mroute-cache
 clockrate 1300000
!
router rip
 network 172.16.0.0
!
ip classless
!
!
end

r2502#sho ip ro
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

     172.16.0.0/16 is variably subnetted, 8 subnets, 2 masks
R 172.16.1.161/32 [120/2] via 172.16.1.97, 00:00:09, Serial1
C 172.16.2.128/27 is directly connected, Loopback0
R 172.16.1.225/32 [120/2] via 172.16.1.97, 00:00:09, Serial1
C 172.16.2.32/27 is directly connected, Loopback0
C 172.16.1.96/27 is directly connected, Serial1
C 172.16.2.64/27 is directly connected, Loopback0
r2502#
!
version 11.3
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
service udp-small-servers
service tcp-small-servers
!
hostname r2503
!
!
interface Serial0
 ip address 172.16.1.97 255.255.255.224
 no ip route-cache
 no ip mroute-cache
!
interface Serial1
 ip address 172.16.1.146 255.255.255.240
 no ip route-cache
 no ip mroute-cache
 clockrate 1300000
!
router ospf 100
 summary-address 172.16.1.224 255.255.255.224
 summary-address 172.16.1.128 255.255.255.224
 summary-address 172.16.1.160 255.255.255.224
 redistribute rip metric 20 subnets
 network 172.16.1.146 0.0.0.0 area 0
!
router rip
 redistribute ospf 100 metric 2
 passive-interface Serial1
 network 172.16.0.0
!
ip classless
!
!
end

r2503#sho ip ro
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

     172.16.0.0/16 is variably subnetted, 7 subnets, 2 masks
O 172.16.1.160/28 [110/65] via 172.16.1.145, 00:00:21, Serial1
C 172.16.1.144/28 is directly connected, Serial1
R 172.16.2.128/27 [120/1] via 172.16.1.98, 00:00:13, Serial0
O 172.16.1.224/28 [110/65] via 172.16.1.145, 00:00:21, Serial1
R 172.16.2.32/27 [120/1] via 172.16.1.98, 00:00:13, Serial0
C 172.16.1.96/27 is directly connected, Serial0
R 172.16.2.64/27 [120/1] via 172.16.1.98, 00:00:13, Serial0
r2503#

!
version 11.3
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
service udp-small-servers
service tcp-small-servers
!
hostname r2503
!
!
interface Serial0
 ip address 172.16.1.97 255.255.255.224
 no ip route-cache
 no ip mroute-cache
!
interface Serial1
 ip address 172.16.1.146 255.255.255.240
 no ip route-cache
 no ip mroute-cache
 clockrate 1300000
!
router ospf 100
 redistribute rip metric 20 subnets
 network 172.16.1.146 0.0.0.0 area 0
!
router rip
 redistribute ospf 100 metric 2
 passive-interface Serial1
 network 172.16.0.0
!
ip classless
!
!
end

r2503#sho ip ro
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

     172.16.0.0/16 is variably subnetted, 9 subnets, 3 masks
O 172.16.1.161/32 [110/65] via 172.16.1.145, 00:01:22, Serial1
C 172.16.1.144/28 is directly connected, Serial1
R 172.16.2.128/27 [120/1] via 172.16.1.98, 00:00:25, Serial0
O 172.16.1.225/32 [110/65] via 172.16.1.145, 00:01:22, Serial1
R 172.16.2.32/27 [120/1] via 172.16.1.98, 00:00:26, Serial0
C 172.16.1.96/27 is directly connected, Serial0
R 172.16.2.64/27 [120/1] via 172.16.1.98, 00:00:26, Serial0
r2503#
!
version 11.3
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
service udp-small-servers
service tcp-small-servers
!
hostname r2520
!
!
interface Loopback0
 ip address 172.16.1.161 255.255.255.240
 ip ospf network point-to-point
!
interface Loopback1
 ip address 172.16.1.225 255.255.255.240
 ip ospf network point-to-point
!
interface Serial0
 ip address 172.16.1.145 255.255.255.240
 no ip route-cache
 no ip mroute-cache
!
router ospf 100
 network 172.16.1.0 0.0.0.255 area 0
!
ip classless
!
!
end

r2520#sho ip ro
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

     172.16.0.0/16 is variably subnetted, 7 subnets, 2 masks
C 172.16.1.160/28 is directly connected, Loopback0
C 172.16.1.144/28 is directly connected, Serial0
O E2 172.16.1.128/27 [110/20] via 172.16.1.146, 00:01:56, Serial0
C 172.16.1.224/28 is directly connected, Loopback1
O E2 172.16.2.32/27 [110/20] via 172.16.1.146, 00:01:56, Serial0
O E2 172.16.1.96/27 [110/20] via 172.16.1.146, 00:01:56, Serial0
O E2 172.16.1.64/27 [110/20] via 172.16.1.146, 00:01:56, Serial0
!
version 11.3
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
service udp-small-servers
service tcp-small-servers
!
hostname r2520
!
!
interface Loopback0
 ip address 172.16.1.161 255.255.255.240
!
interface Loopback1
 ip address 172.16.1.225 255.255.255.240
!
interface Serial0
 ip address 172.16.1.145 255.255.255.240
 no ip route-cache
 no ip mroute-cache
!
router ospf 100
 network 172.16.1.0 0.0.0.255 area 0
!
ip classless
!
!
end

r2520#sho ip ro
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

     172.16.0.0/16 is variably subnetted, 7 subnets, 2 masks
C 172.16.1.160/28 is directly connected, Loopback0
C 172.16.1.144/28 is directly connected, Serial0
O E2 172.16.1.128/27 [110/20] via 172.16.1.146, 00:01:56, Serial0
C 172.16.1.224/28 is directly connected, Loopback1
O E2 172.16.2.32/27 [110/20] via 172.16.1.146, 00:01:56, Serial0
O E2 172.16.1.96/27 [110/20] via 172.16.1.146, 00:01:56, Serial0
O E2 172.16.1.64/27 [110/20] via 172.16.1.146, 00:01:56, Serial0



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:21:39 GMT-3