Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Sep 1998 16:56:15 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        groggy@iname.com
Cc:        freebsd-questions <questions@FreeBSD.ORG>
Subject:   Re: IP lookups 
Message-ID:  <199809211556.QAA18359@woof.lan.awfulhak.org>
In-Reply-To: Your message of "Sun, 20 Sep 1998 01:47:47 -0800." <Pine.BSF.3.96.980920013654.567C-100000@abc.xyz.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org>
      <http://www.Awfulhak.org>;
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809211556.QAA18359>