1

Is there any rules to specify private ip address

I guess 192.168., 169, 10* are all private ips, but I am not sure. Anyone can point out?

HopelessN00b
  • 53,795
  • 33
  • 135
  • 209

3 Answers3

4

Take a look at RFC5735 for a complete list of reserved networks. You're looking for "Private-Use Networks".

Address Block       Present Use                Reference
------------------------------------------------------------------
10.0.0.0/8          Private-Use Networks       RFC 1918
172.16.0.0/12       Private-Use Networks       RFC 1918
192.168.0.0/16      Private-Use Networks       RFC 1918
rid
  • 951
  • 1
  • 7
  • 11
  • I thought 169.254 should also be –  Oct 18 '11 at 23:28
  • @user705414, from [RFC5735](http://tools.ietf.org/html/rfc5735#page-4): 169.254.0.0/16 - This is the "link local" block. As described in [RFC3927](http://tools.ietf.org/html/rfc3927), it is allocated for communication between hosts on a single link. Hosts obtain these addresses by auto-configuration, such as when a DHCP server cannot be found. – rid Oct 18 '11 at 23:39
0

Private IPs are IP addresses in the subnets reserved for private addresses:

  • 10.0.0.0/8
  • 172.16.0.0/12
  • 192.168.0.0/16

All other (non-reserved) IP addresses can (and most likely do) refer to actual computers in the public internet, so they should not be used in private networks.

SLaks
  • 483
  • 7
  • 14
0

If you are using it in a network that wont connect to outside, it is fine. Else, you can consider using NAT translations. Use the range provided for private IP addresses, as given in some of the answers.

SeattleOrBayArea
  • 143
  • 1
  • 2
  • 7