- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2018 01:23 AM - edited 03-05-2019 10:02 AM
Hi,
im trying to make WAN simulation on GNS3 and connecting the network to internet.
On R1 im using eBGP to connecting AS100 to AS200, and
OSPF to connect all PC to router on AS100.
im using Overload NAT on R1 but the only one who get the internet is R1.
there is no problem with connecting AS100 to AS200.
here's R1 current config
int fa0/0 to AS200 -> 192.168.10.1/30
int fa1/0 to R2 -> 192.168.20.1/30
int fa2/0 to internet -> DHCP/24
R1
R1(config)#int fa2/0
R1(config-if)#ip nat outside
*Mar 1 00:01:01.407: %LINEPROTO-5-UPDOWN: Line protocol on Interface NVI0, changed state to up
R1(config-if)#exit
R1(config)#int fa1/0
R1(config-if)#ip nat inside
R1(config-if)#exit
R1(config)#ip nat pool Nat1 192.168.137.2 192.168.137.2 prefix-length 24
R1(config)#ip nat source list 7 pool nat1 overload
R1(config)#access-list 7 permit 192.168.20.0
R1(config)#access-list 7 permit 192.168.137.0
is there any problem with my NAT config? please help me on this problem.
PC1 cant connect to internet.
Solved! Go to Solution.
- Labels:
-
Other Routing
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2018 03:14 AM
Hi all,
In addition to Deepak's comment, here is my observation: The NAT configuration uses ip nat inside and ip nat outside which is the classic form of NAT configuration, yet the translation rule is configured with ip nat source command that is used with a different type of NAT (NVI NAT). That is why NAT does not work here.
Correctly, the translation rule should be configured with ip nat inside source ... command. This will definitely need to be corrected. Try it out! :)
Best regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2018 01:33 AM
Regards,
Deepak Kumar
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2018 02:05 AM - edited 03-05-2018 02:20 AM
Hi,
Here's my routing table on R1.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2018 02:30 AM
check your nat acl (7). Remove the entry "permit ip 192.168.37.0" and add the new entry with subnet of pc1, pc2. Here you made the mistake in acl configuration.
Regards,
Deepak Kumar
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2018 03:14 AM
Hi all,
In addition to Deepak's comment, here is my observation: The NAT configuration uses ip nat inside and ip nat outside which is the classic form of NAT configuration, yet the translation rule is configured with ip nat source command that is used with a different type of NAT (NVI NAT). That is why NAT does not work here.
Correctly, the translation rule should be configured with ip nat inside source ... command. This will definitely need to be corrected. Try it out! :)
Best regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2018 05:16 AM
i tried the IP nat inside source.....
and it's works. PC1 now can connect to internet without any problem.
Thanks you.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2018 03:38 AM - edited 03-05-2018 03:56 AM
change that R1(config)#ip nat source list 7 pool nat1 overload
For this R1(config)#ip nat inside source list 7 pool Nat1 overload
