Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Configuration of dynamic NAT and PAT

2025-03-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report