In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "the configuration process of dynamic NAT". In daily operation, I believe many people have doubts about the configuration process of dynamic NAT. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful for you to answer the doubts about "the configuration process of dynamic NAT". Next, please follow the editor to study!
I. Experimental environment and objectives
A router, a switch and three PCs are interconnected across the network and configured with dynamic NAT, as shown in the following figure
II. Operation script
1. In switch SW
SW#conf t
SW (config) # no ip routing
SW (config) # int f1and0
SW (config-if) # speed 100
SW (config-if) # duplex full
two。 In router R1
R1#conf t
R1 (config) # int f0bin0
R1 (config-if) # ip add 192.168.10.1 255.255.255.0
R1 (config-if) # no shut
R1 (config-if) # speed 100
R1 (config-if) # duplex full
R1 (config-if) # int f0bin1
R1 (config-if) # ip add 10.0.0.1 255.255.255.0
R1 (config-if) # no shut
R1 (config-if) # exit
R1 (config) # access-list 1 permit 192.168.10.0 0.0.0.255
R1 (config) # ip nat pool test 10.0.0.2 10.0.0.7 netmask 255.255.255.0
R1 (config) # ip nat inside source list 1 pool test
R1 (config) # int f0bin0
R1 (config-if) # ip nat inside
R1 (config-if) # int f0bin1
R1 (config-if) # ip nat outside
R1 (config-if) # end
R1#debug ip nat
3. In VPCS
VPCS [1] > ip 192.168.10.2 192.168.10.1
VPCS [1] > 2
VPCS [2] > ip 192.168.10.3 192.168.10.1
VPCS [2] > 3
VPCS [3] > ip 10.0.0.10 10.0.0.1
VPCS [3] > 1
VPCS [1] > ping 10.0.0.10
VPCS [1] > 2
VPCS [2] > ping 10.0.0.10
Third, the diagram of the experimental steps
1. In switch SW
two。 In router R1
3. In VPCS
4. Experimental results
The results show that the dynamic NAT configuration is successful, as shown in the following figure
At this point, the study on the "dynamic NAT configuration process" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
Emergency response attachment: http://down.51cto.com/data/2367633
© 2024 shulou.com SLNews company. All rights reserved.