DEV Community

vikash-agrawal
vikash-agrawal

Posted on

IPV4 vs IPV6

IPV4:

• It’s a decimal based IP address.
• It contains 4 decimal number separated by dot.
• Each number ranges from 0 to 255, that means 00000000 to 11111111.
• Each of the decimal is 8 bits long, so it’s 32 bits IP address.

IPV6:

• It's a hexadecimal based IP address.
• It contains 8 hexadecimal number separated by colon.
• Each number ranges from 0 to that means 0000 0000 0000 0000 to FFFF FFFF FFFF FFFF
• Each of the hexa decimal is 16 bits long, so it’s 128 bits.

Top comments (0)