Static NAT
Static NAT
Private network
private public
NAT Table
Internal addresses External addresses
The router maintains a NAT table with a column with
internal @IPs (private) and another column with external
@IPs (public).
Lucas Bazilio - Udemy
Static NAT
Private network
private public
NAT Table
Internal addresses External addresses
In the case of static NAT, the router configures the
translation of the private @IP 10.0.0.10 to the public @IP
181.5.57.10
Lucas Bazilio - Udemy
Static NAT
Private network
private public
NAT Table
Internal addresses External addresses
Internal host PC1 wants to broadcast to PC2 from the Internet
The datagram will have these @IP source and destination Lucas Bazilio - Udemy
Static NAT
Private network
private public
NAT Table
Internal addresses External addresses
The router cannot transmit this datagram on the Internet with this @IP source
The router replaces the source @IP with the @IP associated with it in the NAT table
Static NAT
Private network
private public
NAT Table
Internal addresses External addresses
Lucas Bazilio - Udemy The destination PC2 receives this datagram with this @IP
source PC2 cannot know what is the real @IP of PC1
Static NAT
Private network
private public
NAT Table
Internal addresses External addresses
Lucas Bazilio - Udemy The destination PC2 receives this datagram with
this @IP source PC2 cannot know what is the real
@IP of PC1
Static NAT
Private network
private public
NAT Table
Internal addresses External addresses
When the datagram reaches the router, it will do the reverse substitution: change the
public @IP 181.5.57.10 to the internal private @IP of PC1
In this case, the one that changes is the destination @IP Lucas Bazilio - Udemy
Static NAT
Private network
private public
NAT Table
Internal addresses External addresses
PC1 correctly receives the datagram with its destination @IP Lucas Bazilio - Udemy
Static NAT
● If there are more hosts on the private network that need static NAT, then
one NAT table entry would need to be configured for each private @IP
Private network
NAT Table
Internal addresses External addresses
Lucas Bazilio - Udemy