From owner-freebsd-questions Tue Apr 18 09:48:24 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id JAA11759 for questions-outgoing; Tue, 18 Apr 1995 09:48:24 -0700 Received: from specgw.spec.co.jp (specgw.spec.co.jp [202.32.13.1]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id JAA11753 for ; Tue, 18 Apr 1995 09:48:19 -0700 Received: from localhost (root@localhost) by specgw.spec.co.jp (8.6.5/3.3Wb-SPEC) with UUCP id BAA25544; Wed, 19 Apr 1995 01:30:40 +0900 Received: by tama.spec.co.jp (8.6.11/6.4J.5) id BAA01449; Wed, 19 Apr 1995 01:25:11 +0900 From: Atsushi Murai Message-Id: <199504181625.BAA01449@tama.spec.co.jp> Subject: Re: PPP and dynamic IPs To: kcw@grumpy.ksc.nasa.gov (Ken Whedbee) Date: Wed, 19 Apr 1995 01:25:10 +0900 (JST) Cc: questions@FreeBSD.org In-Reply-To: <9504181312.AA08658@grumpy.ksc.nasa.gov> from "Ken Whedbee" at Apr 18, 95 09:12:38 am Reply-To: amurai@spec.co.jp X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1839 Sender: questions-owner@FreeBSD.org Precedence: bulk Hello. I am sleepy....But.... > I'm connecting to the internet (from FreeBSD2.0 patched) through > a dialup PPP (Internet Service Provider) account which assigns > an IP number dynamically. My question is, do I have to setup > anything in my /etc/hosts and /etc/host.conf files or should my > machine become aware of its IP automagically ? > Do I need to specify my hostname in the /etc/hosts file ? If you are using ppp/pppd on your FreeBSD2.0, they will negotiate to peer (Provider) for your and|or Peer IP address each other. In your case, you just set up Provider IP address as permanent and your IP is given by your Provider. The key is you just need your IP address and Provider IP address as default route but not your name (i.e. tama.spec.co.jp) on your side. > What order should DNS lookup and /etc/hosts lookup be in the /etc/host.conf > file ? So doesn't matter not exist your IP address/IP name pair in these file. > I was tring to talk to the ISP's nntp server (telnet to the port number) > and it was saying "host not in nntp access file .. error code 502". > The ISP claims their floating IPs are in the nntp access file. If I > ping myself it shows the dynamically assigned IP. On Provider side, ppp will assign your IP address as Dynamically and Your IP name should be assined as *statically*. Otherwise they can't provide a service indivually site/person....Addition, specifically with NNTP, Only containing your IP name in nntp access file but not IP address, right? > Any insights ? Ask the provider this point, if they can't resolve, I recommend you should better choosing other provider... > -- > Ken Whedbee Good Luck and night... Atsushi. -- Atsushi Murai Internet: amurai@spec.co.jp System Planning and Engineering Co,.Ltd. Voice : +81-33833-5341