Private ip address

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 19:50, 28 June 2012 (edit)
Glenn (Talk | contribs)
(chg)
← Previous diff
Revision as of 19:53, 28 June 2012 (edit) (undo)
Glenn (Talk | contribs)
(more)
Next diff →
Line 1: Line 1:
Private internet addresses are often used on the LAN. Private internet addresses are often used on the LAN.
-The allowed private addresses are specified in [http://tools.ietf.org/html/rfc1918 rfc1918]:+The allowed private IPv4 addresses are specified in [http://tools.ietf.org/html/rfc1918 rfc1918]:
* 10.0.0.0 - 10.255.255.255 (10/8 prefix) * 10.0.0.0 - 10.255.255.255 (10/8 prefix)
* 172.16.0.0 - 172.31.255.255 (172.16/12 prefix) * 172.16.0.0 - 172.31.255.255 (172.16/12 prefix)

Revision as of 19:53, 28 June 2012

Private internet addresses are often used on the LAN.

The allowed private IPv4 addresses are specified in rfc1918:

  • 10.0.0.0 - 10.255.255.255 (10/8 prefix)
  • 172.16.0.0 - 172.31.255.255 (172.16/12 prefix)
  • 192.168.0.0 - 192.168.255.255 (192.168/16 prefix)

Note: Private ip addresses must be (source) translated (NATted, tcp, udp: PAT) to a public (=non-private) ip address (tcp: socket) before its payload can be send into the (public) internet.

NAPT (network address and port translation) is a necessary because of to few public internet IPv4 addresses. NAPT is commonly referred to as NAT (Network address translation).

The NAPT is normally done by a router or firewall with NAPT functionalty.

External links