Sobes.tech
Middle

What is a grey IP address?

sobes.tech AI

Answer from AI

A grey IP address (or private IP) is an IP address used within internal (local) networks and is not routable on the internet. It is intended for identifying devices within a single network (for example, a home network or a company's network) and is not unique across the entire internet. To access external resources from a network with grey IPs, NAT (Network Address Translation) technology is used.

The ranges of private IP addresses are defined by RFC 1918:

  • Class A: from 10.0.0.0 to 10.255.255.255
  • Class B: from 172.16.0.0 to 172.31.255.255
  • Class C: from 192.168.0.0 to 192.168.255.255
# Example of usage in a network
# Device 1 in a local network
ip_address_device1 = "192.168.1.10"
# Device 2 in a local network
ip_address_device2 = "192.168.1.11"
# Both addresses are grey