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.
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
03-05-2018 01:33 AM
03-05-2018 02:05 AM - edited 03-05-2018 02:20 AM
Hi,
Here's my routing table on R1.
Thanks in advance.
03-05-2018 02:30 AM
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
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.
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide