Chapter 12 Network Address Translation (NAT)
12.8.3 How NAT Works
Each packet has two addresses – a source address and a destination address. For outgoing packets, the ILA (Inside Local Address) is the source address on the LAN, and the IGA (Inside Global Address) is the source address on the WAN. For incoming packets, the ILA is the destination address on the LAN, and the IGA is the destination address on the WAN. NAT maps private (local) IP addresses to globally unique ones required for communication with hosts on other networks. It replaces the original IP source address (and TCP or UDP source port numbers for
Figure 73 How NAT Works
NAT Table
LAN |
|
|
|
|
|
|
|
| |||
|
|
|
| Inside Local |
| Inside Global | |||||
|
|
|
|
|
|
| IP Address |
| IP Address | ||
192.168.1.13 | 192.168.1.10 |
| IGA 1 | ||||||||
192.168.1.11 |
| IGA 2 | |||||||||
|
|
| 192.168.1.12 |
| IGA 3 | ||||||
|
|
| 192.168.1.13 |
| IGA 4 | ||||||
192.168.1.12 |
|
|
|
|
|
|
|
| |||
|
| SA |
|
|
|
|
| SA |
| ||
|
|
|
|
|
|
|
| ||||
|
|
|
| 192.168.1.10 |
|
|
|
|
| IGA1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
WAN
|
|
|
|
Inside Local | Inside | Global | |
Address (ILA) | Address (IGA) |
192.168.1.11 192.168.1.10
| 189 |
|
|