Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Cisco (http://www.velocityreviews.com/forums/f27-cisco.html)
-   -   Two routers IGRP/OSPF problem (http://www.velocityreviews.com/forums/t31571-two-routers-igrp-ospf-problem.html)

Simon Chamberlain 01-16-2004 03:49 PM

Two routers IGRP/OSPF problem
 
Hello,

Can anyone figure this out? There are two Routers (1 and 2) connected via
the serial ports. Router1 is running IGRP and Router2 is running OSPF and
IGRP. On Router 2 OSPF is redistributed in IGRP and vice-versa. According to
the book I have with the following configuration I should be able to ping
the loopback interfaces and the ethernet interface on the opposite router.
Can you spot what I'm doing wrong? The configs are below:

Thanks,
Simon


Router1#show run
Building configuration...

Current configuration : 745 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router1
!
!
!
!
!
!
ip subnet-zero
!
!
!
!
!
!
interface Loopback0
ip address 131.108.4.1 255.255.255.0
!
interface Loopback1
ip address 131.108.5.1 255.255.255.0
!
interface Loopback2
ip address 131.108.6.1 255.255.255.0
!
interface Ethernet0
ip address 131.108.1.1 255.255.255.0
!
interface Ethernet1
no ip address
shutdown
!
interface Serial0
ip address 131.108.3.1 255.255.255.0
!
interface Serial1
no ip address
shutdown
!
router igrp 1
network 131.108.0.0
!
ip classless
ip http server
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
!
end

Router2#show run
Building configuration...

Current configuration : 1420 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router2
!
!
!
!
!
!
ip subnet-zero
!
!
!
!
!
!
interface Loopback0
ip address 131.108.7.1 255.255.255.255
!
interface Loopback1
ip address 131.108.8.1 255.255.255.255
!
interface Loopback2
ip address 131.108.9.1 255.255.255.255
!
interface Ethernet0
ip address 131.108.8.129 255.255.255.128
!
interface Serial0
no ip address
shutdown
no fair-queue
!
interface Serial1
ip address 131.108.3.2 255.255.255.0
clockrate 64000
!
interface Serial2
no ip address
shutdown
!
interface Serial3
no ip address
shutdown
!
interface BRI0
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
summary-address 131.108.9.0 255.255.255.0
summary-address 131.108.7.0 255.255.255.0
summary-address 131.108.8.0 255.255.255.0
redistribute connected subnets
redistribute igrp 1 metric 1 subnets
network 131.108.7.1 0.0.0.0 area 0
network 131.108.8.1 0.0.0.0 area 0
network 131.108.8.129 0.0.0.0 area 0
network 131.108.9.1 0.0.0.0 area 0
!
router igrp 1
redistribute ospf 1 metric 64 20000 255 1 1500
passive-interface Ethernet0
passive-interface Loopback0
passive-interface Loopback1
passive-interface Loopback2
network 131.108.0.0
!
ip classless
ip http server
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
!
end

Router1#show 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

131.108.0.0/24 is subnetted, 5 subnets
C 131.108.6.0 is directly connected, Loopback2
C 131.108.5.0 is directly connected, Loopback1
C 131.108.4.0 is directly connected, Loopback0
C 131.108.3.0 is directly connected, Serial0
C 131.108.1.0 is directly connected, Ethernet0
Router1#

Router2#show 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

131.108.0.0/16 is variably subnetted, 9 subnets, 3 masks
C 131.108.8.128/25 is directly connected, Ethernet0
C 131.108.8.1/32 is directly connected, Loopback1
C 131.108.9.1/32 is directly connected, Loopback2
I 131.108.6.0/24 [100/8976] via 131.108.3.1, 00:00:40, Serial1
C 131.108.7.1/32 is directly connected, Loopback0
I 131.108.5.0/24 [100/8976] via 131.108.3.1, 00:00:40, Serial1
I 131.108.4.0/24 [100/8976] via 131.108.3.1, 00:00:40, Serial1
C 131.108.3.0/24 is directly connected, Serial1
I 131.108.1.0/24 [100/8576] via 131.108.3.1, 00:00:41, Serial1
Router2#



ETLALAR 01-16-2004 07:07 PM

Re: Two routers IGRP/OSPF problem
 
Have a look at this http://www.cisco.com/warp/public/105/54.html , section
General Behavior
Sending Updates
line 5

- and compare R2 E0/Loopback netmasks and R2 S0 netmask.
HTH,
Cheers
Alex

"Simon Chamberlain" <Simon.Chamberlain@hotmail.com> wrote in message
news:bu915c$83j$1@nntp0.reith.bbc.co.uk...
> Hello,
>
> Can anyone figure this out? There are two Routers (1 and 2) connected via
> the serial ports. Router1 is running IGRP and Router2 is running OSPF and
> IGRP. On Router 2 OSPF is redistributed in IGRP and vice-versa. According

to
> the book I have with the following configuration I should be able to ping
> the loopback interfaces and the ethernet interface on the opposite router.
> Can you spot what I'm doing wrong? The configs are below:
>
> Thanks,
> Simon
>
>

[snip]



firemarsh 01-17-2004 09:27 AM

Re: Two routers IGRP/OSPF problem
 
Does anything change when you give each router a default gateway, or a
default route?

ip default-gateway xxx.yyy.zzz.bbb (where xxx.yyy.zzz.bbb is the next hop if
not found in the routing tables)
or
ip route 0.0.0.0 0.0.0.0 xxx.yyy.zzz.bbb (next logical hop)
also where are the following entries on your router 1, I think you have to
tell igrp to advertise them with this, but I am not sure:
> passive-interface Ethernet0
> passive-interface Loopback0
> passive-interface Loopback1
> passive-interface Loopback2


they all fall under the igrp 1 configs on your router 2...
my 2 cents.



--
Roger Hilt
Network Infrastructure Technician
Langley, AFB VA
"Simon Chamberlain" <Simon.Chamberlain@hotmail.com> wrote in message
news:bu915c$83j$1@nntp0.reith.bbc.co.uk...
> Hello,
>
> Can anyone figure this out? There are two Routers (1 and 2) connected via
> the serial ports. Router1 is running IGRP and Router2 is running OSPF and
> IGRP. On Router 2 OSPF is redistributed in IGRP and vice-versa. According

to
> the book I have with the following configuration I should be able to ping
> the loopback interfaces and the ethernet interface on the opposite router.
> Can you spot what I'm doing wrong? The configs are below:
>
> Thanks,
> Simon
>
>
> Router1#show run
> Building configuration...
>
> Current configuration : 745 bytes
> !
> version 12.1
> no service single-slot-reload-enable
> service timestamps debug uptime
> service timestamps log uptime
> no service password-encryption
> !
> hostname Router1
> !
> !
> !
> !
> !
> !
> ip subnet-zero
> !
> !
> !
> !
> !
> !
> interface Loopback0
> ip address 131.108.4.1 255.255.255.0
> !
> interface Loopback1
> ip address 131.108.5.1 255.255.255.0
> !
> interface Loopback2
> ip address 131.108.6.1 255.255.255.0
> !
> interface Ethernet0
> ip address 131.108.1.1 255.255.255.0
> !
> interface Ethernet1
> no ip address
> shutdown
> !
> interface Serial0
> ip address 131.108.3.1 255.255.255.0
> !
> interface Serial1
> no ip address
> shutdown
> !
> router igrp 1
> network 131.108.0.0
> !
> ip classless
> ip http server
> !
> !
> !
> line con 0
> exec-timeout 0 0
> logging synchronous
> line aux 0
> line vty 0 4
> !
> end
>
> Router2#show run
> Building configuration...
>
> Current configuration : 1420 bytes
> !
> version 12.1
> no service single-slot-reload-enable
> service timestamps debug uptime
> service timestamps log uptime
> no service password-encryption
> !
> hostname Router2
> !
> !
> !
> !
> !
> !
> ip subnet-zero
> !
> !
> !
> !
> !
> !
> interface Loopback0
> ip address 131.108.7.1 255.255.255.255
> !
> interface Loopback1
> ip address 131.108.8.1 255.255.255.255
> !
> interface Loopback2
> ip address 131.108.9.1 255.255.255.255
> !
> interface Ethernet0
> ip address 131.108.8.129 255.255.255.128
> !
> interface Serial0
> no ip address
> shutdown
> no fair-queue
> !
> interface Serial1
> ip address 131.108.3.2 255.255.255.0
> clockrate 64000
> !
> interface Serial2
> no ip address
> shutdown
> !
> interface Serial3
> no ip address
> shutdown
> !
> interface BRI0
> no ip address
> shutdown
> !
> router ospf 1
> log-adjacency-changes
> summary-address 131.108.9.0 255.255.255.0
> summary-address 131.108.7.0 255.255.255.0
> summary-address 131.108.8.0 255.255.255.0
> redistribute connected subnets
> redistribute igrp 1 metric 1 subnets
> network 131.108.7.1 0.0.0.0 area 0
> network 131.108.8.1 0.0.0.0 area 0
> network 131.108.8.129 0.0.0.0 area 0
> network 131.108.9.1 0.0.0.0 area 0
> !
> router igrp 1
> redistribute ospf 1 metric 64 20000 255 1 1500
> passive-interface Ethernet0
> passive-interface Loopback0
> passive-interface Loopback1
> passive-interface Loopback2
> network 131.108.0.0
> !
> ip classless
> ip http server
> !
> !
> !
> line con 0
> exec-timeout 0 0
> logging synchronous
> line aux 0
> line vty 0 4
> !
> end
>
> Router1#show 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
>
> 131.108.0.0/24 is subnetted, 5 subnets
> C 131.108.6.0 is directly connected, Loopback2
> C 131.108.5.0 is directly connected, Loopback1
> C 131.108.4.0 is directly connected, Loopback0
> C 131.108.3.0 is directly connected, Serial0
> C 131.108.1.0 is directly connected, Ethernet0
> Router1#
>
> Router2#show 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
>
> 131.108.0.0/16 is variably subnetted, 9 subnets, 3 masks
> C 131.108.8.128/25 is directly connected, Ethernet0
> C 131.108.8.1/32 is directly connected, Loopback1
> C 131.108.9.1/32 is directly connected, Loopback2
> I 131.108.6.0/24 [100/8976] via 131.108.3.1, 00:00:40, Serial1
> C 131.108.7.1/32 is directly connected, Loopback0
> I 131.108.5.0/24 [100/8976] via 131.108.3.1, 00:00:40, Serial1
> I 131.108.4.0/24 [100/8976] via 131.108.3.1, 00:00:40, Serial1
> C 131.108.3.0/24 is directly connected, Serial1
> I 131.108.1.0/24 [100/8576] via 131.108.3.1, 00:00:41, Serial1
> Router2#
>
>




firemarsh 01-17-2004 09:56 AM

Re: Two routers IGRP/OSPF problem
 
Here's another thing.... IGRP *will not* advertise over an interface which
are on the same major network, but do not have the same mask, as igrp does
not support VLSM. It only sees classfull boundaries. so:

r1 is able to advertise his information to r2 over s0, because the routes
are :
A) the same major net : 131.108.0.0 /16
B) all have the same mask /24

so r2 sees his advertisements.

R2 is unable to send the advertisements because:

Both S1 and the loopbacks are on the same major net, yet don't have the same
Mask (s0 with /24 and loopbacks with /25)

this happens because of route summarization:
IGRP is a classful protocol which uses only classful boundaries. It see's
your class b networks as /16 addresses, and not as subnets.


this page
http://www.cisco.com/en/US/tech/tk36...80093fd9.shtml
Suggests this for your problem that is simulated on R2 as a fix for a larger
net:ip route 131.108.0.0 255.255.255.0 null0
router igrp
redistribute static
default metric 1
--
Roger Hilt
Network Infrastructure Technician
Langley, AFB VA
"firemarsh" <firemarsh@yahoo.com> wrote in message
news:he7Ob.3383$_H5.595@lakeread06...
> Does anything change when you give each router a default gateway, or a
> default route?
>
> ip default-gateway xxx.yyy.zzz.bbb (where xxx.yyy.zzz.bbb is the next hop

if
> not found in the routing tables)
> or
> ip route 0.0.0.0 0.0.0.0 xxx.yyy.zzz.bbb (next logical hop)
> also where are the following entries on your router 1, I think you have to
> tell igrp to advertise them with this, but I am not sure:
> > passive-interface Ethernet0
> > passive-interface Loopback0
> > passive-interface Loopback1
> > passive-interface Loopback2

>
> they all fall under the igrp 1 configs on your router 2...
> my 2 cents.
>
>
>
> --
> Roger Hilt
> Network Infrastructure Technician
> Langley, AFB VA
> "Simon Chamberlain" <Simon.Chamberlain@hotmail.com> wrote in message
> news:bu915c$83j$1@nntp0.reith.bbc.co.uk...
> > Hello,
> >
> > Can anyone figure this out? There are two Routers (1 and 2) connected

via
> > the serial ports. Router1 is running IGRP and Router2 is running OSPF

and
> > IGRP. On Router 2 OSPF is redistributed in IGRP and vice-versa.

According
> to
> > the book I have with the following configuration I should be able to

ping
> > the loopback interfaces and the ethernet interface on the opposite

router.
> > Can you spot what I'm doing wrong? The configs are below:
> >
> > Thanks,
> > Simon
> >
> >
> > Router1#show run
> > Building configuration...
> >
> > Current configuration : 745 bytes
> > !
> > version 12.1
> > no service single-slot-reload-enable
> > service timestamps debug uptime
> > service timestamps log uptime
> > no service password-encryption
> > !
> > hostname Router1
> > !
> > !
> > !
> > !
> > !
> > !
> > ip subnet-zero
> > !
> > !
> > !
> > !
> > !
> > !
> > interface Loopback0
> > ip address 131.108.4.1 255.255.255.0
> > !
> > interface Loopback1
> > ip address 131.108.5.1 255.255.255.0
> > !
> > interface Loopback2
> > ip address 131.108.6.1 255.255.255.0
> > !
> > interface Ethernet0
> > ip address 131.108.1.1 255.255.255.0
> > !
> > interface Ethernet1
> > no ip address
> > shutdown
> > !
> > interface Serial0
> > ip address 131.108.3.1 255.255.255.0
> > !
> > interface Serial1
> > no ip address
> > shutdown
> > !
> > router igrp 1
> > network 131.108.0.0
> > !
> > ip classless
> > ip http server
> > !
> > !
> > !
> > line con 0
> > exec-timeout 0 0
> > logging synchronous
> > line aux 0
> > line vty 0 4
> > !
> > end
> >
> > Router2#show run
> > Building configuration...
> >
> > Current configuration : 1420 bytes
> > !
> > version 12.1
> > no service single-slot-reload-enable
> > service timestamps debug uptime
> > service timestamps log uptime
> > no service password-encryption
> > !
> > hostname Router2
> > !
> > !
> > !
> > !
> > !
> > !
> > ip subnet-zero
> > !
> > !
> > !
> > !
> > !
> > !
> > interface Loopback0
> > ip address 131.108.7.1 255.255.255.255
> > !
> > interface Loopback1
> > ip address 131.108.8.1 255.255.255.255
> > !
> > interface Loopback2
> > ip address 131.108.9.1 255.255.255.255
> > !
> > interface Ethernet0
> > ip address 131.108.8.129 255.255.255.128
> > !
> > interface Serial0
> > no ip address
> > shutdown
> > no fair-queue
> > !
> > interface Serial1
> > ip address 131.108.3.2 255.255.255.0
> > clockrate 64000
> > !
> > interface Serial2
> > no ip address
> > shutdown
> > !
> > interface Serial3
> > no ip address
> > shutdown
> > !
> > interface BRI0
> > no ip address
> > shutdown
> > !
> > router ospf 1
> > log-adjacency-changes
> > summary-address 131.108.9.0 255.255.255.0
> > summary-address 131.108.7.0 255.255.255.0
> > summary-address 131.108.8.0 255.255.255.0
> > redistribute connected subnets
> > redistribute igrp 1 metric 1 subnets
> > network 131.108.7.1 0.0.0.0 area 0
> > network 131.108.8.1 0.0.0.0 area 0
> > network 131.108.8.129 0.0.0.0 area 0
> > network 131.108.9.1 0.0.0.0 area 0
> > !
> > router igrp 1
> > redistribute ospf 1 metric 64 20000 255 1 1500
> > passive-interface Ethernet0
> > passive-interface Loopback0
> > passive-interface Loopback1
> > passive-interface Loopback2
> > network 131.108.0.0
> > !
> > ip classless
> > ip http server
> > !
> > !
> > !
> > line con 0
> > exec-timeout 0 0
> > logging synchronous
> > line aux 0
> > line vty 0 4
> > !
> > end
> >
> > Router1#show 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
> >
> > 131.108.0.0/24 is subnetted, 5 subnets
> > C 131.108.6.0 is directly connected, Loopback2
> > C 131.108.5.0 is directly connected, Loopback1
> > C 131.108.4.0 is directly connected, Loopback0
> > C 131.108.3.0 is directly connected, Serial0
> > C 131.108.1.0 is directly connected, Ethernet0
> > Router1#
> >
> > Router2#show 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
> >
> > 131.108.0.0/16 is variably subnetted, 9 subnets, 3 masks
> > C 131.108.8.128/25 is directly connected, Ethernet0
> > C 131.108.8.1/32 is directly connected, Loopback1
> > C 131.108.9.1/32 is directly connected, Loopback2
> > I 131.108.6.0/24 [100/8976] via 131.108.3.1, 00:00:40, Serial1
> > C 131.108.7.1/32 is directly connected, Loopback0
> > I 131.108.5.0/24 [100/8976] via 131.108.3.1, 00:00:40, Serial1
> > I 131.108.4.0/24 [100/8976] via 131.108.3.1, 00:00:40, Serial1
> > C 131.108.3.0/24 is directly connected, Serial1
> > I 131.108.1.0/24 [100/8576] via 131.108.3.1, 00:00:41, Serial1
> > Router2#
> >
> >

>
>





All times are GMT. The time now is 12:46 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.