Adding Loopback Interface

Hello,

I have a SunOS (5.5.1) system that I need to migrate to a new IP address. I would like to have any requests destined for the old IP to be forwarded to this server.

One suggestion I had was to add a route on my router that would point the old IP to the new IP.

How do I add another loopback interface on the server so that when traffic is directed to this server it recognizes the old IP? I imagine I will also need to add something to it's routing table?

I do not regularly manage this machine so the more detail you can provide in the configuration the better. Your help is greatly appreciated!

Thanks!

I think what they meant was to add a static route. Its in one of the files under /etc/rc2.d

Ideally you're going to change your endpoints that actually refer to the old IP address - you don't want a band-aid that everyone will soon forget about. In the short term, you could always leave both bound to the interface - one as a virtual IP Solaris virtual hosts

Cheers,

Keith