Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Natting

I have a Client server with a 142.x.x.x IP which is natted onto the Router Fastethernet interface to 172.x.x.x IP.

If I do a ping to the 172.x.x.x IP to check the connectivity between the Router and the destination server, will that show me the correct picture or should i need to ping the actual 142.x.x.x IP.

5 REPLIES
Purple

Re: Natting

If you are pinging from the 'outside' network, you need to ping the global address ....

Hope that helps - pls rate posts that help.

Regards,

Paresh

New Member

Re: Natting

thanx for the response.

But since that being a Virtaul IP on the router, it wud respond anyway..right??

ONly those packets which are hitting the router's interface from the outside are to be NATTED onto the server's IP. and since the ICMP packet is originating from the router itself..it wudn;t know that it has to NAT that.

Purple

Re: Natting

Hi Navneet,

Would you be able to post a config of your setup..I'm not sure I totally understand what you are trying to achieve ...

Thanks,

Paresh

New Member

Re: Natting

Iam pasting you part of the config. Please have a look.

interface FastEthernet0/0

description e0/0: Local LAN Segment

ip address 142.192.152.47 255.255.255.0

no ip redirects

ip accounting output-packets

ip nat inside

ip route 172.19.248.119 255.255.255.255 FastEthernet0/0

ip nat inside source static 142.192.152.246 172.19.248.119

142.192.152.246 is the server IP Natted onto 172.19.248.119 on the Router.

Cxxxxxxxxx>ping 172.19.248.119

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 172.19.248.119, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms

CNFrtMUShorsh03>

Will the ping test done above confirm the connectivty of the Router to the server or do i need to ping the actual server IP 142.192.152.246 .

Purple

Re: Natting

Thanks for the config...

You need to ping the actual server IP in this case, since you are pinging from the router.

Additionally, to check that NAT is working, try and ping from a location in front of the router by pinging the 172.19.248.119 address.

Hope that helps - pls rate posts that help.

Regards,

Paresh

104
Views
4
Helpful
5
Replies
CreatePlease to create content