It2EDU

Wednesday, December 14, 2016

IP Address









IP address representation:






In this blog I will discuss about What is IP address and how to represent it.





Generally IP address is represented in 32-bit format. In
expansion of IP is Internet protocol address.


Dot (.) is the decimal and this notation is used to
represent as number format data into string of decimal each is separated by a
dot operator.  Technically this
representation is noted as synonym of dotted notation. Or quad dotted notation,
specifically used to represent IP addresses





 An internet protocol
address has 32-bits. 





See the below example




          


These are separated by dot and the
bits divided into 4 octets that are in decimal numbers ranging from 0 to 255
and concatenate together by place dot between them.





There are two types of IP Protocols implemented
on systems today are IPv4 and IPv6. IPv4 is the 4th version majority
of the systems worldwide support this. New version is IPv6 it improves the
limitations of IPv4.
The gap in version sequence between IPv4 and IPv6
resulted from the assignment of number 5 to the experimental Internet Stream Protocol in 1979, which
however was never referred to as IPv5.









Systems can identify by using their
IP address only.   


For example consider
the IP address 172.16.254.1


Convert these individual values into
binary first


172 – 10101100


16 – 00010000


254 – 1111110


1 – 00000001


These are all can be represented in
the form of 8 –bit





Each individual called as octet or
byte or 8-bit. These are 4 so 4*8 = 32 so it is in 32 bit format.





Using binary arithmetic, it's easy to calculate the highest number that
a byte can represent. If you turn on all the bits in a byte (11111111)
and then convert that byte to a decimal number 


(128 + 64 + 32 + 16 + 8 +
4 + 2 + 1), those bits total 255.





0 comments:

Post a Comment