IPv4 vs IPv6

ipv6_ready_logoIPv4 or can be called Internet protocol version 4, it has been developed since the early 70s. In contrast to the development of the operating system is fast enough each year, technological developments in the field of networking took quite a long time. When emerging IPv6 or Internet Protocol version 6, apparently the world still take a long time to adjust (until now). Naturally, in fact, because today almost all the world’s Internet users are already using IPv4 (the term is convenient), so it is still very difficult to implement IPv6, although the level of reliability is much better than in IPv4.

Basic IPv6 development due to the increasing number of internet users in the world, where the host must have its own IP address alone. Number of IP addresses provided by IPv4 was already not sufficient for the world, because the address is only 32 bits long so that only allows 232 (4,294,967,296) addresses. IPv6 can provide a 128-bit address is a number that likely exist in 2128. So one person in this world will get an IP Adress

If the IPv4 addressing is composed of 32 bits, then we will be representing them in dotted decimal format. We cut the address into 4 blocks so that each block has 8 bits and each block separated by dots

IPv4 example:

Binary:

11000000101010000000001100001001

Once divided into 4 blocks of the same being:

11000000. 10101000. 00000011. 00001001

Decimal:

192.168.2.9

At the 128-bit IPv6 we will represent them in dotted decimal hex format. Of 128 bit earlier we divide into 8 equal blocks, so that each of the blocks will consist of 16 bits and are separated by a colon (:).

Example IPv6

Binary:

0010000111011010000000001101001100000000000000000010111100111011

0000001010101010000000001111111111111110001010001001110001011010

After 8 divided into:

0010000111011010: 0000000011010011: 0000000000000000: 0010111100111011

0000001010101010: 0000000011111111: 1111111000101000: 1001110001011010

Hex decimal:

21DA: 00D3: 0000:2 F3B: 02AA: 00FF: FE28: 9C5A

For simplicity in IPv6 addressing, then we can eliminate any digit 0 is in the beginning of the block. However, each block must contain a minimum of one digit. So if the above simplified hex decimal then the result will be like this:

21DA: D3: 0:2 F3B: 2AA: FF: FE28: 9C5A

In addition to the other methods that can be done is with ZERO COMPRESSION, this is a technique to remove 0 if there is a 16-bit row 0. It is important and must be remembered that this should only be carried out for 0 in a row and the length should be 16 bit. So in one block it all the bit must be 0, new ZERO COMPRESSION can be done. This long row 0 then we replace with “::”.

Example:

1. FE80: 0:0:0:2 AA: FF: FE9A: 4CA2 to FE80 :: 2AA: FF: FE9A: 4CA2

2. FF02: 0:0:0:0:0:0:2 be FF02 :: 2

3. FF02: 30:0:0:0:0:0:5 be FF02: 30 :: 5

Fajar Indra Yunanto – 125150300111038

Advertisements

2 thoughts on “IPv4 vs IPv6

  1. i’m very interesting with this article, IPv6 is prepared to replace IPv4 and i think as a computer engineering students we have to know about this. But i have a little doubt about IPv6 in Indonesia, all PC and Operation System is ready for IPv6, but how about the device? are the device like router and switch ready for this change?

  2. Pingback: Sistem Komputer B | IP and Subnetmask

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s