Home / Computer Science / Miscellenious / IP Address Representation

IP Address Representation

In this blog I discussed 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.

IP Address
IP Address Representaion

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.

About Santosh Kumar Gadagamma

I'm Santosh Gadagamma, an Experienced Software Engineer passionate about sharing knowledge in technologies like Java, C/C++, DBMS/RDBMS, Bootstrap, Big Data, Javascript, Android, Spring, Hibernate, Struts, and all levels of software design, development, deployment, and maintenance. I believe computers are essential for the world's functioning, and I'm committed to helping others learn the skills they need to succeed in tech. My website is a valuable learning tool to help you reach greater heights in your education and career, and I believe that education has no end points.

Check Also

free crypto tokens

8 Websites for Unlocking Free Crypto: A Comprehensive Guide to Airdrop Crypto Tokens | IT2EDU

Explore the world of free crypto tokens and airdrop opportunities with our comprehensive guide. Learn how to navigate airdrops, claim free crypto, and safeguard against potential risks while diving into the evolving landscape of cryptocurrency giveaways