Sunday, 27 November 2016

IP address succinct analysis

Hi guys new post, its been a couple of days i know, so i am gonna discuss with  you guys concisely what the IP addressing system is, yes Internet Protocol address.

So basically it is of two versions,

  1. IPv4.
  2. IPv6
but i will be discussing two of them in a generic manner,
so basically there are 32 bits in the address of a system using the version 4 and 128 bits for version 6.

for version 4,
the IP address is divided into two parts; the network address and the host address.
I mentioned before that the address contains 32 bits, as in 32 binary digits, base 2, 1 or 0.

So there is a term called subnet mask, it is with this term the network and host address are differentiated 
this term also contains 32 bits, therefore it either consisted of one or zero, 

example below;

IP address - 192.34.23.43 ;
above is what all IP version 4 addresses look like, i mentioned that they consisted of 32 bit, yes you would have to convert each one of the independent whole separated by the dots.

subnet mask - 255.0.255.0 ;
above is a subnet mask address i mentioned that the subnet mask consisted 32 bits, yes you would have to convert each seperated number to bits.
now if the above is converted it would be this - 11111111.00000000.11111111.00000000, 

i mentioned that you would have to convert all the separated numbers in the address to bits of bytes, by the way a byte is equal to eight bits in most cases.

if you also converted the IP addres it would be this - 11000000.00100010.00010111.00101011.

it is at this point you can now differentiate the IP address into network address and host address.

if you wish to know more about this addressing system and how it is related to websites and domains just 
comment and i would gladly share more.

so this is what is done next.

11000000.00100010.00010111.00101011 - IP address.
11111111.00000000.11111111.00000000 - sub-net mask address


for every 1 on the sub-net mask the corresponding bit on the IP address represents the network address
and for every zero the corresponding bit on the IP address represents the host address.

alrite thanks comment pls.

becom a web developer





No comments:

Post a Comment