IP Addressing Guide (IPv4 & IPv6 Addressing)

IP address is the third layer address in TCP/IP Protocol Stack, given to each devices connected to a network. In Internet layer of TCP/IP Protocol Stack, each device in a network is assigned with 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 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 in to 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 : 10.0.0.1 or in binary form 00001010 00000000 00000000 00000001
    IPv6 addressing : E3D7:0000:0000:0000:51F4:9BC8:C0A8:6420

  2. Representation

    IPv6 is 128 bit binary number represented in hexadecimals format. IPv4 is 32 bit binary number represented in decimal format.

  3. 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.

Different Classes of IP Addresses

IPv4 addresses are divided in to 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)

Network Portal

2 comments:

anukumarpandey said...

thanks for above information,
this is very good and basics of ip.

Siju George said...

Hi AuKumar, Thanks for your kind comment.