IP address is the way by which a system is identified on a network. System may include your desktops, laptops, mobile phones, and even household items such as refrigerator and cars which connects to a network. A network can be a local LAN, WAN or even public networks such as the internet.
Most of the IP addresses assigned today are version 4 or IPv4. However there is a move towards shifting into version 6 or IPv6. The major cause of this is the depletion of IPv4 addresses and the need for a larger set of addresses to accommodate the increasing size of the internet. Here I’ll discuss IPv4 addresses in detail and how they are used today
What is an IP address?
IP address is a 32 bit string which can uniquely identify any device on a network. When represented in binary it would look something like.
Since there are 32 binary bits, the total number of address combinations possible is 2^32 (with a few exceptions) which is indeed a very large number.
From the binary representation it can be seen that this format is not too human friendly, though machines find it most effective to use the binary format. Hence the representation above is modified a little, by grouping together 8 bits or 1 byte at a time. This group of 8 bits is commonly referred to as an octet. The decimal form of each octet is calculated to generate a human readable form.
Thus the above address becomes
Well that’s easier to read. However we need a way of distinguishing between each octet while reading it. Hence a dot (.) is introduced between each octet to represent the address as shown below
This representation is called the dotted decimal format since it represents the addresses as decimal numbers with dots in between each octet. This is the most popular way of representing IPv4 addresses.
Most of the IP addresses assigned today are version 4 or IPv4. However there is a move towards shifting into version 6 or IPv6. The major cause of this is the depletion of IPv4 addresses and the need for a larger set of addresses to accommodate the increasing size of the internet. Here I’ll discuss IPv4 addresses in detail and how they are used today
What is an IP address?
IP address is a 32 bit string which can uniquely identify any device on a network. When represented in binary it would look something like.
11000000101010000000000100000001
Since there are 32 binary bits, the total number of address combinations possible is 2^32 (with a few exceptions) which is indeed a very large number.
From the binary representation it can be seen that this format is not too human friendly, though machines find it most effective to use the binary format. Hence the representation above is modified a little, by grouping together 8 bits or 1 byte at a time. This group of 8 bits is commonly referred to as an octet. The decimal form of each octet is calculated to generate a human readable form.
11000000 = 192
10101000 = 168
00000001 = 1
00000001 = 1
10101000 = 168
00000001 = 1
00000001 = 1
Thus the above address becomes
19216811
Well that’s easier to read. However we need a way of distinguishing between each octet while reading it. Hence a dot (.) is introduced between each octet to represent the address as shown below
192.168.1.1
This representation is called the dotted decimal format since it represents the addresses as decimal numbers with dots in between each octet. This is the most popular way of representing IPv4 addresses.
Read more.... 0 comments