interger to I P address
peter at peter-dambier.de
Wed Aug 27 09:19:26 CDT 2008
For the curious,
have a look at the IASON tools
c:~$ natnum 1089055123
natnum takes a hostname, an integer or an IPv4 address and
shows you the IPv4 address, the integer and the hostname.
If you do maintain your /etc/hosts it will tell you the aliases too.
Most of the stuff is unix only, but I guess you can compile
natnum even for windows.
Matlock, Kenneth L wrote:
> Easiest way.
> Take the integer, plug it into windows 'calc'.
> Go to 'View: Scientific'.
> Hit 'Hex'. That will show you the hex representation of the integer. Notice that it's either 7 or 8 characters long.
> If it's 7, prepend it with a 0.
> Break that into 4 groups of 2. Those are the hex values for the four dotted quads.
> Make sure 'Hex' is still selected, and put in the first 2 characters, then hit 'binary'. That's your first part of the IP. Repeat for the other 3.
> For example, you have 1089055123 for an integer.
> In Hex thats 40E9A993.
> 40 Hex = 64
> E9 Hex = 233
> A9 Hex = 169
> 94 Hex = 147
> So your IP is 184.108.40.206
> From: Colin Alston [mailto:karnaugh at karnaugh.za.net]
> Sent: Wed 8/27/2008 5:21 AM
> To: kcc
> Cc: nanog at nanog.org
> Subject: Re: interger to I P address
> kcc wrote:
>> I search google but couldn't get any solution
>> Can you send me information?
Peter and Karin Dambier
Cesidian Root - Radice Cesidiana
Rimbacher Strasse 16
+49(6252)750-308 (VoIP: sipgate.de)
mail: peter at peter-dambier.de
More information about the NANOG