07-31-2021 04:48 AM
Hi all guys,
I have a simple static NAT config.
Topo
Client (f0/1) ----192.168.0.0/24----(f0/1)R1(f0/0)----200.0.0.0/24----(f0/0)R2
IP addresses
IP Client:
f0/1: 192.168.0.10/24
IP R1:
f0/1: 192.168.0.1/24
f0/0: 200.0.0.1/24
IP R2:
f0/0: 200.0.0.10/24
Config
Client:
ip route 0.0.0.0 0.0.0.0 192.168.0.1
R1:
interface FastEthernet0/1
ip nat inside
interface FastEthernet0/0
ip nat outside
Question
If I config static NAT on R1 like below:
ip nat inside source static 192.168.0.10 200.0.0.1
or
ip nat inside source static 192.168.0.10 interface f0/0
I can ping from client to 200.0.0.10 successfully.
But if I config static NAT on R1 like below:
ip nat inside source static 192.168.0.10 200.0.0.2
I can't ping from client to 200.0.0.10 successfully. R1 doesn't forward ICMP reply from R2 to Client.
Please give me some suggestions.
Thank you.
Solved! Go to Solution.
07-31-2021 06:36 AM
This should work normally ,
Do you see NAT translations on R1 ?
Do you see ARP for 200.0.0.2 on R2 ?
07-31-2021 06:36 AM
This should work normally ,
Do you see NAT translations on R1 ?
Do you see ARP for 200.0.0.2 on R2 ?
08-05-2021 12:37 PM
Hi Tituscs,
I delete all config and re-config again and it works normally.
R1#show ip nat translations
Pro Inside global Inside local Outside local Outside global
icmp 200.0.0.2:3 192.168.0.10:3 200.0.0.10:3 200.0.0.10:3
icmp 200.0.0.2:4 192.168.0.10:4 200.0.0.10:4 200.0.0.10:4
--- 200.0.0.2 192.168.0.10 --- ---
R2#show ip arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 200.0.0.1 4 c207.2bf8.0000 ARPA FastEthernet0/0
Internet 200.0.0.2 2 c207.2bf8.0000 ARPA FastEthernet0/0
Internet 200.0.0.10 - c208.2ab4.0000 ARPA FastEthernet0/0
07-31-2021 07:08 AM - edited 07-31-2021 07:09 AM
You are doing a static NAT to interface f0/0 of R1. I don't think you could make that work unless you were doing an overload, and then that would only allow outbound. Assuming nothing else is occupying 200.0.0.2, trying using that as the outside address for the static.
08-05-2021 12:40 PM
Hi Elliot,
I don't know why but I deleted all config and re-config again and it works normally.
07-31-2021 12:22 PM
Hello
Do the rtr's have any static routing, as from youve decribed they dont require any and it should work.
Please post the following of the rtrs
sh run
sh ip aliases
sh arp
08-05-2021 12:45 PM
Hi Paul,
This is all config.
I don't know why but I deleted all config and re-config again and it works normally.
Client#show running-config
hostname Client
!
interface FastEthernet0/1
ip address 192.168.0.10 255.255.255.0
duplex auto
speed auto
!
ip route 0.0.0.0 0.0.0.0 192.168.0.1
!
===
R1#show running-config
hostname R1
!
interface FastEthernet0/0
ip address 200.0.0.1 255.255.255.0
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.0.1 255.255.255.0
ip nat inside
ip virtual-reassembly
duplex auto
speed auto
!
ip nat inside source static 192.168.0.10 200.0.0.2
!
===
R2#show running-config
hostname R2
!
interface FastEthernet0/0
ip address 200.0.0.10 255.255.255.0
duplex auto
speed auto
!
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