Random IP Address Generator

Generate random IPv4 and IPv6 addresses for testing, development, and network simulation.

Example: 192.168.1.1 (32-bit address)

IPv4 Information

  • Format: Four octets (0-255) separated by dots
  • Example: 192.168.1.1
  • Total Addresses: ~4.3 billion (2³²)
  • Notation: Decimal (dotted-quad)
  • Status: Widely used, address exhaustion

IPv6 Information

  • Format: Eight groups of 4 hex digits
  • Example: 2001:db8::1
  • Total Addresses: 340 undecillion (2¹²⁸)
  • Notation: Hexadecimal with colons
  • Status: Modern standard, unlimited addresses

About IP Address Generator

An IP (Internet Protocol) address is a unique numerical identifier assigned to each device on a network. Our generator creates random IP addresses in both IPv4 and IPv6 formats for testing and development purposes.

Common Use Cases

  • Testing: Network application testing and debugging
  • Development: Mock data for IP-based features
  • Education: Learning about IP addressing and networking
  • Simulation: Network simulation and modeling
  • Documentation: Example IP addresses in technical docs
  • Security Testing: Penetration testing and security audits
  • Database Seeding: Populate test databases with IP data

IPv4 vs IPv6

FeatureIPv4IPv6
Address Length32 bits128 bits
FormatDecimal (dotted)Hexadecimal (colon)
Total Addresses4.3 billion340 undecillion
Example192.168.0.12001:db8::1
AdoptionUniversalGrowing

IPv4 Address Classes

ClassRangeDefault MaskPurpose
A0.0.0.0 - 127.255.255.255255.0.0.0Large networks
B128.0.0.0 - 191.255.255.255255.255.0.0Medium networks
C192.0.0.0 - 223.255.255.255255.255.255.0Small networks
D224.0.0.0 - 239.255.255.255N/AMulticast
E240.0.0.0 - 255.255.255.255N/AExperimental

Private IP Address Ranges

These IP ranges are reserved for private networks and are not routable on the public internet:

  • 10.0.0.0 - 10.255.255.255 (Class A private range)
  • 172.16.0.0 - 172.31.255.255 (Class B private range)
  • 192.168.0.0 - 192.168.255.255 (Class C private range)
  • 127.0.0.0 - 127.255.255.255 (Loopback addresses)

Special IPv4 Addresses

  • 0.0.0.0: Default route or unknown address
  • 127.0.0.1: Localhost (loopback address)
  • 255.255.255.255: Broadcast address
  • 169.254.x.x: Link-local addresses (APIPA)

IPv6 Address Types

  • Unicast: Identifies a single interface
  • Multicast: Identifies multiple interfaces
  • Anycast: Identifies nearest interface from a group
  • Link-Local: fe80::/10 - Used within a single network segment
  • Unique Local: fc00::/7 - Private addresses (like IPv4 private ranges)
  • Global Unicast: 2000::/3 - Public internet addresses

Important Notes

  • Generated IP addresses are random and may not be valid or assigned
  • Use these addresses only for testing and development purposes
  • Do not use generated IPs for actual network configuration without verification
  • For documentation, use reserved ranges like 192.0.2.0/24 (TEST-NET-1)
  • IPv6 addresses can be shortened by omitting leading zeros and consecutive zero groups