From owner-freebsd-questions Wed Jul 12 8:19:30 2000 Delivered-To: freebsd-questions@freebsd.org Received: from buffnet4.buffnet.net (buffnet4.buffnet.net [205.246.19.13]) by hub.freebsd.org (Postfix) with ESMTP id 0CD6537B635 for ; Wed, 12 Jul 2000 08:19:24 -0700 (PDT) (envelope-from shovey@buffnet.net) Received: from buffnet11.buffnet.net (buffnet11.buffnet.net [205.246.19.55]) by buffnet4.buffnet.net (8.9.3/8.8.7) with ESMTP id LAA21772; Wed, 12 Jul 2000 11:19:26 -0400 (EDT) (envelope-from shovey@buffnet.net) Date: Wed, 12 Jul 2000 11:19:19 -0400 (EDT) From: Stephen Hovey To: Theo Bell Cc: Alejandro Ramirez , freebsd-questions@FreeBSD.ORG Subject: Re: IP Address Convertion Formula??? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Oh I think easy is always proper! :) On Wed, 12 Jul 2000, Theo Bell wrote: > Hi, > > An easy way to convert the "1075040019" into 64.19.207.19 is to ping it. > > bash-2.03$ ping 1075040019 > PING 1075040019 (64.19.207.19): 56 data bytes > > ping converts it for you. > > I know this isn't the proper way of doing it, but it works. > > HTH > > Theo > > > On Wed, 12 Jul 2000, Stephen Hovey wrote: > > > > > I believe its the raw base 10 integer representation of the dot quad value > > - but a Im not sure in which direction the significant bytes are ordered > > (in other words, if you took the 4 numbers in the dot quad, and looked at > > them as a long 4 byte integer, each value to its own byte, but In your > > example, I dont know if you look at the integer as 19 207 19 64 - or 64 19 > > 207 19) > > > > On Wed, 12 Jul 2000, Alejandro Ramirez wrote: > > > > > Hi All, > > > > > > I suppose that there is a formula to translate an address like > > > "1075040019" into 64.19.207.19, does anybody know something about it that > > > could explain to me???, or where can I see information about this. > > > > > > Thanks in Advance > > > Ales > > > > > > > > > > > > > > > > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-questions" in the body of the message > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message