Problem with OSPF route
 




IT Certification FAQ

 
|
Home
|
Microsoft
|
CISCO
|
CompTIA
|
Exam/Study FAQ
|
Employment FAQ
| Links  | Forums  |
Book Reviews


FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  ProfileProfile  Log in to check your private messagesPrivate messages  Log inLog in

Problem with OSPF route

 
Post new topic   Reply to topic    Forum Index -> alt.certification.cisco
Author Message
Jason
Guest





PostPosted: Sun Feb 10, 2008 7:51 pm    Post subject: Problem with OSPF route Reply with quote

Hi,

I have a 10 Meg ethernet port on 'router 1' configured with IP address
192.168.1.100, it also has a secondary IP address of 192.168.7.1
configured. I have declared both IP addresses with the 'wildcard' mask
0.0.0.0 in the OSPF network configuration (along with a serial interface
192.168.2.2 on that router). However, on my other 2 routrers I'm seeing the
route to 192.168.7.1 but NOT to the 192.168.1.100 'primary' address?

I only added the 192.168.7.1 address to the OSPF network config in order to
troubleshoot the problem, prior to adding that I was not seeing the
192.168.1.100 route either, removing the secondary IP address does not
resolve the problem either.

I've checked MTU size, passive-interfaces & removed all authentication in
order to solve the problem, but to no avail. I've included various screen
dumps in order to help, can anyone point me in the right direction?

From router 2, showing the 192.168.7.0 route but not 192.168.1.0

CHICO#show ip route ospf
O 192.168.7.0/24 [110/11] via 192.168.2.2, 00:05:35, Serial0
CHICO#

From router 1, various show commands

GROUCHO#show ip ospf interface e0/0
Ethernet0/0 is up, line protocol is up
Internet Address 192.168.1.100/24, Area 0
Process ID 5, Router ID 192.168.4.2, Network Type BROADCAST, Cost: 10
Transmit Delay is 1 sec, State DR, Priority 1
Designated Router (ID) 192.168.4.2, Interface address 192.168.1.100
No backup designated router on this network
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:05
Index 1/1, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 0, maximum is 0
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 0, Adjacent neighbor count is 0
Suppress hello for 0 neighbor(s)


Excerpts from running-config

interface Ethernet0/0
description LINK TO LAN
ip address 192.168.7.1 255.255.255.0 secondary
ip address 192.168.1.100 255.255.255.0
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat outside
no ip mroute-cache
full-duplex
no cdp enable


GROUCHO#show ip ospf database

OSPF Router with ID (192.168.4.2) (Process ID 5)

Router Link States (Area 0)

Link ID ADV Router Age Seq# Checksum Link count
192.168.3.1 192.168.3.1 1674 0x80000004 0x00FD1F 4
192.168.3.2 192.168.3.2 1670 0x80000002 0x00BFC1 2
192.168.4.2 192.168.4.2 272 0x80000006 0x002470 4
Back to top
pk
Guest





PostPosted: Sun Feb 10, 2008 10:15 pm    Post subject: Re: Problem with OSPF route Reply with quote

Jason wrote:

Quote:
Hi,

I have a 10 Meg ethernet port on 'router 1' configured with IP address
192.168.1.100, it also has a secondary IP address of 192.168.7.1
configured. I have declared both IP addresses with the 'wildcard' mask
0.0.0.0 in the OSPF network configuration (along with a serial interface
192.168.2.2 on that router). However, on my other 2 routrers I'm seeing
the route to 192.168.7.1 but NOT to the 192.168.1.100 'primary' address?

Did you try to debug the adjacency process? What does "sh ip ospf neigh"
show?
Back to top
Jason
Guest





PostPosted: Sun Feb 10, 2008 11:02 pm    Post subject: Re: Problem with OSPF route Reply with quote

pk <pk@pk.pk> wrote in news:fon714$k2g$1@aioe.org:

Quote:
Jason wrote:

Hi,

I have a 10 Meg ethernet port on 'router 1' configured with IP address
192.168.1.100, it also has a secondary IP address of 192.168.7.1
configured. I have declared both IP addresses with the 'wildcard' mask
0.0.0.0 in the OSPF network configuration (along with a serial interface
192.168.2.2 on that router). However, on my other 2 routrers I'm seeing
the route to 192.168.7.1 but NOT to the 192.168.1.100 'primary' address?

Did you try to debug the adjacency process? What does "sh ip ospf neigh"
show?


Yeah the two routers are fully adjacent, here is the info:

On GROUCHO:

GROUCHO#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface
192.168.3.1 1 FULL/ - 00:00:35 192.168.2.1 Serial0/0
GROUCHO#


On CHICO

CHICO#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface
192.168.4.2 1 FULL/ - 00:00:38 192.168.2.2 Serial0
192.168.3.2 1 FULL/ - 00:00:34 192.168.3.2 Serial1
CHICO#
Back to top
pk
Guest





PostPosted: Sun Feb 10, 2008 11:37 pm    Post subject: Re: Problem with OSPF route Reply with quote

Jason wrote:

Quote:
Did you try to debug the adjacency process? What does "sh ip ospf neigh"
show?


Yeah the two routers are fully adjacent, here is the info:

On GROUCHO:

GROUCHO#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address
Interface
192.168.3.1 1 FULL/ - 00:00:35 192.168.2.1
Serial0/0 GROUCHO#


On CHICO

CHICO#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address
Interface
192.168.4.2 1 FULL/ - 00:00:38 192.168.2.2 Serial0
192.168.3.2 1 FULL/ - 00:00:34 192.168.3.2 Serial1
CHICO#

Post full config for GROUCHO and CHICO (at least "interface" and "router
ospf" config). Where does the 192.168.4.2 RID for GROUCHO come from?
Back to top
Jason
Guest





PostPosted: Sun Feb 10, 2008 11:38 pm    Post subject: Re: Problem with OSPF route Reply with quote

pk <pk@pk.pk> wrote in news:fonbrg$6ku$1@aioe.org:

Quote:
Jason wrote:

Did you try to debug the adjacency process? What does "sh ip ospf
neigh" show?


Yeah the two routers are fully adjacent, here is the info:

On GROUCHO:

GROUCHO#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address
Interface
192.168.3.1 1 FULL/ - 00:00:35 192.168.2.1
Serial0/0 GROUCHO#


On CHICO

CHICO#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address
Interface
192.168.4.2 1 FULL/ - 00:00:38 192.168.2.2
Serial0 192.168.3.2 1 FULL/ - 00:00:34 192.168.3.2
Serial1 CHICO#

Post full config for GROUCHO and CHICO (at least "interface" and
"router ospf" config). Where does the 192.168.4.2 RID for GROUCHO come
from?



Here are the 2 running configs, 192.168.4.2 is the ip address of another
ethernet port on GROUCHO which is 'DOWN' at the moment. I have been
using it to get my Internet connection working through my Cisco kit by
plugging my 3Com modem into it. OSPF just chose this IP address to use
as the ID for GROUCHO.


GROUCHO#show run
Building configuration...

Current configuration : 2362 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname GROUCHO
!
boot system tftp c2600-is-mz.121-27b.bin 192.168.1.50
boot system flash
aaa new-model
aaa authentication login default local
aaa authorization exec default local
enable secret 5 $1$FyMK$Zrr0VmdGOD3vNYR75Rjzf.
enable password 7 121A0C041104
!
username Jason password 7 02000B5000031D7318
ip subnet-zero
!
!
no ip domain-lookup
ip host HARPO 192.168.3.2
ip host CHICO 192.168.2.1
ip host SWITCH 192.168.1.2
ip dhcp excluded-address 192.168.1.1 192.168.1.9
ip dhcp excluded-address 192.168.1.25 192.168.1.255
ip dhcp excluded-address 192.168.1.17 255.255.255.0
ip dhcp excluded-address 192.168.1.12 255.255.255.0
ip dhcp excluded-address 192.168.1.11 255.255.255.0
!
ip dhcp pool Jason
network 192.168.1.0 255.255.255.0
default-router 192.168.1.100
dns-server 4.2.2.2 4.2.2.3
domain-name jason.co.uk
lease 7
!
no ip bootp server
!
key chain jason
key 1
key-string 7 01100F175804
!
!
!
interface Ethernet0/0
description LINK TO LAN
ip address 192.168.7.1 255.255.255.0 secondary
ip address 192.168.1.100 255.255.255.0
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat outside
no ip mroute-cache
full-duplex
no cdp enable
!
interface Serial0/0
bandwidth 100000
ip address 192.168.2.2 255.255.255.252
ip authentication mode eigrp 99 md5
ip authentication key-chain eigrp 99 jason
ip ospf cost 300
no ip mroute-cache
!
interface Ethernet0/1
description LINK TO INTERNET
ip address 192.168.4.2 255.255.255.0
ip nat inside
no ip mroute-cache
full-duplex
!
router eigrp 99
network 192.168.1.0
network 192.168.2.2 0.0.0.0
auto-summary
!
router ospf 5
log-adjacency-changes
network 192.168.1.100 0.0.0.0 area 0
network 192.168.2.2 0.0.0.0 area 0
network 192.168.7.1 0.0.0.0 area 0
!
router rip
version 2
network 192.168.1.0
network 192.168.2.0
network 192.168.7.0
!
ip nat inside source list 102 interface Ethernet0/0 overload
ip nat inside source static udp 192.168.1.17 32459 interface Ethernet0/0
32459
ip nat inside source static tcp 192.168.1.17 32459 interface Ethernet0/0
32459
ip classless
no ip http server
!
!
line con 0
exec-timeout 0 0
password 7 071C3543400C0B0A041718
logging synchronous
line aux 0
line vty 0 4
access-class 1 in
password 7 050D09042A495C5B4D
!
end



CHICO#show run
Building configuration...

Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname CHICO
!
enable secret 5 $1$7F47$eFaUV7zrDHoKuM7oQFV0F/
!
username EAGLE1 password 7 1316031D0509162538213B
username Jason password 7 0115090F500E145D75
ip subnet-zero
no ip domain-lookup
ip host GROUCHO 192.168.2.2
ip host HARPO 192.168.3.2 255.255.255.0
isdn switch-type basic-ni
!
key chain jason
key 1
key-string 7 070C285F4D06
clock timezone BST 0
!
!
!
interface Serial0
description LINK TO GROUCHO
bandwidth 1000000
ip address 192.168.2.1 255.255.255.252
ip access-group jason2 in
ip access-group jason out
no ip directed-broadcast
ip authentication mode eigrp 99 md5
ip authentication key-chain eigrp 99 jason
clockrate 64000
!
interface Serial1
description LINK TO HARPO
ip address 192.168.3.1 255.255.255.252
no ip directed-broadcast
ip authentication mode eigrp 99 md5
ip authentication key-chain eigrp 99 jason
clockrate 64000
!
interface TokenRing0
no ip address
no ip directed-broadcast
shutdown
!
interface BRI0
no ip address
no ip directed-broadcast
encapsulation ppp
shutdown
isdn switch-type basic-ni
!
router eigrp 99
network 192.168.2.0
network 192.168.3.0
!
router ospf 5
network 192.168.2.1 0.0.0.0 area 0
network 192.168.3.1 0.0.0.0 area 0
!
router rip
version 2
network 192.168.2.0
network 192.168.3.0
!
ip classless
ip route 192.168.5.0 255.255.255.0 192.168.2.2
!
banner motd ^CThe old Eagle2^C
!
line con 0
exec-timeout 0 0
password 7 04481F0901245E411A1C16
logging synchronous
login local
transport input none
line aux 0
line vty 0 4
exec-timeout 0 0
password 7 120D001B1C0E18
login
!
end
Back to top
Jason
Guest





PostPosted: Mon Feb 11, 2008 12:09 am    Post subject: Re: Problem with OSPF route Reply with quote

pk <pk@pk.pk> wrote in news:fone5n$efu$1@aioe.org:

Quote:
Jason wrote:

Post full config for GROUCHO and CHICO (at least "interface" and
"router ospf" config). Where does the 192.168.4.2 RID for GROUCHO
come from?

Here are the 2 running configs, 192.168.4.2 is the ip address of
another ethernet port on GROUCHO which is 'DOWN' at the moment. I
have been using it to get my Internet connection working through my
Cisco kit by plugging my 3Com modem into it. OSPF just chose this IP
address to use as the ID for GROUCHO.

Your configs are a bit messy :-)

First thing I'd do, is to remove eigrp and rip. I can't imagine why
you would want or need to run more than one routing protocol on the
same links. It's considered bad practice. Also remove all
eigrp-related stuff, like authentication, from interface
configuration. EIGRP has a lower administrative distance than OSPF,
and most likely adversely interferes with it.

Second, remove access-groups (in and out) from CHICO's serial0, since
they are not defined anywhere.

Third, you have asymmetric bandwidth/cost configurations for GROUCHO's
s0/0 and CHICO's s0. On GROUCHO, you declare an OSPF cost of 300,
while on CHICO the cost is left at its default value (which is
10^8/bandwidth, or 10^8/10^6, or 100). Having different costs for a
link at the opposite sides is not recommended, since it can cause
asymmetric routing. Either manually adjust the costs, or the
bandwidths, or remove both altogether and go with the default values.

After all the above, reload the routers and see whether things get
better.



Thanks for the advice, I'll try your suggestions. The configs are a bit
messy for two reasons:

1) I didn't erase the configs from the previos user
2) I've been experimenting with many different settings & trying different
configs to try to understand all the concepts

I've nearly finished both ICND1 & ICND2 books so most likely I'll erase
everything and start again when I've finished the second book & covered all
the topics.

Cheers, Jase.
Back to top
pk
Guest





PostPosted: Mon Feb 11, 2008 12:17 am    Post subject: Re: Problem with OSPF route Reply with quote

Jason wrote:

Quote:
Post full config for GROUCHO and CHICO (at least "interface" and
"router ospf" config). Where does the 192.168.4.2 RID for GROUCHO come
from?

Here are the 2 running configs, 192.168.4.2 is the ip address of another
ethernet port on GROUCHO which is 'DOWN' at the moment. I have been
using it to get my Internet connection working through my Cisco kit by
plugging my 3Com modem into it. OSPF just chose this IP address to use
as the ID for GROUCHO.

Your configs are a bit messy :-)

First thing I'd do, is to remove eigrp and rip. I can't imagine why you
would want or need to run more than one routing protocol on the same links.
It's considered bad practice. Also remove all eigrp-related stuff, like
authentication, from interface configuration. EIGRP has a lower
administrative distance than OSPF, and most likely adversely interferes
with it.

Second, remove access-groups (in and out) from CHICO's serial0, since they
are not defined anywhere.

Third, you have asymmetric bandwidth/cost configurations for GROUCHO's s0/0
and CHICO's s0. On GROUCHO, you declare an OSPF cost of 300, while on CHICO
the cost is left at its default value (which is 10^8/bandwidth, or
10^8/10^6, or 100). Having different costs for a link at the opposite sides
is not recommended, since it can cause asymmetric routing. Either manually
adjust the costs, or the bandwidths, or remove both altogether and go with
the default values.

After all the above, reload the routers and see whether things get better.
Back to top
Jason
Guest





PostPosted: Mon Feb 11, 2008 12:24 am    Post subject: Re: Problem with OSPF route Reply with quote

pk <pk@pk.pk> wrote in news:fone5n$efu$1@aioe.org:

Quote:
Jason wrote:

Post full config for GROUCHO and CHICO (at least "interface" and
"router ospf" config). Where does the 192.168.4.2 RID for GROUCHO
come from?

Here are the 2 running configs, 192.168.4.2 is the ip address of
another ethernet port on GROUCHO which is 'DOWN' at the moment. I
have been using it to get my Internet connection working through my
Cisco kit by plugging my 3Com modem into it. OSPF just chose this IP
address to use as the ID for GROUCHO.

Your configs are a bit messy :-)

First thing I'd do, is to remove eigrp and rip. I can't imagine why
you would want or need to run more than one routing protocol on the
same links. It's considered bad practice. Also remove all
eigrp-related stuff, like authentication, from interface
configuration. EIGRP has a lower administrative distance than OSPF,
and most likely adversely interferes with it.

Second, remove access-groups (in and out) from CHICO's serial0, since
they are not defined anywhere.

Third, you have asymmetric bandwidth/cost configurations for GROUCHO's
s0/0 and CHICO's s0. On GROUCHO, you declare an OSPF cost of 300,
while on CHICO the cost is left at its default value (which is
10^8/bandwidth, or 10^8/10^6, or 100). Having different costs for a
link at the opposite sides is not recommended, since it can cause
asymmetric routing. Either manually adjust the costs, or the
bandwidths, or remove both altogether and go with the default values.

After all the above, reload the routers and see whether things get
better.


It looks like removing RIP & EIGRP solved the problem, I've learned
something as I thought even if the administrative cost for a route was
lower it would at least be displayed in a 'show ip route' command so long
as it was UP & there were no other authentication / config problems. Thanks
for taking the time to look into the problem for me.

Jase
Back to top
pk
Guest





PostPosted: Mon Feb 11, 2008 12:47 am    Post subject: Re: Problem with OSPF route Reply with quote

Jason wrote:

Quote:
It looks like removing RIP & EIGRP solved the problem, I've learned
something as I thought even if the administrative cost for a route was
lower it would at least be displayed in a 'show ip route' command so long
as it was UP & there were no other authentication / config problems.

No, when the same route (destination/mask) is learned by multiple sources
(routing protocols), only the one with the lowest AD is entered into the
routing table.

Quote:
Thanks for taking the time to look into the problem for me.

You're welcome.

Regards
Back to top
Joe Beasley
Guest





PostPosted: Mon Feb 11, 2008 10:44 am    Post subject: Re: Problem with OSPF route Reply with quote

Jason wrote:
Quote:
pk <pk@pk.pk> wrote in news:fone5n$efu$1@aioe.org:

Jason wrote:

Post full config for GROUCHO and CHICO (at least "interface" and
"router ospf" config). Where does the 192.168.4.2 RID for GROUCHO
come from?
Here are the 2 running configs, 192.168.4.2 is the ip address of
another ethernet port on GROUCHO which is 'DOWN' at the moment. I
have been using it to get my Internet connection working through my
Cisco kit by plugging my 3Com modem into it. OSPF just chose this IP
address to use as the ID for GROUCHO.
Your configs are a bit messy :-)

First thing I'd do, is to remove eigrp and rip. I can't imagine why
you would want or need to run more than one routing protocol on the
same links. It's considered bad practice. Also remove all
eigrp-related stuff, like authentication, from interface
configuration. EIGRP has a lower administrative distance than OSPF,
and most likely adversely interferes with it.

Second, remove access-groups (in and out) from CHICO's serial0, since
they are not defined anywhere.

Third, you have asymmetric bandwidth/cost configurations for GROUCHO's
s0/0 and CHICO's s0. On GROUCHO, you declare an OSPF cost of 300,
while on CHICO the cost is left at its default value (which is
10^8/bandwidth, or 10^8/10^6, or 100). Having different costs for a
link at the opposite sides is not recommended, since it can cause
asymmetric routing. Either manually adjust the costs, or the
bandwidths, or remove both altogether and go with the default values.

After all the above, reload the routers and see whether things get
better.


It looks like removing RIP & EIGRP solved the problem, I've learned
something as I thought even if the administrative cost for a route was
lower it would at least be displayed in a 'show ip route' command so long
as it was UP & there were no other authentication / config problems. Thanks
for taking the time to look into the problem for me.

Jase
You can also check for all ospf routes using 'show ip ospf database'.



Also.... Don't post your passwords....
jbeasley@jbeasley-desktop:~$ echo password 7 02000B5000031D7318 |
ios7decrypt.pl
password fokker24
jbeasley@jbeasley-desktop:~$ echo password 7 071C3543400C0B0A041718 |
ios7decrypt.pl
password stoneroses
jbeasley@jbeasley-desktop:~$ echo password 7 050D09042A495C5B4D |
ios7decrypt.pl
password fokker24
jbeasley@jbeasley-desktop:~$ echo password 7 1316031D0509162538213B |
ios7decrypt.pl
password stoneroses
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Forum Index -> alt.certification.cisco All times are GMT
Page 1 of 1

 

Copyright © 2002-2006 Web-S-Sense Pty. Ltd. All rights reserved.

Powered by phpBB
Advertising | Policies/Disclaimers | Contact us | Link to us


Featured Sites: Free Antivirus and Antispyware Info | Free PC Support | MCSE Directory