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

Attention: The Cisco Support Community site will be in read only mode on Dec14, 2017 from 12:01am PST to 11:30am for standard maintenance. Sorry for the inconvenience.

New Member

IP NAT on 2620

Hi anyone please help to explain the difference between "ip nat inside" and "ip nat outside".

If I have one server with internal IP 172.18.18.20 need to be published with Public IP of 202.184.98.20, so in terms of Cisco router command, what should we type then ? Any sample configuration ?

Please help out.

Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: IP NAT on 2620

This link should help explain:

http://www.cisco.com/warp/public/556/12.html

In your example:

s0 (internet interface)

ip nat outside

e0 (internal network)

ip nat inside

ip nat inside source static 172.18.18.20 202.184.98.20

(this will translate 172.18.18.20 into the 202.184.98.20 address).

Hope that helps

Steve

1 REPLY

Re: IP NAT on 2620

This link should help explain:

http://www.cisco.com/warp/public/556/12.html

In your example:

s0 (internet interface)

ip nat outside

e0 (internal network)

ip nat inside

ip nat inside source static 172.18.18.20 202.184.98.20

(this will translate 172.18.18.20 into the 202.184.98.20 address).

Hope that helps

Steve

84
Views
0
Helpful
1
Replies
CreatePlease to create content