From owner-freebsd-questions Mon Sep 21 14:43:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA14134 for freebsd-questions-outgoing; Mon, 21 Sep 1998 14:43:00 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA13808 for ; Mon, 21 Sep 1998 14:41:10 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (brian@woof.lan.awfulhak.org [172.16.0.7]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id WAA11479; Mon, 21 Sep 1998 22:40:05 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (brian@localhost [127.0.0.1]) by woof.lan.awfulhak.org (8.9.1/8.9.1) with ESMTP id QAA18359; Mon, 21 Sep 1998 16:56:18 +0100 (BST) (envelope-from brian@woof.lan.awfulhak.org) Message-Id: <199809211556.QAA18359@woof.lan.awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: groggy@iname.com cc: freebsd-questions Subject: Re: IP lookups In-reply-to: Your message of "Sun, 20 Sep 1998 01:47:47 -0800." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 21 Sep 1998 16:56:15 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > with so many people running ppp alias, > i'd like to know if anyone DOES or DOESN'T > have this problem. i'd like to know if i > need to figure something out, or if it > is a bug. i've had this problem for > at least 1.5 years, and have never > figured out a solution. > > i always wrote it off as a "bug" in the resolver. > i have experienced some odd behavior relating to > DNS & /etc/hosts resolving and remember many posts > over the years relating to quirky behavior. > > > > > 2.2.7-RELEASE > > > > > > > > ppp aliased IP addresses = 192.168.0.1 - 192.168.0.12 > > > > > > > > BSD1 <-> BSD2 <-> Internet > > > > (ppp) (ppp -alias) > > > > (0.X) (192.168.0.0) > > > > > > > > BSD1 machine can: > > > > > > > > ping 192.168.0.0 > > > > telnet 192.168.0.0 > > > > ftp 192.168.0.0 > > > > traceroute 192.168.0.0 > > > > > > > > BSD1 machine CAN'T > > > > > > > > nslookup 192.168.0.0 > > > > lynx 192.168.0.0 > > > > > > > > why? all internet functions work for BSD1 > > > > (telnet, FTP, http, ping, etc ...) > > > > BSD2 resolves 192.168.0.X just fine. > > BSD1's nameserver forwards to 192.168.0.0 > > PS. someone mentioned that it is bad to use "X.X.X.0" > as an IP, but i thought it was conventional to use > that number for default gateways ... They're right. You can never use the first address in the networks address space as it is reserved as the network address, and you can never use the last address as it reserved as the broadcast address. -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message