CCNA LAB - 4.7 NAT


LAB 4-7: Network Address Translation (NAT)
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


----------------------- The End ---------------------




Để bắt đầu tham gia Giao dịch tài chính:


1 comment :

Các bạn có thể viết lời nhận xét cho bài viết, nhưng cần tuân thủ một số quy tắc sau:

» Các nhận xét/bình luận phải nghiêm túc, không dung tục, không spam.
» Nội dung phải liên quan tới chủ đề bài viết.
» Viết bằng tiếng việt có dấu hoặc tiếng Anh. Nội dung viết không dấu sẽ bị xóa.
» Hãy để lại tên của bạn khi nhận xét/bình luận, để tôi có thể dễ dàng trả lời bạn khi cần.

Chúc các bạn tìm được những kiến thức bổ ích khi tình cờ ghé thăm blog này.