?
Solved

OSPF routing HOW does it happen

Posted on 2004-04-28
6
Medium Priority
?
1,822 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 31

Accepted Solution

by:
Gareth Gudger earned 1600 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

This article is in response to a question (http://www.experts-exchange.com/Networking/Network_Management/Network_Analysis/Q_28230497.html) here at Experts Exchange. The Original Poster (OP) requires a utility that will accept a list of IP addresses …
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…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

765 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