Conversion of an IP address 32-bit

Last update on September 23, 2009 10:22 AM by jak58
Published by deri58

Conversion of an IP address 32-bit







  • We will make a ping kioskea.net in view retrieve the IP address (in bold)


$ Ping-c1 kioskea.net 
PING kioskea.net (194,169,240,130) 56 (84) data bytes. 
64 bytes from www.kisokea.org (194,169,240,130): icmp_seq = 1 ttl = 53 time = 53.2 ms 


--- kioskea.net ping statistics --- 
1 packets transmitted, 1 received, 0% packet loss, time 0ms 
rtt min / avg / max / mdev = 53.230/53.230/53.230/0.000 ms 
  • We now proceed with the conversion of IP using processors bits.
    • The number is about 32 bits. To get the whole, we skip each byte. The operator | allows for a bit.


Below is the binary

11,000,010 00,000,000 00,000,000 00,000,000 - 3,254,779,904 (194 <<24) 
00,000,000 10,101,001 00,000,000 00,000,000 - 11,075,584 (169 <<16) | 
00,000,000 00,000,000 11,110,000 00,000,000 - 61,440 (240 <<8) | 
00,000,000 00,000,000 00,000,000 10,000,010 - 130 
----------------------------------- 
11,000,010 10,101,001 11,110,000 10,000,010 - 3,265,917,058 (3,254,779,904 | 11075584 | 61440 | 130) 
  • This is the command for converting the entire IP on 32 bits.


$ 194,169,240,130 echo | perl-ne 's / (\ d +) \. (\ D +) \. (\ D +) \. (\ D +) / $ 1 <<24 | $ 2 <<16 | $ 3 <<8 | $ 4 / e; print ' 
3265917058 
  • Below is the result of using the ping number instead of the classical IP

$ Ping-c1 3265917058 
PING 3265917058 (194,169,240,130) 56 (84) bytes of data. 
64 bytes from 194,169,240,130: icmp_seq = 1 ttl = 53 time = 53.0 ms


--- 3265917058 ping statistics --- 
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 53.034/53.034/53.034/0.000 ms
Best answers for « Conversion of an IP address 32 bit » in :
Converting a 32-bit integer into IP Show Converting a 32-bit integer into IP Number to convert: 3265917058 Binary representation 11000010 10101001 11110000 10000010 - 3265917058 00000000 00000000 00000000 11000010 - 3265917058 >> 24 ( 194 ) 11000010 10101001 11110000...
Command to detect your IP address! ShowCommand to detect your IP address! Command for Windows 2000 / XP / Vista Command for Windows 95/98 Command for Linux IP address (Internet Protocol) is a numerical identification to detect your computer on a network. It is used to...
Having a static IP address under Ubuntu 8.10 ShowHaving a static IP address under Ubuntu 8.10 To have a fixed IP persistent: Configure manually the interfaces For a fix IP (10.0.0.1 on your eth1 interface) use: To make use of dynamic IP (e.g eth0): DNS NetworkManager is a...
What is your IP address? ShowWhat is your IP address? What is an IP address? How to know your IP address? For Windows 2000/ Windows XP/ Windows Vista users For Windows 95/ Windows 98 users By using online tools What is an IP address? When a PC is connected to...
Download IP Traffic Monitor ShowIP Traffic Monitor monitors all network connections on the computer where it is installed. The program shows you detailed information, such as the remote IP address, host name if available, details of inbound and outbound traffic. Advantage It...
IP Address ShowWhat is an IP address? Computers communicate over the Internet using the IP protocol (Internet Protocol), which uses numerical addresses, called IP addresses, made up of four whole numbers (4 bytes) between 0 and 255 and written in the format...
IP address spoofing ShowIP address spoofing "IP address spoofing" is a technique that involves replacing the IP address of an IP packet's sender with another machine's IP address. This technique lets a pirate send packets anonymously. It is not a question of changing the...
NAT- Network address translation, port forwarding and port trigg ShowThe principle of NAT Network address translation or NAT was developed in order to respond to the shortage of IP addresses with IPv4 protocol (in time the IPv6 protocol will respond to this problem). In fact, in IPv4 addressing the number of...