*BSD News Article 90034


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!news.syd.connect.com.au!news.bri.connect.com.au!fjholden.OntheNet.com.au!not-for-mail
From: Tony Griffiths <tonyg@OntheNet.com.au>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Simple Networking Questions
Date: Tue, 25 Feb 1997 14:55:45 +1000
Organization: On the Net (ISP on the Gold Coast, Australia)
Lines: 81
Message-ID: <331270D1.6775@OntheNet.com.au>
References: <330FC02A.41C67EA6@silas.cc.monash.edu.au>
Reply-To: tonyg@OntheNet.com.au
NNTP-Posting-Host: swanee.nt.com.au
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (WinNT; I)
To: Chooka <dhenshaw@silas.cc.monash.edu.au>
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:36066

"Re: Simple Networking Questions" ...  This is questionable!!!  ;-))

Chooka wrote:
> 
> Hi All,
> 
> I've got FreeBSD 2.1.5 up and running on a Pentium-166 with 16MB of RAM
> and a FreeBSD slice of 400MB or so.
> 
> Currently, this machine is running X, Apache 1.1.3
> I've configured this machine to run DNS (even though it is a standalone
> - i.e. not on a LAN)

Why do you want to run DNS?  Point your name resolver at your ISP's DNS
server!  Use the hosts file for your local machine and any IP addresses
that you need to know about before the PPP link is up.

> 
> I have several questions.
> 1). Currently I'm running routed.
>     When I connect to my ISP using user ppp I can finger remote hosts
>     and the names are properly resolved.  However, the connection times
>     out.  However, I can finger machines on my ISP's network without a
>     problem.  Why is this so ?

We (On the Net) don't allow anyone downstream to pass up routes to us
and, as far as I can recall, we don't send RIP packets down the wires.  
My guess is that 'routed' is timing-out routes and deleting them, which
seems to be it's main function in life!

> 
> 2). If I establish a permanant IP connection through an ISP I would be
>     allocated a static IP address.  Given that I'm running a single
>     machine is it safe to run a primary DNS and Apache on my machine,
>     whilst someone else (my ISP?) runs a secondary ?

Yes, and yes, but I doubt that for a single machine your ISP is going to
give you an entire Class-C network block.  It is probably preferable in
this situation for the ISP to maintain both the primary and secondary
DNS servers.

> 
> 3). With regard to the above.
>     Do I still need to run routed if no one is using my mcahine.

I wouldn't run routed, period.

>     (i.e. I'm only receiving incoming TCP/IP data and am not creating
>     any routes myself).  Does Apache (or any WWW server) generate
>     routing information (dynamically) ?

No.  Apache is a standard TCP/IP application knowing nothing about IP
routes and physical connections.

> 
> 4). Currently after booting up a netstat -ars reports that there are 32
>     or so "destination addresses found unreachable".  Using route to
>     monitor table modifications I've traced these down to the requests
>     generated from cache file used by my DNS.  Hence there are no routes
>     to the root name servers in my routing table.  How can I avoid this
>     problem ?

Setup a default route (0.0.0.0 mask 0.0.0.0) pointing to the other end
of the pipe which connects your machine to the ISP.  The PPP software
can do this for you but remember that 'routed' can delete these routes
so don't run it!

> 
> 5). Lastly, when I'm running user ppp I can't telnet to port 3000
>     to check the ppp connection.  Any ideas why ?

Nope, no idea (other than you are not running ijppp) !

> 
> Any help would be greatly appreciated.
> 
> --
> David M. Henshaw
> dhenshaw@silas.cc.monash.edu.au

Tony