In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 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 ge0/0/0
Undo shutdown / / activate the port
Ip address 192.168.1.254 255.255.255.0
Interface g0/0/1
Ip address 10.1.1.1 255.255.255.0
three。 Configure ip on Route 2
Interface ge0/0/0
Undo shutdown / / activate the port
Ip address 10.1.1.2 255.255.255.0
Interface g0/0/1
Undo shutdown / / activate the port
Ip address 192.168.20.1.1.1
four。 Configure ip on Route 3
Interface g0/0/0
Undo 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 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:
Rip / / enable rip routing protocol
Version 2 / / use the rip2 version
Network 10.0.0.0
Network 20.0.0.0 enters rip protocol
Route 3:
Rip / / enable rip routing protocol
Version 2 / / use the rip2 version
Network 20.1.1.0 enters rip protocol
seven。 Convert a private address to a public address on route 1
1. Define the traffic of interest
Acl 2000
Rule 5 permit source 192.168.1.0 0.0.0.255
two。 Configure NAT on the egress port of the traffic
Interface ge0/0/1
Nat outbound 2000 is sent out on this port and is sent by ACL 2000
Matching traffic where the source IP address is translated to the
IP address of the interfac
eight。 Verify on PC
Ping 20.1.1.2 on two PCs 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.