Created
June 8, 2018 04:55
-
-
Save noslin005/4aa0da1a3591a11faea2433fde78e2e6 to your computer and use it in GitHub Desktop.
GNS3: Configuring NAT for connecting to the internet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
On the router (R1) connected to NAT device: | |
R1(config)#access-list 10 permit any | |
R1(config)#ip nat inside source list 10 interface FastEthernet 1/0 overload | |
R1(config)#interface FastEthernet1/0 | |
R1(config-if)#description "Connected to NAT" | |
R1(config-if)#ip nat outside | |
R1(config)#interface FastEthernet0/0 | |
R1(config-if)#description "Connected to LAN" | |
R1(config-if)#ip nat inside | |
R1(config)#interface FastEthernet0/1 | |
R1(config-if)#description "Connected to LAN" | |
R1(config-if)#ip nat inside | |
Configure DNS on Cisco IOS | |
R1(config)#ip domain-lookup | |
R1(config)#ip name-server 8.8.8.8 8.8.4.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment