Skip to main content

IP Addressing Guide (IPv4 & IPv6 Addressing)

The IP address is the third layer address in TCP/IP Protocol Stack, given to each device connected to a network. In Internet layer of TCP/IP Protocol Stack, each device in a network is assigned with a unique address known as IP address. There are two versions of TCP/IP: IPv4 and IPv6. Right now we are using IPv4 version to assign a logical address to devices in a network. In this tutorial, you will learn the differences between IPv4 addressing and IPv6 addressing with different classes of IPv4 addresses.

Differences Between IPv4 and IPv6
  1. Length

    IPv4 is 32-bit address broken into four octets which are separated by a period. IPversion6 is 128-bit long address having the capability to give more addresses than IPversion4 offers. Examples of IPversion4 and IPversion6 addresses are given below.

    IPversion4 addressing : or in binary form 00001010 00000000 00000000 00000001
    IPv6 addressing : E3D7:0000:0000:0000:51F4:9BC8:C0A8:6420

  2. Representation

    IPv6 is a 128-bit binary number represented in hexadecimal format. IPv4 is a 32-bit binary number represented in decimal format.

  3. The capacity of possible addresses

    IPv6 can give more addresses than IPv4 addressing.

  4. Checksum field

    In IPv4 addressing header, we can see checksum field but that is absent in IPv6 address header.

  5. Protocols Supported

    Another major difference between IPv4 addressing and IPv6 addressing is the supported protocols. IPversion4 supports ARP and IGMP. IPv6 support NDP and MLD.
Uses of Netstat Command Transport Layer in a Network
PING: Transmit failed. General Failure Destination Net Unreachable
Destination host unreachable Enable Disabled Adapter
Windows Automatic IP Address Hard Disk SMART Command Failed
Different Classes of IP Addresses
IPv4 addresses are divided into five classes. They are:
  1. Class A addresses(Range from 1 to 126)

  2. class B addresses (Range from 128 to 191)

  3. Class C addresses (Range from 192 to 223)

  4. class D addresses (Range from 224 to 239)

  5. Class E addresses (Range from 240 to 254)

Suggested Tutorials
  1. Address Resolution Protocol (ARP)

  2. Internet Group Management Protocol (IGMP)

  3. Remote Procedure Call (RPC)

  4. Dynamic Host Configuration Protocol (DHCP)

Solve TTL Expired in Transit

Ping Request Could not Find Host
Business Travel Expense Deduction
Earn $100 Per Day


Anonymous said…
thanks for above information,
this is very good and basics of ip.
Siju George said…
Hi AuKumar, Thanks for your kind comment.

About Author

My photo
Alex George
Alex George has Engineering graduation in Computer Science and an MBA in Finance. He had been working as a senior Network Engineer for ten years. His specialization is in Cisco products. Traveling is one of his hobbies and visited various places as part of his onsite work. He visited different places as part of his onsite work like New York, Dubai, London, etc. Right now Alex is a director of one of the leading career development firms in India, which trains students for UPSC, SSC, and PSC examinations. He guides a lot of students to get selection for various prestigious institutions like CBI, Income Tax Department, etc. Alex George is a stock market investor and a very active intraday trader. Engineering Background: He has a B.Tech in Computer Science and Engineering and passed different network and security courses like CCNA, CCNP (Security), CEH, and various Microsoft certifications. Finance Background: Alex has an MBA in Finance. He is an active intraday trader and a Share Market Investor. Webmaster Skills: Alex is a blogger since 2004. He has a working knowledge of HTML, CSS, PHP, and JavaScrip.