• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1401
  • Last Modified:

IP alias on a cisco router

We setup a router with HSRP. This router is onsite and I need to get rid of the standby ip (virtual IP) and apply the VIP as the local lan ip to the local interface.

How do I do this without getting disconnected as there is no one onsite to help out.

I thought about a secondary IP but doing this won't allow me to remove the primary IP with the secondary IP in there.

I was thinking about an ip alias but i'm not sure if this will work.

How can I remotely remove and replace the lan ip remotely without losing all connectivity?
1 Solution
Can you not just connect to the real IP address of the router and remove the standby address and then change the real IP to the old standby (which i believe is what you want?)

That would drop your connection but you could then just re-connect on the new real IP.
any remote WAN router would be having 2 ip's, at minimum.

In your case one Ip would be of wan and the other of lan (which you are changing)

Log in remotely to the WAN Ip and do whatever you like with lan settings, you will remain connected always, only lan people will face disconnection.

Network_PadawanAuthor Commented:
Hi Surbabu,

That doesn't appear to be the case here. I just connected to the WAN IP via telnet, removed the LAN ip from the interface and have now lost all access. I don't understand.

ScoFar, your right I should have just changed the lan ip but instead i did a "no ip x.x.x.x " and removed the lan ip, and have since gotten disconnected.
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

there is technically no connection between wan and lan, You are connecting from outside to wan ip of a router to make lan ip change, you CANNOT possibly get disconnected, unless there is some missing element in this thread.

If you have got disconnected, then something weird is there in the routing config.

I myself  ship routers frequently with only wan IP and once connected, configure them.


I would do the changes in the startup-config and after the changes are done copy to the running-config. Make sure you have telnetted to a loopback address or telnet to the address that you will keep.
Network_PadawanAuthor Commented:
Loop back address worked. Not sure why it disconnected me by removing the LAN Ip. Strange. Thanks anyways.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now