OSPF Help

pcpro215pcpro215 Member Posts: 15 ■□□□□□□□□□
Hi all,

I ma having an issue trying to get opsf to work in packetracer. I can see the default gateways on the router I run sh ip protocols on, but not the neighbor router. Also, when I run sh ip ospf neighbor, I don't get any neighbors showing up, which is my reason for posting this in the first place. :)

These are my network addresses R1
Interface fa0/1 172.20.4.101/30
Interface fa0/1.10 172.20.4.1/26
Interface fa0/1.20 172.20.1.1/24
Interface fa0/1.30 172.20.4.65/28

Results of sh ip protocols on R1
Router#sh ip protocols

Routing Protocol is "ospf 1"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Router ID 172.20.4.101
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
Maximum path: 4
Routing for Networks:
172.20.4.0 0.0.0.3 area 1
172.20.4.0 0.0.0.63 area 1
172.20.1.0 0.0.0.255 area 1
172.20.4.64 0.0.0.15 area 1
Routing Information Sources:
Gateway Distance Last Update
172.20.4.101 110 00:00:11
Distance: (default is 110)

R0
Interface fa0/1 172.20.4.102/30
Interface fa0/1.20 172.20.4.81/28
Interface fa0/1.30 172.20.3.1/30

Results of sh ip protocols on R0
Routing Protocol is "ospf 1"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Router ID 172.20.4.102
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
Maximum path: 4
Routing for Networks:
172.20.4.100 0.0.0.3 area 1
172.20.4.80 0.0.0.15 area 1
172.20.3.0 0.0.0.3 area 1
Routing Information Sources:
Gateway Distance Last Update
172.20.4.102 110 00:00:37
Distance: (default is 110)


Do I need different area ID's?
Is my wildcard mask wrong?
Or, do I just not have a clue as to what I am doing? :)

Here is a download link to my PT file:
http://www.2shared.com/file/vjXubd3V/OSPF1.html

Any help/advice is greatly welcomed.

Comments

  • atorvenatorven Member Posts: 319
    Maybe I'm doing something wrong but I can't download your file, one of the download links ask me to download some .exe and the other just refreshes the page.

    Put both 172.20.4.100/30 interfaces in area 0.

    Also, why have you split your main interface into sub-interfaces and still assigned both of them addresses? Never seen that done before.
  • oli356oli356 Member Posts: 364
    My first catch of the eye is area 1. Change it to area 0.

    I changed all of the network statements to a wildcard mask of 0.0.0.255 and things start to work so your wildcard masks must be incorrect somewhere!
    Lab:
    Combination of GNS3 and Cisco equipment if required.
  • pcpro215pcpro215 Member Posts: 15 ■□□□□□□□□□
    Hmmm.... I was able to d/l the file just fine. I wonder what the problem is? I have attached the screen I get when I click the d/l link; is this the same screen you see?

    The reason I have subinterfaces is for the different networks that are there. If you can d/l the PT file, it will make more sense to you.

    I will try your suggestion of adding the 172.... networks to area 0.

    I just tried adding them to area 0, and this is what I get:
    Router(config)#router ospf 0
    ^
    % Invalid input detected at '^' marker.

    Thanks!
  • oli356oli356 Member Posts: 364
    Router(config)#router ospf ?
    <1-65535> Process ID

    That isn't the area ID.

    This is ;)
    Router(config-router)#network 0.0.0.0 0.0.0.0 ?
    area Set the OSPF area ID
    Lab:
    Combination of GNS3 and Cisco equipment if required.
  • mrjoshuapmrjoshuap Member Posts: 8 ■□□□□□□□□□
    I don't have Packet Tracer but I might be able to assist. Are the 2 routers directly connected or is there a switch involved?
  • pcpro215pcpro215 Member Posts: 15 ■□□□□□□□□□
    I guess I misunderstood you. I told you I don't know what I'm doing. ;)
  • pcpro215pcpro215 Member Posts: 15 ■□□□□□□□□□
    The 2 routers are directly connected via a crossover cable.
  • oli356oli356 Member Posts: 364
    If you've never done this, make life easier. Get rid of all of the sub-interfaces and just have one subnet for the LAN side. Then try to get it to work, once you understand it better then add sub-interfaces and such.

    That is personally what I would do. Good luck :)
    Lab:
    Combination of GNS3 and Cisco equipment if required.
  • pcpro215pcpro215 Member Posts: 15 ■□□□□□□□□□
    Thanks for your help. Were you able to d/l the PT file at all?
  • oli356oli356 Member Posts: 364
    I was yeah.
    Lab:
    Combination of GNS3 and Cisco equipment if required.
  • pcpro215pcpro215 Member Posts: 15 ■□□□□□□□□□
    And?

    I also tried changing the wildcard mask, like you did, to 0.0.0.255 and viola! It worked! :):)
  • oli356oli356 Member Posts: 364
    But why :p?

    Go and find your mistake :) At a quick glance I can't spot it though, not got the time to look properly icon_sad.gif
    Lab:
    Combination of GNS3 and Cisco equipment if required.
  • pcpro215pcpro215 Member Posts: 15 ■□□□□□□□□□
    I'm gonna have to. I WANT to figure this one out.

    Thanks again!
  • instant000instant000 Member Posts: 1,745
    could you produce "sh ip proto" from both routers again? You seem to have changed something inbetween the first post and more recently. Thanks.
    Currently Working: CCIE R&S
    LinkedIn: http://www.linkedin.com/in/lewislampkin (Please connect: Just say you're from TechExams.Net!)
  • pcpro215pcpro215 Member Posts: 15 ■□□□□□□□□□
    instant000 wrote: »
    could you produce "sh ip proto" from both routers again? You seem to have changed something inbetween the first post and more recently. Thanks.


    Sure. Here you go:
    This is from R0

    Router#sh ip proto

    Routing Protocol is "ospf 1"
    Outgoing update filter list for all interfaces is not set <<<< What is wrong here?
    Incoming update filter list for all interfaces is not set <<<< Same here?
    Router ID 172.20.4.102
    Number of areas in this router is 2. 2 normal 0 stub 0 nssa
    Maximum path: 4
    Routing for Networks:
    172.20.4.100 0.0.0.3 area 1
    172.20.4.80 0.0.0.15 area 1
    172.20.3.0 0.0.0.3 area 1
    0.0.0.0 0.0.0.0 area 0
    172.20.4.0 0.0.0.255 area 0
    172.20.3.0 0.0.0.255 area 0
    Routing Information Sources:
    Gateway Distance Last Update
    172.20.4.101 110 00:03:57
    172.20.4.102 110 00:04:55
    Distance: (default is 110)

    This is from R1
    Routing Protocol is "ospf 1"
    Outgoing update filter list for all interfaces is not set <<< And again
    Incoming update filter list for all interfaces is not set <<< Again
    Router ID 172.20.4.101
    Number of areas in this router is 2. 2 normal 0 stub 0 nssa
    Maximum path: 4
    Routing for Networks:
    172.20.4.0 0.0.0.3 area 1
    172.20.4.0 0.0.0.63 area 1
    172.20.1.0 0.0.0.255 area 1
    172.20.4.64 0.0.0.15 area 1
    0.0.0.0 0.0.0.0 area 0
    172.20.4.0 0.0.0.255 area 0
    172.20.1.0 0.0.0.255 area 0
    Routing Information Sources:
    Gateway Distance Last Update
    172.20.4.101 110 00:05:35
    172.20.4.102 110 00:06:34
    Distance: (default is 110)
  • instant000instant000 Member Posts: 1,745
    the question you have about distribute list just means that you haven't filtered out some routes from appearing.

    From what I can tell, you were good to go, once you made an area 0. You should maintain connectivity once you get rid of area 1. If not, check that you have included any missing interfaces, using your network statements.
    Currently Working: CCIE R&S
    LinkedIn: http://www.linkedin.com/in/lewislampkin (Please connect: Just say you're from TechExams.Net!)
  • ZartanasaurusZartanasaurus Member Posts: 2,008 ■■■■■■■■■□
    instant000 wrote: »
    From what I can tell, you were good to go, once you made an area 0.
    His problem was he didn't have the right (enough) network area commands under the ospf process.

    show ip ospf int br is the fastest way to find this. If your interface isn't listed there, you did something wrong.
    Currently reading:
    IPSec VPN Design 44%
    Mastering VMWare vSphere 5​ 42.8%
Sign In or Register to comment.