Solved

OSPF routing HOW does it happen

Posted on 2004-04-28
6
1,816 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 31

Accepted Solution

by:
Gareth Gudger earned 400 total points
ID: 10938357
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
ID: 10940682
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
ID: 10944801
...  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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 2

Author Comment

by:happispider
ID: 10944840
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 31

Expert Comment

by:Gareth Gudger
ID: 10945180
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
ID: 10970410
yup
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
Configuring network clients can be a chore, especially if there are a large number of them or a lot of itinerant users.  DHCP dynamically manages this process, much to the relief of users and administrators alike!
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

778 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