How to convert an IP address to 10 digits decimal number

IP (Internet Protocol) address is a unique 4 digits number to distinguish and utilize the network nodes over the internet worldwide.
Any website/domain or computer connected to the world wide web have a unique ip address. Using a DNS lookup tool we can translate back any website domain name to it’s original ip address.
What we are going to do now is even further step, we will convert the dotted ip address to a 10 digits decimal format.
Why this should be useful?
Well, you can use your imagination on this, a few suggestions is that it might be helpful for programming network applications, Bypassing restricted access websites instead of using a proxy server. just naming a few.
Step #1:
Do a DNS (Domain Name Service) lookup on any free online DNS Lookup tools for the desired domain (we will use google.com for instance).
For a DNS lookup tool we will use this one in our example:
or we could just ping the domain name from Windows XP Command Prompt:
Start>Programs>Accessories>”Command Prompt”
Then type:
Ping google.com
and you will get a reply with the real ip address of the domain as follows:

Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp.C:\Documents and Settings\Administrator>ping google.com Pinging google.com [64.233.187.99] with 32 bytes of data: Reply from 64.233.187.99: bytes=32 time=197ms TTL=235 Reply from 64.233.187.99: bytes=32 time=191ms TTL=235 Reply from 64.233.187.99: bytes=32 time=246ms TTL=235 Reply from 64.233.187.99: bytes=32 time=185ms TTL=235 Ping statistics for 64.233.187.99: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 185ms, Maximum = 246ms, Average = 204ms
as you see above the ip address equivalent for the domain google.com is 64.233.187.99
We will write it down.
P.S Please Note that the ip address in the above ping screenshot is different from the ip address we will use in the following calculation but both ip addresses will generate valid results since google have multiple servers.
Step #2:
We will use this equation to calculate the final 10 decimal digits ip address number:
Google.com IP address (we got from the first step) = 64.233.187.99
Original Format:
IP address = w.x.y.z = 64.233.187.99
-
Equation:
IP Decimal Number = 16777216*w + 65536*x + 256*y + z
Now we will replace the w, x, y, z variables with the original ip address numbers.
w = 64
x = 233
y = 187
z = 99
-
Calculating the equation:
= 16777216*64 + 65536*233 + 256*187 + 99
At this point, We can use the calculator that is built in with all windows versions or do it by hand on a piece of paper:
= 1073741824 + 15269888 + 47872 + 99
Final Value:
= 1089059683
Step #3:
Now, open your favorite web browser and type this into the address bar:
or with the trailing slash at the end will produce same results:
and press Enter

Now, it should redirect to google.com homepage in your browser.

you can apply the same calculation method to any website you like.
Here is a free online tool to calculate any ip address to the decimal 10 digit format much faster than manual method:
http://www.allredroster.com/iptodec.htm
Just fill in the blank fields and press “calculate”.
|
|
|
|
What Next?
1. Rate it above
2. Leave a comment below
3. Bookmark it on your favorite social bookmarking site
4. Link to it from your own website or blog
5. Tell a friend via e-mail, word of mouth, messenger
6. subscribe to the feed and get future articles delivered to your RSS feed reader.









This is very useful tutorial.
Thanks!