Why IPv6 is innovated while we can use IPv4?

An Internet Protocol address is a numerical label assigned to each device connected to a computer network that uses the Internet Protocol for communication.

Abdullah Baghuth
3 min readNov 2, 2020

To bring up your IP address type $ifconfig in your terminal & in Windows >ipconfig

inet -> for IPv4
inet6 -> for IPv6

this is how to communicate devices communicating, we communicate over layer 3 (Network Layer [Routing])

IPv4 is in deceminal notation 8bit.8bit.8bit.8bit = 32byte
11111111 = 8bit

or you can made it as
128 — 64 — 32 — 16 — 8 — 4 — 2 — 1
1 — 1 — 1 — 1 — 1 — 1 — 1 — 1 = 255

11111111.11111111.11111111.11111111 =255.255.255.255

0 0 0 0 0 1 1 1 = 7

-Why IPv4
possible amount of IPv4 address = 2³² = 4,294,967,296 which means we are running out of range

-IPv6
it 128byte so 2¹²⁸ = 3.4028237e+38
IPv6 is in Hex notation : fe80::20c:29ff:fe23:f85e

because we are running out of IPv4 we came with IPv6 but nobody uses it why?

coming to NAT [Network Adress Translation]
you may have smartphones, smart TVs everything connecting to the internet required an IP address. if I have 12 devices connect to the intern, Is that mean I’m taken 12 IP from that 4.3 billion? Ans: No we are actually using network address translation (NAT)
with NAT we assigning the private IP address like 192.168.1.10 to the local area network, which means this IP address can’t be out on the internet that will be only known inside your network so we call that private IP address.

To pass these private IPs out we can pass them through a public IP address

Private IP addresses are not used anywhere on the public internet, reserved for private LANs.

As we can see CLASS C is the most useful in small businesses and the home network it allows has a large No. of networks but a small No. of Hosts.
So if you looking for more hosts you can go through CLASS A or B.

Now any IP address out of these will be public IP addresses.

by using NAT we still able to use it and communicate out instead of using IPv6 which difficult to write.

Why IPv6 is innovated while we can use IPv4?
The previous version, IPv4, uses a 32-bit addressing scheme to support 4.3 billion devices, which was thought to be enough. However, the growth of the internet, personal computers, smartphones, and now the Internet of Things devices proves that the world needed more addresses. In addition, The IPv6 protocol can handle packets more efficiently, improve performance, and increase security. It enables internet service providers to reduce the size of their routing tables by making them more hierarchical.

--

--