Private ip address

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 19:41, 28 June 2012 (edit)
Glenn (Talk | contribs)
(+links)
← Previous diff
Revision as of 19:50, 28 June 2012 (edit) (undo)
Glenn (Talk | contribs)
(chg)
Next diff →
Line 6: Line 6:
* 192.168.0.0 - 192.168.255.255 (192.168/16 prefix) * 192.168.0.0 - 192.168.255.255 (192.168/16 prefix)
-Note: Private ip addresses must be (source) translated ([[wikipedia:Network_address_translation|NAT]]ted, tcp, udp: [[wikipedia:Port_address_translation|PAT]]) to a public (=non-private) ip address (tcp: [[wikipedia:Internet_socket|socket]]) before its payload can be send into the (public) internet.+Note: Private ip addresses must be (source) translated ([[Network address translation|NAT]]ted, tcp, udp: PAT) to a public (=non-private) ip address (tcp: [[wikipedia:Internet_socket|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 ([[wikipedia:Network_address_translation|Network address translation]]).+[[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. The NAPT is normally done by a router or firewall with NAPT functionalty.

Revision as of 19:50, 28 June 2012

Private internet addresses are often used on the LAN.

The allowed private 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