10-21-2013 11:37 AM - edited 03-07-2019 04:09 PM
Dear all,
I have no Cisco IOS experience, very basic info and have to change NAT (PAT) in the current configuration.
We made some changes in our LAN and now I would like to update router configuration to change all "old" IPs to the "new" server IP.
Basicly changed old web server IP PAT to a new one...
I have running configuration in a file.. I understand I can somehow copy/paste relevant parts?
Can you please help me with steps I need to take?
Do I need to copy/paste complete running configuration or can I do this only for relevant part/line?
Will this add new entry or overwrite existing one?
Thank you for your help!
Peter
Solved! Go to Solution.
10-22-2013 04:16 AM
Hi,
if this is port forwarding you want to change with new inside IP then you can do like this:
no ip nat inside tcp 192.168.10.1 80 x.x.x.x 80 old NAT statement
ip nat inside tcp 192.168.10.2 80 x.x.x.x 80 new NAT statement
of course this is an example so edit it for your needs.
Regards
Alain
Don't forget to rate helpful posts.
10-22-2013 04:16 AM
Hi,
if this is port forwarding you want to change with new inside IP then you can do like this:
no ip nat inside tcp 192.168.10.1 80 x.x.x.x 80 old NAT statement
ip nat inside tcp 192.168.10.2 80 x.x.x.x 80 new NAT statement
of course this is an example so edit it for your needs.
Regards
Alain
Don't forget to rate helpful posts.
10-22-2013 11:06 AM
Hi, thanks for your reply.
From your answer I see I can "delete" current statement with "no" prefix.
Anyway, in a mean time I found it most easy to just use TFTP and download startup config to pc, change all old IPs with new IPs and use replace config from tftp to apply new running config. I am letting it run now for a day or two and then I will write it to startup config.
I found this easier than moving through different modes and interfaces and enable that and this
Thank you!
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