CCNA:pass4sure cisco lab NAT configure
Download:nat.zip
Lab topology:
Lab requirements: configure NAT so that internal network is able to access internet
Lab requirements:
PC-1(config)#int f0/0
PC-1(config-if)#ip address 10.1.1.1 255.255.255.0
PC-1(config-if)#no sh
PC-1(config-if)#exit
PC-1(config)#no ip routing
PC-1(config)#ip default-gateway 10.1.1.110
PC-1(config)#exit
PC-2(config)#int f0/0
PC-2(config-if)#ip address 10.1.1.2 255.255.255.0
PC-2(config-if)#no sh
PC-2(config-if)#exit
PC-2(config)#no ip routing
PC-2(config)#ip default-gateway 10.1.1.110
PC-2(config)#exit
P4S-R1(config)#ip route 0.0.0.0 0.0.0.0 173.16.1.128
Method 1: static NAT
P4S-R1(config)#int f0/0
P4S-R1(config-if)#ip nat inside
P4S-R1(config-if)#exit
P4S-R1(config)#int s1/0
P4S-R1(config-if)#ip nat outside
P4S-R1(config-if)#exit
P4S-R1(config)#ip nat inside source static 10.1.1.1 173.16.1.56
P4S-R1(config)#exit
Method 2: dynamic NAT
P4S-R1(config)# ip nat pool kachy 173.16.1.58 173.16.1.126 netmask 255.255.255.0
P4S-R1(config)#access-list 1 permit 10.1.1.0 0.0.0.255
P4S-R1(config)#ip nat inside source list 1 pool kachy
P4S-R1(config)#exit
Method 3: configure PAT
P4S-R1(config)#access-list 100 permit ip 10.1.1.0 0.0.0.255 any
P4S-R1(config)#ip nat inside source list 100 interface s1/0 overload
P4S-R1(config)#exit
Related Posts
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.


Comments
No comments yet.
Leave a comment