Avatar of kymd26
kymd26
Flag for Australia asked on

List of commands required to change static IP address on a Cisco 800 Series Router

Hi

I need to change the static IP address on a cisco 800 Series router after the changing of a static IP. The router in question is the head end of a hardware VPN tunnel set up (between 2 x Cisco 800 series routers). I have been through the configuration and taken some snippets of the code where I can find the associated (old) Static IP. I just want ot double check I have everything right before having a crack at it. new address is 120.160.65.46

Code Snippets:

1.
ip host remoteoffice 203.45.189.100

2.
crypto isakmp key SDSDF#gS*DFH address 203.45.189.100

3.
crypto map GRETUNNELS 30 ipsec-isakmp
 set peer 203.45.189.100
 set transform-set ENCRYPT-GRE
 match address REMOTEOFFICE-TUNNEL

4.
interface Tunnel2
 description HEADOFFICE TO REMOTEOFFICE TUNNEL
 ip address 192.168.254.9 255.255.255.252
 tunnel source FastEthernet4
 tunnel destination 203.45.189.100
 crypto map GRETUNNELS

5.
ip access-list extended REMOTEOFFICE-TUNNEL
 remark IDENTIFY VPN TRAFFIC TO REMOTEOFFICE
 permit gre host 111.253.122.92 host 203.45.189.100
 remark IDENTIFY VPN TRAFFIC TO REMOTEOFFICE

If you could provide the commands in order it would be appreciated

KYMD
CiscoRoutersVPN

Avatar of undefined
Last Comment
kymd26

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Matt V

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
greg ward

As you have said its a vpn, i am guessing its no fun going to the remote sites to input the config.
i would suggest you use the command
reload in 30
or
reload at 18:00
on all routers
this will allow you to get the configs wrong and have another go when the routers reboot.
Matt V

Also, don't forget
copy run start <enter>
kymd26

ASKER
Commands worked exactly as shown. Was onsite at the remote office to complete commands and then was able to remote into the head office (using a wireless broadband connection) to complete the required changes at that end. Thanks for the help.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy