IP address - IPv4 and IPv6

Types of IP Addresses:

  1. IPv4 Addresses:
  • Format: Consists of four numbers separated by ".” (e.g., 192.168.1.1). Each number ranges from 0 to 255.
  • Example: 192.168.0.1
  1. IPv6 Addresses:
  • Format: Consists of eight groups of four hexadecimal digits separated by ":” (e.g., 2001:0db8:85a3:0000:0000:8a2e:0370:7334). This provides a much larger address space than IPv4.
  • Example: 2001:0db8:85a3:0000:0000:8a2e:0370:7334