In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Configure PNAT:
Ideas and steps:
1. Configure ip:192.168.10.1 255.255.255.0 gateway 192.168.20.254 for PC1
Configure ip:192.168.10.2 255.255.255.0 gateway 192.168.20.254 for PC2
two。 Configure port 0 gateway on R1: 192.168.10.254 255.255.255.0
Configure Port 1 ip:100.1.1.1 255.255.255.0 on R1
3. Configure port 0 ip:100.1.1.2 255.255.255.0 on R2
Configure 1-port ip:200.1.1.1 255.255.255.0 on R2
4. Configure port 0 ip:200.1.1.2 255.255.255.0 on R3
5. Configure a floating static route in R1 global configuration mode
Ip route 0.0.0.0 0.0.0.0 100.1.1.2
6. Configure RIP in R2 system mode
Rip
Version 2
Network 100.0.0.0
Network 200.1.1.0
Silent-interface g0/0/0
7. Configure RIP on R3 system
Rip
Version 2
Network 200.1.1.0
8. Enter any port in R1 system mode to start the static NAT function
Nat static enable
Configure a translation entry (2ways)
(1): in global mode:
Nat static global 100.1.1.x inside 192.168.10.1
(X: the last bit of a non-real ip address)
(2): in interface mode (must be the data egress port)
Nat static global 100.1.1.x inside 192.168.10.1
(X: the last bit of a non-real ip address)
9. Validate, test, save
Verify: in R1 system mode:
Display nat static
Testing: grabbing bags
Configure in R2 user mode
Terminal monitor
Terminal debuging
Debuging ip icmp
Configure in R1 user mode
Debuging nat all
10. Using pc1ping200.1.1.2, you can see the crawled packets on R2.
=
Configuration of PNAT:
Train of thought:
Steps 1-7 are the same as configuring NAT.
8. Configure in R1 system mode:
Acl 2000
Rule 5 permit sourse 192.168.10.0 0.0.0.255
Then enter port 1 (the port where traffic flows out) in system mode.
Interface gi0/0/1
Nat outbound 2000
9. Validate, test, save
In R1 system mode, do the following configuration to view
Dis nat outbound
10. Any PC in the 192.168.10.0 network segment can communicate with ping.
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
© 2024 shulou.com SLNews company. All rights reserved.