The Big Differences Between IPv4 And IPv6 Computer Science Essay

Published: Last Edited:

This essay has been submitted by a student. This is not an example of the work written by our professional essay writers.

Internet protocol is some set of technical rules that defines the network computer communication. There are two types of protocol versions IP 4 and IP 6.


This is the first version of IP to be mostly used worldwide. This internet protocol most of today's internet traffic. There are over 4 billion ipv4 addresses. That is a lot of IP addresses. It is not sufficient to future.


This is the new version of internet protocol provides a much more address pool then ipv4. This is deployed in 1999. This is meets the world's IP addressing requirements for future.

The big differences between IPv4 and IPv6

The main differences are number of IP addresses. There are 4,000,000,000 IP addresses in IPv4 and in IPv6 there are over 340,000,000,000,000,000,000,000, 000,000,000,000,000 addresses.

The IPv4 and IPv6 addresses are used in at the same time in the internet.ip4ip6.bmp

Compare and contrast the capabilities of IPv4 and IPv6


In the IPv4 address are 32 bits long (4 bytes). The address are defined by host portion. The ip address are depended on address classes i.e. defined like A,B,C,D and E this is vary on few bits of address. In the 4 294 967 296 only address are available to the world. We take the example ip address in the text format mmm.mmm.mmm.mmm, in this situation "mmm" between zero and 2555and also each m is digit. Total zeros also not counted the total printable characters are 15.

In the IP6 address are 128 bits long (16 bytes). Basic network architecture is defined as 64 bits and also host also 64bits. The host piece of an IPv6 address will be gather from a MAC address. IPv6 has a more complex architecture than IPv4.

IPv6 there are over 340,000,000,000,000,000,000,000, 000,000,000,000,000 addresses.

Address allocation

In the IPv4 the addresses were allocated by network class. The address allocation is using the technique Classless Inter-Domain Routing (CIDR) .

In the IP6 the address allocation is in the simple stage. The Internet Engineering Task Force (IETF) and Internet Architecture Board (IAB) have recommended that essentially every organization, home, or entity be allocated a /48 subnet prefix length.

Address lifetime

This is not applicable concept for IPv4, excluding for addresses assigned by DHCP.

In the IPv6 addresses have 2 lifetimes

Preferred and valid, with the preferred lifetime always <= valid.

A source IP address

the preferred lifetime IP expires, the address not used like a source IP directly by new connection but packets are used the like a source IP address.

Address mask

This is used to assign network from host portion.

Address prefix

Sometimes used to designate network from host portion. Sometimes written as /nn suffix on presentation form of address.

Used to designate the subnet prefix of an address. Written as /nnn (up to 3 decimal digits, 0 <= nnn <= 128) suffix after the print form. An example is fe80::982:2a5c/10, where the first 10 bits comprise the subnet prefix.

Address Resolution Protocol (ARP)

Address Resolution Protocol is used by IPv4 to find a physical address, such as the MAC or link address, associated with an IPv4 address.

IPv6 embeds these functions within IP itself as part of the algorithms for stateless autoconfiguration and neighbor discovery using Internet Control Message Protocol version 6 (ICMPv6). Hence, there is no such thing as ARP6.

Address scope

For uncast addresses, the concept does not apply. There are designated private address ranges and loopback. Outside of that, addresses are assumed to be global.

Start of changeIn IPv6, address scope is part of the architecture. Unicast addresses have two defined scopes, including link-local and global; and multicast addresses have 14 scopes. Default address selection for both source and destination takes scope into account.

A scope zone is an instance of a scope in a particular network. As a consequence, IPv6 addresses sometimes must be entered or associated with a zone ID. The syntax is %zid where zid is a number (usually small) or a name. The zone ID is written after the address and before the prefix. For example, 2ba::1:2:14e:9a9b:c%3/48.

Address types

Unicast, multicast, and broadcast.

Unicast, multicast, and anycast. See IPv6 address types for descriptions.

Communications trace

A tool to collect a detailed trace of TCP/IP (and other) packets that enter and leave the system.

Same for IPv6, and IPv6 is supported.


You must configure a newly installed system before it can communicate with other systems; that is, IP addresses and routes must be assigned.

Configuration is optional, depending on functions required. IPv6 can be used with any Ethernet adapter and can be run over the loopback interface. IPv6 interfaces are self-configuring using IPv6 stateless auto configuration. You can also manually configure the IPv6 interface. So, the system will be able to communicate with other IPv6 systems that are local and remote, depending on the type of network and whether an IPv6 router exists.

Domain Name System (DNS)

Applications accept host names and then use DNS to get an IP address, using socket API gethostbyname().Applications also accept IP addresses and then use DNS to get host names using gethostbyaddr().For IPv4, the domain for reverse lookups is

Same for IPv6. Support for IPv6 exists using AAAA (quad A) record type and reverse lookup (IP-to-name). An application may elect to accept IPv6 addresses from DNS (or not) and then use IPv6 to communicate (or not).

The socket API gethostbyname() only supports IPv4. For IPv6, a new getaddrinfo() API is used to obtain (at application choice) IPv6 only, or IPv4 and IPv6 addresses.End of change

For IPv6, the domain used for reverse lookups is, and if not found then (see API getnameinfo()).

Dynamic Host Configuration Protocol (DHCP)

Used to dynamically obtain an IP address and other configuration information. i5/OS supports a DHCP server for IPv4.

The i5/OS implementation of DHCP does not support IPv6.

File Transfer Protocol (FTP)

File Transfer Protocol allows you to send and receive files across networks.

The i5/OS implementation of FTP does not support IPv6.


When a packet is too big for the next link over which it is to travel, it can be fragmented by the sender (host or router).

For IPv6, fragmentation can only occur at the source node, and reassembly is only done at the destination node. The fragmentation extension header is used.

Host table

On iSeries Navigator, a configurable table that associates an Internet address with a host name; for example,, loopback. This table is used by the sockets name resolver, either before a DNS lookup or after a DNS lookup fails (determined by host name search priority). Currently, this table does not support IPv6. Customers need to configure an AAAA record in a DNS for IPv6 domain resolution. You can run the DNS locally on the same system as the resolver, or you can run it on a different system.

Interface The conceptual or logical entity used by TCP/IP to send and receive packets and always closely associated with an IPv4 address, if not named with an IPv4 address. Sometimes referred to as a logical interface.

Can be started and stopped independently of each other and independently of TCP/IP using STRTCPIFC and ENDTCPIFC commands and using iSeries Navigator.

Same concept as IPv4.

Can be started and stopped independently of each other and independently of TCP/IP using iSeries Navigator only.

Internet Control Message Protocol (ICMP) ICMP is used by IPv4 to communicate network information. Used similarly for IPv6; however, Internet Control Message Protocol version 6 (ICMPv6) provides some new attributes.

Basic error types remain, such as destination unreachable, echo request and reply. New types and codes are added to support neighbor discovery and related functions.

Internet Group Management Protocol (IGMP)

IGMP is used by IPv4 routers to find hosts that want traffic for a particular multicast group, and used by IPv4 hosts to inform IPv4 routers of existing multicast group listeners (on the host).

Replaced by MLD (multicast listener discovery) protocol for IPv6. Does essentially what IGMP does for IPv4, but uses ICMPv6 by adding a few MLD-specific ICMPv6 type values.

IP header Variable length of 20-60 bytes, depending on IP options present. Fixed length of 40 bytes. There are no IP header options. Generally, the IPv6 header is simpler than the IPv4 header

IP header options Various options that might accompany an IP header (before any transport header). The IPv6 header has no options. Instead, IPv6 adds additional (optional) extension headers. The extension headers are AH and ESP (unchanged from IPv4), hop-by-hop, routing, fragment, and destination. Currently, IPv6 supports some extension headers.

IP header protocol byte

The protocol code of the transport layer or packet payload; for example, ICMP. The type of header immediately following the IPv6 header. Uses the same values as the IPv4 protocol field. But the architectural effect is to allow a currently defined range of next headers, and is easily extended. The next header will be a transport header, an extension header, or ICMPv6..

P header Type of Service (TOS) byte

This services are used by QoS and differentiate service to designate a traffic class. Designates the IPv6 traffic class, similarly to IPv4. Uses different codes. Currently, IPv6 does not support TOS.

iSeries Navigator support

iSeries Navigator support gives a complete configuration solution for TCP/IP.

In the IPv6also same. But in the IPv6 configuration CL commands are not available.

LAN connection

IPv4 in the LAN connections used IP interface to get the physical network like more types like token ring, Ethernet. Some situations referred to as the physical interface, link, and line.

IPv6 is used with any type of Ethernet adapters and also supported over virtual Ethernet between logical partitions.