• Skip to main content
  • Skip to primary sidebar
  • Skip to secondary sidebar
  • Skip to footer

Computer Notes

Library
    • Computer Fundamental
    • Computer Memory
    • DBMS Tutorial
    • Operating System
    • Computer Networking
    • C Programming
    • C++ Programming
    • Java Programming
    • C# Programming
    • SQL Tutorial
    • Management Tutorial
    • Computer Graphics
    • Compiler Design
    • Style Sheet
    • JavaScript Tutorial
    • Html Tutorial
    • Wordpress Tutorial
    • Python Tutorial
    • PHP Tutorial
    • JSP Tutorial
    • AngularJS Tutorial
    • Data Structures
    • E Commerce Tutorial
    • Visual Basic
    • Structs2 Tutorial
    • Digital Electronics
    • Internet Terms
    • Servlet Tutorial
    • Software Engineering
    • Interviews Questions
    • Basic Terms
    • Troubleshooting
Menu

Header Right

Home » Networking » Addressing » IPv6 – What is IPv6?
Next →
← Prev

IPv6 – What is IPv6?

By Dinesh Thakur

IPV6 is also known as IPng (Internetworking Protocol, next generation). The numbers of users of the internet are increasing day by day and the services offered to these users are also increasing. A huge number of addresses are needed to accommodate such vast number of hosts. The internet not only transmits textual data. It also allows us to transmit audio and video data. In such data, the high speed data transfer is desired. Internet working protocol version 6 (IPv6) was developed to overcome the shortcomings of IPv4.

The problem of address depletion, lack of accommodation for real-time audio and video transmission , and encryption and authentication of data for some applications motivated the development of IPv6.

The internet protocol version 4 is being used in the current internet. The internet protocol version 6 has been designed for the future needs of the internet. IPv6 has following new features to make the network ready for next generation of the internet.

(I) IPv6 address is 128 bits long. This is far more than 32 bit long addresses used by Ipv4. This provides 296 more unique addresses

(ii) Ipv6 header has got separate options field. This speeds up the routing as most of the times, options are not needed.

(iii) Several new options have been added to set of options.

(iv) To accommodate the real time traffic, the Ipv6 uses Flow Label field instead of Type of Service field of Ipv4. With this field, a user can request for the type of service to be given to the datagram.

(v) The Ipv6 contains options for encryption and decryption of data. This provides additional security to the information.

In this protocol, the IP address is of 128 bits long. The address is divided into eight sections of 16 bits in length. Each 16 bit section is represented by four hexadecimal digits. A colon is used to separate every four hexadecimal digits. This way, the address consists of 32 hexadecimal digits.

We’ll be covering the following topics in this tutorial:

  • Structure of IPv6
  • Advantages of IPv6
  • Comparison between IPv4 and IPv6

Structure of IPv6

Hexadecimal colon notation

• An IPv6 address consists of 16 bytes (octets)

• Thus an IPv6 address is 128 bits long

• It uses hexadecimal colon notation.

• In this notation 128 bits is divided into eight sections. Each section is 2 bytes long.

• Two bytes in hexadecimal notation require four hexadecimal digits. Thus, the address consists of 32 hexadecimal digits, with every four digits separated by a colon.

Abbreviation

• We can also write the IP address in abbreviated form.

IPv6 Address in Binary and Hexadecimal colon notation

• This can be done by omitting the leading zeros of a section (four digits between two colons)

• In such a form, only leading zero can be omitted and not the trailing zeros.

• Using this form of abbreviation, 0074 can be written as 74, 000F as F, and 000 as 0.Note 3210 cannot be abbreviated.

• Further abbreviations are also possible if there are consecutive sections consisting of zeros only. Using this scheme, zeros can be removed altogether and can be replaced with a double colon.

Abbreviated IPv6 addresses

• Such a kind of abbreviation is allowed only once per address. If there are two runs of zero sections only one of them can be abbreviated.

• For example, if the address is 0 : 15 : : 1 : 12 : 1213, it would be expanded to its original form.

Example of IPv6

Address space

• The address space- of IPv6 is much larger as compared to IPv4.

• In IPv6 2128 addresses are available

• The IPv6 address is divided into several categories.

• The category of address can be determined from the few leftmost bits of address. These leftmost bits that determine the category of address is called type prefix.

• The type prefix is variable in length and is designed in such a way that no code is identical to the first part of any other code.

• Table below shows the prefix for each type of address. The third column shows the fraction of each type of address relative to the whole address space.

Type of Prefixes For IPv6 Addresses

Type of Prefixes For IPv6 Address

Packet format

• Each IPv6 packet consists of a mandatory base header. This based header is of 40 • Base header is followed by the payload field.

• The payload consists of two parts: extension header and data from an upper layer.

• The use of extension header is optional.

• The extension header and data from upper layer contain upto 65,536 bytes of information.

• There are 8 fields in the base header. These are:

1. Version: This four bit field indicates the version of internet protocol which is 6 for IPv6.

2. Priority: This four bit field specifies the priority of level of the packet with respect to traffic congestion. It specifies the class of traffic to which the IP packet belongs.

3. Flow Label: This is a 3 byte (24 bit) field. It is used to identify all the packet in an individual flow. A flow is uniquely identified by a combination of source address, destination address and a non-zero flow label. Thus, all the packets that are part of the same flow are assigned the same label by the source.

4. Payload length: This 2 byte field indicates the number of octets present in the payload.

Format of an IPv6 datagram

5. Next header: The next header is an 8 bit field and describes the header that follows the base header in datagram. The next can be an extension header or header of the upper layer.

6. HOP limit: This 8-bit field has the same function as TTL in IPv4. In IPv6, it is decremented by one on each hop.

7. Source address: This field is of 16 byte (128 bit) and identifies the original source of datagram.

8. Destination address: This 16 byte (128-bit) field determines the final destination of the datagram.

Advantages of IPv6

The various advantages of IPv6 over IPv4 are:

1. Larger address space: An IPv6 address is 128 bit long as compared to 32- bit address ofIPv4. It has huge 296 increases in the address space.

2. Allowance for extension: IPv6 is designed to allow the extension of the protocol if required by new technologies or applications.

3. Better header format: IPv6 uses a new header format in which options are separated from the base header and inserted, when needed, between the base header and upper-layer data.

4. New options: IPv6 has new options to allow for additional functionalities.

5. Support for more security: The encryption and authentication options in IPv6 provide confidentiality and integrity of the packet.

6. Support for resource allocation: In IPv6, the source can request the special handling of the packet with he help of flow label field. This mechanism can be used to support traffic such as real-time audio and video.

Comparison between IPv4 and IPv6

The major difference in IPv4 and IPv6 packet formats are as follows:

1. IPv6 packet format does not contain header length field as IPv6 base header has fixed length of 40 bytes. IPv4 head is variable in length so header length field is required.

2. The header checksum field is not present in IPv6. As a result error detection is not done on the header, checksum is provided by upper layer protocols. It reduces the processing time of an IP packet.

3. In IPv6, maximum hop field is used whereas in IPv4 Time to line (TTL) field is used.

4. In IPv6, the size of payload (excluding header) is specified whereas in IPv4 total length field is used that specifies the total size of IP packet including header.

5. There is no fragmentation field in the base header in IPv6. It has been moved to the extension header.

6. The identification, flag, and offset field are eliminated from the base header in IPv6. They are included in the fragmentation extension header.

7. The options field is moved under extension headers in IPv6.

8. The source and destination address sizes in IPv6 are 128 bits as against 32 bits in IPv4.

9. The service type field is eliminated in IPv6. The priority and flow label fields together take over the function of the service type field.

You’ll also like:

  1. IPV4 vs IPV6
  2. IPv4 and IPv6 Addressing
Next →
← Prev
Like/Subscribe us for latest updates     

About Dinesh Thakur
Dinesh ThakurDinesh Thakur holds an B.C.A, MCDBA, MCSD certifications. Dinesh authors the hugely popular Computer Notes blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps.

Dinesh Thakur is a Freelance Writer who helps different clients from all over the globe. Dinesh has written over 500+ blogs, 30+ eBooks, and 10000+ Posts for all types of clients.


For any type of query or something that you think is missing, please feel free to Contact us.


Primary Sidebar

Networking

Networking Tutorials

  • Network - Home
  • Network - Uses
  • Network - Advantages
  • Network - Classification
  • Network - Architecture Type
  • Nework - Networks Vs Comms

Networking Devices

  • Network - Modem
  • Network - Routers Types
  • Network - Bluetooth
  • Network - RS-232C
  • Network - Hub
  • Network - Devices
  • Network - Bridges
  • Network - Repeaters
  • Network - Routers
  • Network - Switching Hubs
  • Network - Transceiver
  • Network - Multiplexer
  • Network - Gateway
  • Network - BNC Connector
  • Network - Optical Connectors
  • Network - NICs
  • Networking Protocol

  • Protocol - Definition
  • Protocol - IP
  • Protocol - Aloha
  • Protocol - MAC Layer
  • Protocol - Sliding Window
  • Protocol - Stop & Wait
  • Protocol - Network Protocols
  • Protocol - Token Passing
  • Protocol - SIP
  • Protocol - Ad-Hoc Networks Routing
  • Protocol - Lap-f
  • Protocol - Point-to-Point
  • Protocol - PPP
  • Protocol - PPP Phases
  • Protocol - LDP
  • Protocol - MPLS
  • Protocol - MPOA
  • Protocol - HDLC
  • Protocol - Distance Vector routing
  • Protocol - IGMP
  • Protocol - ICMP
  • Protocol - SLIP
  • Protocol - DVMRP
  • Protocol - SDLC
  • Protocol - Routing
  • Protocol - UDP
  • Protocol - ARP and RARP
  • Protocol - Link-State
  • Protocol - ARP Table
  • Protocol - RTP
  • Protocol - NHRP
  • Network Addressing

  • Addressing - Home
  • Addressing - SubNetting
  • Addressing - Classless
  • Addressing - Classes or Classful
  • Addressing - IPV4 vs IPV6
  • Addressing - IPv6
  • Addressing - Subnet Mask
  • Addressing - MAC Address
  • Addressing - Supernetting
  • Addressing - Private IP
  • Addressing - IPv4
  • Addressing - Public IP
  • Addressing - Multihomed
  • Addressing - Indirect Addressing
  • Addressing - ASP
  • Addressing - VLSM
  • Addressing - Routing Algorithms
  • Addressing - Hierarchical Routing
  • Addressing - Routing
  • Addressing - Distributed Routing
  • Addressing - Data Routing
  • Addressing - Services
  • Addressing - IP forwarding
  • Addressing - Aging
  • Addressing - Algorithm CR
  • Networking Media

  • Transmission - Home
  • Transmission - Modes
  • Transmission - Media
  • Transmission - System
  • Transmission - Bound
  • Transmission - Unbound
  • Transmission - Baseband
  • Transmission - Wired
  • Transmission - Fiber Benfits
  • Transmission - Infrared
  • Transmission - UnGuided
  • Transmission - Microwave
  • Transmission - Infrared
  • Transmission - Radio Wave
  • Transmission - Network
  • Transmission - Digital Signal
  • Transmission - Data
  • Transmission - Asynchronous
  • Transmission - Sync Vs Async
  • Cable - Twisted-Pair
  • Cable - Coaxial
  • Cable - UTP and STP
  • Cable - Fiber Optics
  • Cable - Gigabit Ethernet
  • Cable - Fast Ethernet
  • Cable - Ethernet Cable
  • Cable - Fiber-Optic Using
  • Cable - CATV
  • Cable - 100Base T
  • Cable - 10BASE T
  • Cable - 10 Base 2
  • Cable - 10 Base 5
  • Networking Types

  • IEEE - 802.11
  • IEEE - 802.5
  • IEEE - 802.15
  • IEEE - 802.11e
  • IEEE - 802.11n
  • Network - Ethernet
  • Network - Arpanet
  • Network - Frame Relay
  • Network - X.25
  • Network - Telephone
  • Network - WSN
  • Network - Metro Ethernet
  • Network - WAN Ethernet
  • Network - Wireless Mesh
  • Network - SAN
  • Network - SNA
  • Network - Cisco Architecture
  • Network - Vlan
  • Network - FDDI
  • Network - 100VG-Any
  • Network - EPON
  • Network - ISDN
  • Network - ARCNet
  • Network - Passive Optical
  • Networking Reference Models

  • Models - TCP/IP
  • Models - OSI
  • Models - MAC Layer
  • Models - Network Layer
  • Models - MAC Layer Functions
  • Models - TCP/IP Vs OSI
  • Models - CSMA
  • Models - CSMA/CD
  • Models - CSMA/CA
  • Models - CDMA
  • Models - STDM
  • Models - FDMA
  • Models - TDMA
  • Models - SDH
  • Models - CDM
  • Models - Multiplexing
  • Models - Reference
  • Models - Random Access Methods
  • Models - TCP/IP Architecture
  • Models - FDM
  • Models - IP Header
  • Models - OTN
  • Models - Amplitude Levels
  • Models - MIMO
  • Models - Plesiochronous Media
  • Models - Half Duplex
  • Models - ISO Architecture
  • Models - Data-Link Layer
  • Models - WDM
  • Models - Duplex
  • Models - Ethernet FDSE
  • Networking Switching Techniques

  • Switching - Home
  • Switching - Techniques
  • Switching - Packet
  • Switching - Circuit
  • Switching - Message
  • Switching - Packet Vs virtual Circuit
  • Switching - Cell
  • Switching - ATM Cell Structure
  • Switching - Virtual Circuit Vs Datagram
  • Switching - Time Space
  • Switching - Modulation
  • Switching - Cell Relay
  • Switching - ATM Structure
  • Switching - VC Vs PVC
  • Switching - Packet and Circuit
  • Switching - VPC
  • Switching - IP
  • Switching - Logical Channels
  • Switching - TDM
  • Switching - FDM
  • Network Codes

  • Codes - CRC
  • Codes - Error Correction and Detection
  • Codes - Hamming
  • Codes - Piggybacking
  • Codes - Encoding Techniques
  • Codes - Error Control
  • Codes - Parity Check
  • Codes - Parity bit
  • Codes - Bit Error
  • Codes - CRC
  • Codes - Transmission Errors
  • Codes - Error Detection and Correction
  • Network Communication

  • Communication - Home
  • Communication - Satellite
  • Communication - Wireless
  • Communication - Data Type
  • Communication - Congestion Control
  • Communication - Network
  • Communication - Data
  • Communication - Software
  • Communication - Layering Process
  • Networking Signaling

  • Signal - Analog
  • Signal - Digital
  • Signal - Analog Vs Digital
  • Signal - Digitization
  • Network Security

  • Security - Home
  • Security - Requirements
  • Security - Threats
  • Security - Services

Other Links

  • Networking - PDF Version

Footer

Basic Course

  • Computer Fundamental
  • Computer Networking
  • Operating System
  • Database System
  • Computer Graphics
  • Management System
  • Software Engineering
  • Digital Electronics
  • Electronic Commerce
  • Compiler Design
  • Troubleshooting

Programming

  • Java Programming
  • Structured Query (SQL)
  • C Programming
  • C++ Programming
  • Visual Basic
  • Data Structures
  • Struts 2
  • Java Servlet
  • C# Programming
  • Basic Terms
  • Interviews

World Wide Web

  • Internet
  • Java Script
  • HTML Language
  • Cascading Style Sheet
  • Java Server Pages
  • Wordpress
  • PHP
  • Python Tutorial
  • AngularJS
  • Troubleshooting

 About Us |  Contact Us |  FAQ

Dinesh Thakur is a Technology Columinist and founder of Computer Notes.

Copyright © 2025. All Rights Reserved.

APPLY FOR ONLINE JOB IN BIGGEST CRYPTO COMPANIES
APPLY NOW