Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 May 2000 13:44:11 -0400 (EDT)
From:      Thomas Good <tomg@mailhost.nrnet.org>
To:        Ian J Greely <ian@tirnanog.org>
Cc:        FBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: PPP succeeds...DNS fails
Message-ID:  <Pine.LNX.3.96.1000508122749.400A-100000@mailhost.nrnet.org>
In-Reply-To: <gkoahskhej339blni7da3ufnn3geu9sq3a@4ax.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 7 May 2000, Ian J Greely wrote:

> Tom,
> 
> Use netstat -r to look at the currently configured routes.

Hello Ian,

Right.  No matter what I hack into /etc/ppp/ppp.conf my nameservers
do not appear in output from netstat unless I run it manually.
So there are acouple of items befuddling me.

My /var/log/ppp.log shows that the ISP *is* passing ns1/ns2
to the Berkeley box...when I run route manually it tells me:

add net [ns] gateway [IP]: file exists.

And so I rerun netstat and voila.  But telnet still fails. 

Here is my /etc/ppp/ppp.conf --->

set ifaddr [ my static IP ] [ gw IP] 255.255.255.0 0.0.0.0
add default [ ns1 IP ] [ gw IP ]
add [ ns2 IP ] [ gw IP ]

Point 1: The add seems to fail but the ISP passes the nameservers.
Point 2: When I telnet I get the IP of the target in the 
'Trying XXX.XXX.XX.XX...' 
message but eventually 'No route to host'

Now, I may be a tad dense but could this process be a bit counter 
intuitive?  Or could it be that the bsd box is trying to connect to
the target via my network card (for the intranet)?  That is my
theory, anywho.  If so, I need to force the correct route (in *theory*
I've supplied this info with the netmask as the NIC uses a diff Nm).

Any fixes greatly appreciated (and thanks much for your help so far!)

Cheers,
Tom

> You should be looking to add a route to 0.0.0.0 netmask 0.0.0.0 with a
> metric lower than any of the routes for your local hosts/network. If
> you will be using this ppp connection to do the lions share of your
> internet communications.


------- North Richmond Community Mental Health Center -------

Thomas Good                                   MIS Coordinator
Vital Signs:                  tomg@ { admin | q8 } .nrnet.org
                                          Phone: 718-354-5528  
                                          Fax:   718-354-5056  
                              
/* Member: Computer Professionals For Social Responsibility */ 





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.96.1000508122749.400A-100000>