IPv4 vs IPv6 | Private IP Address vs Public IP Address | Static IP vs Dynamic IP (Networking)

IPv4

IPv6

IPv4 has a 32-bit address length

IPv6 has a 128-bit address length

It Supports Manual and DHCP address configuration

It supports Auto and renumbering address configuration

In IPv4 end to end, connection integrity is Unachievable

In IPv6 end-to-end, connection integrity is Achievable

It generates 4 billion unique addresses

It generates 340 undecillion unique addresses.

The Security feature is dependent on the application

IPSEC is an inbuilt security feature in the IPv6 protocol

Address representation of IPv4 is in decimal

Address representation of IPv6 is in hexadecimal

Fragmentation performed by Sender and forwarding routers

In IPv6 fragmentation is performed only by the sender

In IPv4 Packet flow identification is not available

In IPv6 packet flow identification are Available and uses the flow label field in the header

In IPv4 checksum field is available

In IPv6, the checksum field is not available

It has a broadcast Message Transmission Scheme

In IPv6 multicast and anycast message transmission scheme is available

In IPv4 Encryption and Authentication facility not provided

In IPv6 Encryption  and Authentication are provided

IPv4 has a header of 20-60 bytes.

IPv6 has a header of 40 bytes fixed

IPv4 can be converted to IPv6

Not all IPv6 can be converted to IPv4

IPv4 consists of 4 fields which are separated by addresses dot (.)

IPv6 consists of 8 fields, which are separated by a colon (:)

IPv4’s IP addresses are divided into five different classes. Class A, Class B, Class C, Class D, Class E.

IPv6 does not have any classes of the IP address.

IPv4 supports VLSM( Variable Length Subnet Mask).

IPv6 does not support VLSM.

Example of IPv4:  66.94.29.13

Example of IPv6: 2001:0000:3238:DFE1:0063:0000:0000:FEFB

 

Private IP Address

Public IP Address

The scope of Private IP is local.

The scope of Public IP is global.

It is used to communicate within the network.

It is used to communicate outside the network.

Private IP addresses of the systems connected in a network differ in a uniform manner.

Public IP may differ in a uniform or non-uniform manner.

It works only on LAN.

It is used to get internet service.

It is used to load the network operating system.

It is controlled by ISP.

It is available free of cost.

It is not free of cost.

Private IP can be known by entering “ipconfig” on the command prompt.

Public IP can be known by searching “what is my ip” on Google.

Range:

10.0.0.0 – 10.255.255.255,

172.16.0.0 – 172.31.255.255,

192.168.0.0 – 192.168.255.255

Range: Besides private IP addresses, the rest are public.

Example: 192.168.1.10

Example: 17.5.7.8

Private IP uses numeric code that is not unique and can be used again

Public IP uses a numeric code that is unique and cannot be used by other

Private IP addresses are secure

The public IP address has no security and is subjected to attack

Private IP addresses require NAT to communicate with devices

Public IP does not require a network translation

The scope of Private IP is local.

The scope of Public IP is global.



Static IP Address

Dynamic IP Address

It is provided by ISP (Internet Service Provider).

While it is provided by DHCP (Dynamic Host Configuration Protocol).

Static IP address does not change any time, it means if a static ip address is provided then it can’t be changed or modified.

While dynamic ip address change any time.

Static ip address is less secure.

While in dynamic ip address, there is low amount of risk than static ip address’s risk.

Static ip address is difficult to designate.

While dynamic ip address is easy to designate.

The device designed by static ip address can be traced.

But the device designed by dynamic ip address can’t be traced.

Static ip address is more stable than dynamic ip address.

While dynamic ip address is less stable than static ip address.

The cost to maintain the static ip address is higher than dynamic ip address.

While the maintaining cost of dynamic ip address is less than static ip address.

It is used where computational data is less confidential.

While it is used where data is more confidential and needs more security.

Simplifies the troubleshooting as the ip is always the same.

While dynamic ip increases the complexity of diagnosing the network issues.




Post a Comment

0 Comments