| Line 15: |
Line 15: |
| | | | |
| | ==Process== | | ==Process== |
| − | The typical process of using network address translation goes as follows: | + | The typical process of using network address translation looks something like this: |
| | # Multiple network devices (including computers, smartphones, and [[Internet of things|IoT]] devices) are connected to a local area network | | # Multiple network devices (including computers, smartphones, and [[Internet of things|IoT]] devices) are connected to a local area network |
| − | # Each device is assigned its own internal IP address from one of the unregistered IP blocks, such as <code>10.x.x.x</code> or <code>192.168.x.x</code>, by the local DHCP server. A DHCP server is typically integrated into consumer routers. | + | # Each device is assigned its own internal IP address from the unregistered IP block is use, such as <code>10.x.x.x</code> or <code>192.168.x.x</code>, by the local DHCP server. A DHCP server is typically integrated into consumer routers. |
| − | # The router also requests a public IP address from the external network's DHCP server. | + | # The router also requests a public IP address from the external network's DHCP server, unless it has already been assigned a static IP address. |
| | # When an internal device attempts to access the external network (usually the Internet), the router sends out that internal device's request on its behalf. That outgoing request is sent with a specific port number which is remembered by the router. | | # When an internal device attempts to access the external network (usually the Internet), the router sends out that internal device's request on its behalf. That outgoing request is sent with a specific port number which is remembered by the router. |
| | # When a response is sent back to the router, the port number is read, and it is forwarded to the device which made the request, using that device's internal IP address. | | # When a response is sent back to the router, the port number is read, and it is forwarded to the device which made the request, using that device's internal IP address. |