Note 4. Address Translator
4. Address Translator
Non-routable Private IP addresses (internal usage)
Class A: 10.0.0.0 - 10.255.255.255 (or 10.0.0.0/8)
Class B: 172.16.0.0 - 172.31.255.255 (or 127.16.0.0/12)
Class C: 192.168.0.0 - 192.168.255.255 (or 192.168.0.0/16)
Private IP addresses
- eliminate the need for an organization to obtain many public IPv4 addresses from its ISP
- but, cannot be used in the public Internet. NAT (network address translator) is required for accessing the public Internet
- (Good Reference: https://www.geeksforgeeks.org/network-address-translation-nat/)
- Advantages
- Sharing public IP addresses, reduces the cost
- NAT conserves legally registered IP addresses.
- Network Security: It provides privacy as the device’s IP address, sending and receiving the traffic, will be hidden.
- Eliminates address renumbering when a network evolves.
- Disadvantages
- Translation results in switching path delays.
- Complicates tunneling protocols such as IPsec.
- Method 1: No port translation
- Disadvantage 1: If NAT runs out of addresses, i.e., no address is left in the pool, configured then the packets will be dropped.
- Disadvantage 2: Suppose, in a network, two hosts A and B are connected. Now, both of them request for the same destination at the same time. Destination will send replies to the public IP address of the router. Thus, on receiving a reply, it will be unclear to NAT as to which reply belongs to which host (because source port numbers for both A and B are the same).
- Method 2: Port-translating NAT (NAT type 2)
- Even if only one public IP address is used, NAT uses different port numbers to distinct the requests from different hosts.
- NAT Packet Filtering
- Symmetric NAT
- Full Cone (Normal) NAT
- Restricted Cone NAT
- Port Restricted NAT
留言
張貼留言