Learn binary conversion of IPv4 in dotted-decimal notation using some examples

This article is all about binary conversion of IPv4 in dotted-decimal notation using some examples. In the previous articles on IPv4, we learn about Some interesting facts of IP address and also learn what is subnet mask and how to identify subnet mask of an IP address. We also read about classes of IP address in detail. Now in this article, we learn about how to convert our IPv4 address from binary to dotted- decimal notation.

Now to understand these type of conversion we take some examples of IP addresses from IPv4 and convert then into dotted-decimal notation. So, let’s start here binary conversion of IPv4 address in dotted-decimal notation using some examples.

how to convert IP addresses into decimal-dotted notation

1.  Convert 17.34.56.7 into dotted-decimal notation and also identify subnet mask or class of this IP address.

IP address1st bit2nd bit3rd bit4th bit5th bit6th bit7th bit8th bit
1286432168421
1700010001
3400100010
5600111000
700000111

This IP address belongs to class A and Its subnet mask is 255.0.0.0

dotted-decimal notation of IP address 17.34.56.7 is given below

00010001.00100010.00111000.00000111

2.  Convert 115.230.245.76 into dotted-decimal notation and also identify subnet mask or class of this IP address.

IP address1st bit2nd bit3rd bit4th bit5th bit6th bit7th bit8th bit
1286432168421
11501110011
23011100110
24511110101
7601001100

This IP address belongs to class A and Its subnet mask is 255.0.0.0

dotted-decimal notation of IP address 115.230.245.76 is given below

01110011.11100110.11110101.01001100

3.  Convert 120.114.67.78 into dotted-decimal notation and also identify subnet mask or class of this IP address.

IP address1st bit2nd bit3rd bit4th bit5th bit6th bit7th bit8th bit
1286432168421
12001111000
11401110010
6701000011
7801001110

This IP address belongs to class A and Its subnet mask is 255.0.0.0

dotted-decimal notation of IP address 120.114.67.78 is given below

01111000.01110010.01000011.01001110

4.  Convert 154.172.68.4 into dotted-decimal notation and also identify subnet mask or class of this IP address.

IP address1st bit2nd bit3rd bit4th bit5th bit6th bit7th bit8th bit
1286432168421
15410011010
17210101100
6801000100
400000100

This IP address belongs to class B and Its subnet mask is 255.255.0.0

dotted-decimal notation of IP address 154.172.68.4 is given below

10011010.10101100.01000100.00000100

5.  Convert 162.6.34.87 into dotted-decimal notation and also identify subnet mask or class of this IP address.

IP address1st bit2nd bit3rd bit4th bit5th bit6th bit7th bit8th bit
1286432168421
16210100010
600000110
3400100010
8701010111

This IP address belongs to class B and Its subnet mask is 255.255.0.0

dotted-decimal notation of IP address 162.6.34.87 is given below

10100010.00000110.00100010.01010111

6.  Convert 182.5.3.6 into dotted-decimal notation and also identify subnet mask or class of this IP address.

IP address1st bit2nd bit3rd bit4th bit5th bit6th bit7th bit8th bit
1286432168421
18210110110
500000101
300000011
600000110

This IP address belongs to class B and Its subnet mask is 255.255.0.0

dotted-decimal notation of IP address 182.5.3.6 is given below

10110110.00000101.00000011.00000110

7.  Convert 194.54.6.34 into dotted-decimal notation and also identify subnet mask or class of this IP address.

IP address1st bit2nd bit3rd bit4th bit5th bit6th bit7th bit8th bit
1286432168421
19411000010
5400110110
600000110
3400100010

This IP address belongs to class C and Its subnet mask is 255.255.255.0

dotted-decimal notation of IP address 194.54.6.34 is given below

11000010.00110110.00000110.00100010

8.  Convert 210.23.56.8 into dotted-decimal notation and also identify subnet mask or class of this IP address.

IP address1st bit2nd bit3rd bit4th bit5th bit6th bit7th bit8th bit
1286432168421
21011010010
2300010111
5600111000
80000100 0

This IP address belongs to class C and Its subnet mask is 255.255.255.0

dotted-decimal notation of IP address 210.23.56.8 is given below

11010010.00010111.00111000.00001000

9.  Convert 218.76.8.3 into dotted-decimal notation and also identify subnet mask or class of this IP address.

IP address1st bit2nd bit3rd bit4th bit5th bit6th bit7th bit8th bit
1286432168421
21811011010
7601001100
800001000
300000011

This IP address belongs to class C and Its subnet mask is 255.255.255.0

dotted-decimal notation of IP address 218.76.8.3 is given below

11011010.01001100.00001000.00000011

10.  Convert 10.0.3.4 into dotted-decimal notation and also identify subnet mask or class of this IP address.

IP address1st bit2nd bit3rd bit4th bit5th bit6th bit7th bit8th bit
1286432168421
1000001010
000000000
300000011
400000100

This IP address belongs to class A and Its subnet mask is 255.0.0.0

dotted-decimal notation of IP address 10.0.3.4 is given below

00001010.00000000.00000011.00000100

11.  Convert 172.16.0.5 into dotted-decimal notation and also identify subnet mask or class of this IP address.

IP address1st bit2nd bit3rd bit4th bit5th bit6th bit7th bit8th bit
1286432168421
17210101100
1600010000
000000000
500000101

This IP address belongs to class B and Its subnet mask is 255.255.0.0

dotted-decimal notation of IP address 172.16.0.5 is given below

10101100.00010000.00000000.00000101

12.  Convert 192.168.5.9 into dotted-decimal notation and also identify subnet mask or class of this IP address.

IP address1st bit2nd bit3rd bit4th bit5th bit6th bit7th bit8th bit
1286432168421
19211000000
16810101000
500000101
900001001

This IP address belongs to class C and Its subnet mask is 255.255.255.0

dotted-decimal notation of IP address 192.168.5.9 is given below

11000000.10101000.00000101.00001001

                                THAT’S IT

These are some examples of binary conversion of IP version 4 to understand how to convert IP address into dotted-decimal notation easily. If you have any queries regarding this then simply solved out through the comment section and also provide feedback to us because your feedback is valuable for us.

You may also like...

%d bloggers like this: