Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1832
  • Last Modified:

OSPF routing HOW does it happen

Basically I need a full example of a routing setup using OSPF to connect a computer thru 1 computer to another (or 1 computer to a router in this case), more details are below.

I'm trying to setup routing with OSPF because I had no luck whatsoever with static routing.  I prefer OSPF because it seems more fun the NAT or the other protocols...  This is WIn2k advanced server in Routing and Remote Access MMC console.

I have computers setup like this:

192.168.2.1 is the address of the NIC which is gateway: other computers are connected here.  192.168.2.108 is IP of the NIC which is connected to the Linksys router (the 2 are on the same computer).  Linksys router is 192.168.1.1.

192.168.2.1=mygateway, 192.168.2.108=connection-to-router, 192.168.1.1=linksys-router,... <-->to WAN
clients<--->192.168.2.1<--->192.168.2.108<--->192.168.1.1<--->WAN

gateway-using-computers would like to connect to WAN thru the first (192.168.1.1) computer.  



How to setup the OSPF areas and interfaces, and static routing (if static routing is needed)???????????????  I can't figure this one out at all.  I have no idea how to use destination and area together in which area, nor do I know how to use static routing (?????interface?????-destination-mask-gateway) and don't know if these need to be used together in order to make the router (win2k adv. server) a happy router.

Like which 'area' goes with which 'destination' and 'mask' and how many areas do I need etc. would be helpful..



So an example set of settings could really help me out here.  thanks yall!
0
happispider
Asked:
happispider
  • 4
  • 2
1 Solution
 
Gareth GudgerCommented:
What subnet mask are you using? 255.255.255.0 default class C? If so they you have a single IP segement theoretically on two sides of a router. Plus that 192.168.2.108 is on a different IP subnet to the Linksys? Can you even connect to the internet from this multihomed machine?

I recommend changing 192.168.2.108 to 192.168.1.108 to put it on the same IP subnet as the Linksys router. Then OSPF should updates the routes after a few minutes and everything should work.
0
 
happispiderAuthor Commented:
oops, I meant to say 192.168.2.108 was actually 192.168.1.108..  I'm using subnet 255.255.255.0.  I can connect to the internet thru the Linksysys router... (so yes on the multihomed computer I can connect too.)

In OSPF I have areas configured like this:
0.0.0.0...  destination=192.168.2.0 mask 255.255.255.0
0.0.0.1...  destination=192.168.1.0 mask 255.255.255.0

I added the 2 interfaces (one to the Linksys router, the other is connected to a computer which has it set as its default gateway) and have OSPF enabled for both.  One is in area 0.0.0.0, the other in 0.0.0.1

How else should I configure areas or should I also use static routing??
0
 
happispiderAuthor Commented:
...  I found out that 192.168.2.108 was the actual IP address so I was using the wrong IP...  Hip-hip hooray, OSPF seems to be working OK with area 0.0.0.0=destination:192.168.2.0 mask 255.255.255.0 and area 0.0.0.1=destination:192.168.1.0 mask 255.255.255.0!!...
..............................

   But now DNS server on the multihomed computer won't work!!  DNS resolves OK but I want 192.168.2.1 (the router which is happily routing) to do the resolution.  I'm guessing that OSPF just routes everything that comes in just is passed out to the linksys router.  My router has seems to have diarhea.
   I ran tests in the DNS MMC console properties-->monitoring.  For awhile the tests failed, then they started passing, but I don't think my DNS server is really doing any resolving because its cache is always empty.

I know the client computer has gateway, wins, and DNS set to the computer router but it's not workling, here's configuration of the computer router's domain name server...
nameservers:
   thiscomputer.domain. | 192.168.2.1
   192.168.1.1               | 192.168.1.1 (linksys router)
   resolver1.level3.net    | 209.244.0.3
   resolver2.level3.net    | 209.244.0.4
'resolver' is a nameserver I believe my ISP uses.  It seemed to workin the past, or, the linksys router's DNS server was doing it I dunno.

Could this be a problem with binding order (properties of a connection-->advanced settings)?  I switched that around a little bit but I don't know how important it is.

Anyway my guess is that the router is routing everything thru it and nothing ever gets to its DNS server, which is bad so I'll try to fix that....  thanks digisaur for all your help!
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
happispiderAuthor Commented:
Wow, I make another super-simple mistake and that was to not look at View-Advanced in the MMC console to notice there is a cache so everything's great now, thanks though.
0
 
Gareth GudgerCommented:
OSPF is nice. I haven't played with it for years...but I remember if being a world of difference compared to RIPv2.
0
 
happispiderAuthor Commented:
yup
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now