*BSD News Article 93690


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!news.mathworks.com!blanket.mitre.org!news.mitre.org!m15081-mac.mitre.org!user
From: guhl@mitre.org (George Uhl)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: My routing table...how bad is it?
Date: 16 Apr 1997 14:52:29 GMT
Organization: The Trilateral Commission
Lines: 60
Message-ID: <guhl-1604971052290001@m15081-mac.mitre.org>
References: <Pine.A32.3.91.970413223313.18259A-100000-100000@pheebs.citytel.net>
NNTP-Posting-Host: m15081-mac.mitre.org
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39163


In article
<Pine.A32.3.91.970413223313.18259A-100000-100000@pheebs.citytel.net>,
"Keith W." <kwoody@pheebs.citytel.net> wrote:

> Routing tables
> 
> Internet:
> Destination        Gateway            Flags     Refs     Use     Netif Expire
> default            204.244.99.76      UGc         0        0      tun0
> 10/24              link#1             UC          0        0 
> 127.0.0.1          127.0.0.1          UH          0        0       lo0
> 204.244.99.76      204.244.99.124     UH          1        0      tun0
> 
> Here is the output from netstat -rn on my system. I am having a hard time 
> getting the route correct as the ppp wants to pull the ip of the router I 
> dial into as the gateway when its not. The gateway is 204.244.99.65. the 
> router is 204.244.99.76 (there are two more at 74 adn 75 also) and in this 
> example 204.244.99.124 was dynamically assigned.
> Are the last two ip's in the right place? should they not be reversed?
> 124 the destination and .76 the gateway?
> 

The router MUST BE your gateway address since you dial to it
over a ppp connection.  Given the routing table listed above,
The only path to 204.244.99.65 is through your default route.
If the router knows nothing about 204.244.99.65, you will won't
be able to get there.

> How do I make it so that the router (there are three of them I can dial 
> into) is not recognized as paart of the route?
> 

If you manually change the default route, you won't be able to
communicate over your ppp connection.  You MUST use the router 
you dial into since it is the next hop.

> And where can I get more info ont he flags? U is UP G is Gateway and I 
> know H is for HOST, but Ive seen others c for one and S. I have a shell 
> on an AIX box that has some info but not enough to go on to "port" to my 
> situation.
> 

Do a man page lookup on netstat.

> What should a proper route table look like for a machine dialed out via 
> ppp with either a dynamcially assied ip or a staic one. (I can have both)
> 
> Its just the router problem thats got me stymied and frustrated.
> 
> Well off to read the faq and handbook again...
> Thanks for any info...
> Keith

Your router should have a path to 204.244.99.65.  Try a ping to
that address or even better, try a traceroute.

-- 
George Uhl
The opinions expressed here are mine and only mine, not MITRE's.