Private ip address
From DD-WRT Wiki
(Difference between revisions)
Revision as of 19:53, 28 June 2012 (edit) Glenn (Talk | contribs) (more) ← Previous diff |
Revision as of 20:01, 28 June 2012 (edit) (undo) Glenn (Talk | contribs) (-text moved to Network address translation) Next diff → |
||
Line 7: | Line 7: | ||
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. | 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 ([[Network address translation]]). | ||
- | |||
- | The NAPT is normally done by a router or firewall with NAPT functionalty. | ||
==External links== | ==External links== |
Revision as of 20:01, 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.