Date: Wed, 12 Jul 2000 20:45:36 +0530 From: Rahul Siddharthan <rsidd@physics.iisc.ernet.in> To: Stephen Hovey <shovey@buffnet.net> Cc: Alejandro Ramirez <ales@megared.net.mx>, freebsd-questions@FreeBSD.ORG Subject: Re: IP Address Convertion Formula??? Message-ID: <20000712204536.A1281@physics.iisc.ernet.in> In-Reply-To: <Pine.BSF.4.05.10007121105200.723-100000@buffnet11.buffnet.net>; from shovey@buffnet.net on Wed, Jul 12, 2000 at 11:07:43AM -0400 References: <00b701bfec12$21ee6020$02c134c8@megared.net.mx> <Pine.BSF.4.05.10007121105200.723-100000@buffnet11.buffnet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
It's the raw base 16 representation (or base 256 depending on how you want to look at it), and the direction is forwards -- ie, 64.19.207.19 = 64*256^3+19*256^2+207*256+19 (you can back-translate it either by dividing by powers of 256 successively, or simply by "pinging" the long number.) Rahul. Stephen Hovey said on Jul 12, 2000 at 11:07:43: > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000712204536.A1281>