This video will show you how to convert an IP address into its binary equivalent. This tutorial assumes you already know how to convert decimal into binary, so if you don’t know how to do that, watch my video on converting decimal into binary and hexadecimal here: http://www.allhow2s.com/how-to-easily-change-hexadecimal-or-binary-into-decimal-numbers/
The basic idea is that an IP Address is made up of 4 bytes that are separated by periods. This means that the IP address is made up of 4 numbers, from 0-255, that are separated by periods. For example 192.168.20.1 is a valid IP Address, while 222.214.171.124 is not because 272 is impossible to represent with 8 bits (because 11111111 is 255 and that is as high as 8 btis can represent).
This means that you can represent an IP address with decimal numbers, or with it’s binary equivalent. For example 192.168.20.1 would be equivalent to 11000000.10101000.00010100.00000001.
You may also want to work with subnet masks, which are in the same format as an IP address, with 4 bytes separated by periods. Usually a subnet mask is only represented as 255′s or 0′s. You may have heard the term Class A, B, and C networks. A class A network subnet mask would be 255.0.0.0, Class B would be 255.255.0.0, class C would be 255.255.255.0.In the most basic terms, the subnet mask shows what values will be unique to the device’s IP on the network, and which will be the same on all the computers on that same subnet/network. For example, with a class C network, the subnet is 255.255.255.0, and let’s say the first three bytes of the IP address on that subnet are 192.168. This means that on this subnet, all the devices will have those same first three numbers, but each one will have a unique last number from 0-255. This means that a class C network can only support 256 devices per subnet. On the other hand if you have a class A network where the first number is 10. then the last three numbers will all be used for inique IP addresses, while all of them will have 10 as their first number in their IP. This means that a class A subnet can support 256*256*256=16581375 unique devices.
In general this means that a large network (such as a large companies) will use class A subnets, while usually on your home network you will use a Class C subnet.
Check out my facebook at: https://www.facebook.com/pages/All-How-2s/198429346974010
or my twitter: https://twitter.com/AllHow2s