You are the network administrator at Ranet, and have to config the Ranet-GW router via Console Terminal to let hosts in our LAN that have IP address: 192.168.0.193 - 192.168.0.206 can connect to the internet.
Your ISP has given global IP for 6 IP as 25.5.5.65 - 25.5.5.70.
Remark:
1. Use ACL no.1 for Local IP list.
2. Use pool name “Ranet” for Global IP list.
Solution:
Ranet-GW config:
(copy & paste these command below to Ranet-HQ)
en
conf t
int fa0/0
ip nat inside
int s0/0/0
ip nat outside
exit
access-list 1 permit 192.168.0.192 0.0.0.15
ip nat pool Ranet 25.5.5.65 25.5.5.70 netmask 255.255.255.248
ip nat inside source list 1 pool Ranet overload
end
Ranet-GW#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Ranet-GW#sh ip nat translations
Pro Inside global Inside local Outside local Outside global
udp 25.5.5.65:1025 192.168.0.200:1025 21.5.6.7:53 21.5.6.7:53
tcp 25.5.5.65:1025 192.168.0.200:1025 21.5.8.7:80 21.5.8.7:80
Pro Inside global Inside local Outside local Outside global
udp 25.5.5.65:1025 192.168.0.200:1025 21.5.6.7:53 21.5.6.7:53
tcp 25.5.5.65:1025 192.168.0.200:1025 21.5.8.7:80 21.5.8.7:80
----------------------- The End ---------------------
CCNA Lab
,
cisco
,
IT
,
NAT
,
Packet tracer
,
Practice Labs
,
WAN Technology
Để bắt đầu tham gia Giao dịch tài chính:
Thanks
ReplyDelete