Solved

OSPF routing HOW does it happen

Posted on 2004-04-28
6
1,814 Views
Last Modified: 2010-08-05
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
Comment
Question by:happispider
  • 4
  • 2
6 Comments
 
LVL 30

Accepted Solution

by:
Gareth Gudger earned 400 total points
Comment Utility
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
 
LVL 2

Author Comment

by:happispider
Comment Utility
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
 
LVL 2

Author Comment

by:happispider
Comment Utility
...  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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 2

Author Comment

by:happispider
Comment Utility
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
 
LVL 30

Expert Comment

by:Gareth Gudger
Comment Utility
OSPF is nice. I haven't played with it for years...but I remember if being a world of difference compared to RIPv2.
0
 
LVL 2

Author Comment

by:happispider
Comment Utility
yup
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Sometimes you might need to configure routing based not only on destination IP address, but also on a combination of destination IP address (or hostname) and destination port number. I will describe a method how to accomplish this with free tools. …
Greetings, Experts! First let me state that this website is top notch. I thoroughly enjoy the community that is shared here; those seeking help and those willing to sacrifice their time to help. It is fantastic. I am writing this article at th…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now