Configuration of dynamic NAT and PAT
This article shares with you the configuration steps for dynamic NAT and PAT. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.
Dynamic NAT configuration
1 define access control list
Router (config) # access-list 1 permit 192.168.100.0 0.0.0.255
2 define a legal IP address pool
Router (config) # ip nat pool test0 61.159.62.131 31.169.62.190 netmask 255.255.255.192
3 to realize network address translation
Router (config) # ip nat inside source list 1 pool test 0
4 enable NAT on internal and external ports and configure default rout
Example
As shown in the experimental topology diagram above, convert the address of the 192.168.10.0 network segment to 12.0.0.10 to 12.0.0.100
1 configure three PCs
2 configure switches and routers
3 Test results
PAT configuration
* 1 define access control list
Access-list 1 permit 10.1.1.0 0.0.0.255
2 define a legal IP address pool
Ip nat pool onlyone 12.1.1.2 12.1.1.2 netmask 255.255.255.0
3 to realize network address translation
Ip nat inside source list 1 pool onlyone overload
4 enable NAT on internal and external ports and configure default rout
*
Example
1 configure according to the topology diagram
2 Test results
After reading this article, have you learned how to configure dynamic NAT and PAT? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel. Thank you for reading.