In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Operation steps and ideas:
one。 Assign pc1,pc2 with ip address, subnet mask and gateway, respectively
# pc1
Ip:192.168.1.1
Subnet mask: 255.255.255.0
Gateway: 192.168.1.254
Pc2
Ip:192.168.1.2
Subnet mask: 255.255.255.0
Gateway: 192.168.1.254
two。 Configure a gateway on Route 1
Interface g0/0
No shutdown / / activate the port
Ip address 192.168.1.254 255.255.255.0
Interface g0/1
Ip address 10.1.1.1 255.255.255.0
three。 Configure ip on Route 2
Interface g0/0
No shutdown / / activate the port
Ip address 10.1.1.2 255.255.255.0
Interface g0/1
No shutdown / / activate the port
Ip address 192.168.20.1.1.1
four。 Configure ip on Route 3
Interface g0/0
No shutdown / / activate the port
Ip address 20.1.1.2 255.255.255.0
five。 Set the default route in Route 1 so that it can send packets.
Ip routing / / enable routing function
Ip route 0.0.0.0 0.0.0.0 10.1.1.2
six。 Let the other two routers learn on their own
Route 2:
Route rip / / enable rip routing protocol
Version 2 / / use the rip2 version
No auto-summary / / turn off dynamic summarization of rip protocol
Network 10.1.1.0
Network 20.1.1.0 enters rip protocol
Route 3:
Route rip / / enable rip routing protocol
Version 2 / / use the rip2 version
No auto-summary / / turn off dynamic summarization of rip protocol
Network 20.1.1.0 enters rip protocol
seven。 Convert a private address to a public address on route 1
Interface g0/0
Ip nat inside / / private network boundary
Interface g0/1
Ip nat outside / / external network boundary
Access-list 1 permit 192.168.1.0 0.0.0.255
Determine the private address space to be translated by nat
Ip nat inside source list 1 interface g0/1
Configure corresponding mat translation entries for private addresses
eight。 Verify on PC
Ping 20.1.1.2 spell the external network to see if it can be successful.
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.