本文mark一下NAT的相关笔记。

Just watch NAT Explained - Network Address Translation!

private IP:

  • 10.0.0.0/8 IP addresses: 10.0.0.0 – 10.255.255.255
  • 172.16.0.0/12 IP addresses: 172.16.0.0 – 172.31.255.255
  • 192.168.0.0/16 IP addresses: 192.168.0.0 – 192.168.255.255

NAT is used in routers:

  1. NAT translates a set of IP address to another set of IP address
  2. NAT helps preserve the limited amount of IPv4 public IP address

NAT translates:

  1. Private to public
  2. Public to private