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 ad 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 address 1st bit 2nd bit 3rd bit 4th bit 5th bit 6th bit 7th bit 8th bit
128 64 32 16 8 4 2 1
17 0 0 0 1 0 0 0 1
34 0 0 1 0 0 0 1 0
56 0 0 1 1 1 0 0 0
7 0 0 0 0 0 1 1 1

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 address 1st bit 2nd bit 3rd bit 4th bit 5th bit 6th bit 7th bit 8th bit
128 64 32 16 8 4 2 1
115 0 1 1 1 0 0 1 1
230 1 1 1 0 0 1 1 0
245 1 1 1 1 0 1 0 1
76 0 1 0 0 1 1 0 0

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 address 1st bit 2nd bit 3rd bit 4th bit 5th bit 6th bit 7th bit 8th bit
128 64 32 16 8 4 2 1
120 0 1 1 1 1 0 0 0
114 0 1 1 1 0 0 1 0
67 0 1 0 0 0 0 1 1
78 0 1 0 0 1 1 1 0

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 address 1st bit 2nd bit 3rd bit 4th bit 5th bit 6th bit 7th bit 8th bit
128 64 32 16 8 4 2 1
154 1 0 0 1 1 0 1 0
172 1 0 1 0 1 1 0 0
68 0 1 0 0 0 1 0 0
4 0 0 0 0 0 1 0 0

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 address 1st bit 2nd bit 3rd bit 4th bit 5th bit 6th bit 7th bit 8th bit
128 64 32 16 8 4 2 1
162 1 0 1 0 0 0 1 0
6 0 0 0 0 0 1 1 0
34 0 0 1 0 0 0 1 0
87 0 1 0 1 0 1 1 1

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 address 1st bit 2nd bit 3rd bit 4th bit 5th bit 6th bit 7th bit 8th bit
128 64 32 16 8 4 2 1
182 1 0 1 1 0 1 1 0
5 0 0 0 0 0 1 0 1
3 0 0 0 0 0 0 1 1
6 0 0 0 0 0 1 1 0

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 address 1st bit 2nd bit 3rd bit 4th bit 5th bit 6th bit 7th bit 8th bit
128 64 32 16 8 4 2 1
194 1 1 0 0 0 0 1 0
54 0 0 1 1 0 1 1 0
6 0 0 0 0 0 1 1 0
34 0 0 1 0 0 0 1 0

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 address 1st bit 2nd bit 3rd bit 4th bit 5th bit 6th bit 7th bit 8th bit
128 64 32 16 8 4 2 1
210 1 1 0 1 0 0 1 0
23 0 0 0 1 0 1 1 1
56 0 0 1 1 1 0 0 0
8 0 0 0 0 1 0 0  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 address 1st bit 2nd bit 3rd bit 4th bit 5th bit 6th bit 7th bit 8th bit
128 64 32 16 8 4 2 1
218 1 1 0 1 1 0 1 0
76 0 1 0 0 1 1 0 0
8 0 0 0 0 1 0 0 0
3 0 0 0 0 0 0 1 1

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 address 1st bit 2nd bit 3rd bit 4th bit 5th bit 6th bit 7th bit 8th bit
128 64 32 16 8 4 2 1
10 0 0 0 0 1 0 1 0
0 0 0 0 0 0 0 0 0
3 0 0 0 0 0 0 1 1
4 0 0 0 0 0 1 0 0

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 address 1st bit 2nd bit 3rd bit 4th bit 5th bit 6th bit 7th bit 8th bit
128 64 32 16 8 4 2 1
172 1 0 1 0 1 1 0 0
16 0 0 0 1 0 0 0 0
0 0 0 0 0 0 0 0 0
5 0 0 0 0 0 1 0 1

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 address 1st bit 2nd bit 3rd bit 4th bit 5th bit 6th bit 7th bit 8th bit
128 64 32 16 8 4 2 1
192 1 1 0 0 0 0 0 0
168 1 0 1 0 1 0 0 0
5 0 0 0 0 0 1 0 1
9 0 0 0 0 1 0 0 1

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.

One thought on “Learn binary conversion of IPv4 in dotted-decimal notation using some examples”

  1. You can definitely see your expertise within the work you write.
    The arena hopes for more passionate writers like you who aren’t afraid to say how
    they believe. All the time follow your heart.

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s