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

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

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

change of IP address

I have attached a diagram of my connection. What I want to do is to use router A ip address to router B. Router A is located remotely that no one can handle it onsite. Im just doing remote connection to both routers. How I can use router A ip adr to router B w/o sacrificing router A connection. I heard of second ip, but i havent tried this one. Pls. help

Hall of Fame Super Gold

Re: change of IP address

To put a second IP Address, do this ...

int f0/0

ip address yada.yada.yada.yada blah.blah.blah.blah secondary

Then once that is done, telnet into the secondary address and remove the 1st IP Address.

Or you can create a loopback IP Address and telnet into that IP Address too.

New Member

Re: change of IP address

we can't do as leolaohoo mention,

Router required to remove first secondary ip address before primary ip address.

Re: change of IP address

Can you not use loopback ip address either?

New Member

Re: change of IP address

is the loopback address which known via static route with next hop of will also be unreachable once the ip addres of the interface was removed?

Hall of Fame Super Gold

Re: change of IP address

Gee ... Ok.

Presume you got this ...

int f 0/0

ip address

ip address secondary

and you want to delete the first secondary, so you put another network there like "ip address", get out and telnet into the and do a "no ip address secondary".

Otherwise, create a loopback address and telnet into that and put the secondary as well as remove the address. Does this make sense to you?

New Member

Re: change of IP address

but is the loopback address which is known only through the ip address of will also be unreachable once the ip address of the interface was removed?

Hall of Fame Super Silver

Re: change of IP address

Hello Oliver,

a secondary ip address on a lan interface can fix this issue.

you still keep both the primary and secondary ip address.

to reach RA from another ip subnet a static route pointing to RB primary ip address can be used or a dynamic routing protocol like RIP or EIGRP to advertise the secondary ip address block

Hope to help


New Member

Re: change of IP address

Here is a generic process I have used many times to change the IP address of a remote router without loosing access. This works really well.




REMOTE - Enable telnet and ssh on VTY lines.

REMOTE - Remove any access class on VTY.

REMOTE - Schedule a reload for 10 minutes (In case something goes wrong, will restore access)

REMOTE - Add second static default route pointing out interface (ensure Unicast Reverse Path Forwarding isnt enabled on outbound interface first)

REMOTE - Remove any crypto map if applied. (Connectivity Lost)

HUB - Remove any crypto map from HUB if applied. (Connectivity Restored)

REMOTE - Change interface IP address. (Connectivity Lost)

HUB - Change interface iP address or VLAN assignment. (Connectivity restored)

REMOTE - Remove old static default route.

REMOTE - Add new static default using next hop instead of interface.

REMOTE - Remove static default that used interface.

REMOTE - Re-enable Unicast RPF if it was applied.

REMOTE - Re-apply crypto if used (Connectivity Lost)

HUB - Re-apply crypto if used (Connectivity Restored)

REMOTE - Add access class back to VTY.

REMOTE - Cancel Reload

REMOTE - Save Configurations.