NAT ICMP, possible?

Unanswered Question
Apr 23rd, 2008

Hi all

I would like to NAT ICMP (ping) packets from source to appear from source I am using Cisco Router 2811. I can't seem to figure this out. Can any kind soul provide some sample config?

Thank you

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Jon Marshall Wed, 04/23/2008 - 00:12

ip nat inside source static

int fa0/0

ip nat inside

int fa0/1

ip nat outside

where fa0/0 is where the packet with the original src IP arrives and fa0/1 is where it goes out.

This will NAT all traffic for to

If you just want NAT ICMP only

access-list 101 permit icmp host any

ip nat inside source list 101 route-map NAT

route-map NAT permit 10

match ip address 101


Jon Marshall Wed, 04/23/2008 - 06:16

You don't necessarily need it but it does depend on how you want to do the NAT. So if you just want a static translation between 2 IP's

ip nat inside source static

If you want to qualify the NAT you can either

1) ip nat inside source list 101 interface fa0/1 overload#

ip nat inside source list 101 pool NATPOOL


2) you can use a route-map.

I just thought i'd use a route-map :-)



This Discussion