1834450 Members
2319 Online
110067 Solutions
New Discussion

Re: Swapping Of IP...

 
SOLVED
Go to solution
Sachin Jadhav
Advisor

Swapping Of IP...


Hello Guys,
Thanks for your valuable tips & time that you
have given to queries.

Here I want to migrate one of the more
critical application from my old server to
another one.
In this case I only need to swap the IP?
Please provide your assistance.
Thanks is advance.



Many Thanks,
Sachin Jadhav

4 REPLIES 4
Hasan  Atasoy
Honored Contributor

Re: Swapping Of IP...

hi sachin ;

if you want to change your machine ip then
execute "set_parms ip_address" and fallow the instructions on each machine. this process will reboot the machine.


Hasan.
radkol
Advisor

Re: Swapping Of IP...

Hi,

If everythink is ready you can swap the IP's.
You do not need to reboot the servers.
To make changes permanent you can use set_parms or edit /etc/rc.config.d/netconf
pay attention to the routes too.

to make change on-line wihtout rebooting, just use ifconfig lanX IP_add netmask NETMASK

If you need to add/remove some routings you can use route command or execute /sbin/init.d/net start in case need to add routing.

Hope this help.
Shrikant Lavhate
Esteemed Contributor

Re: Swapping Of IP...

3 ways:
- Using set parms
- Editing conf file and restarting service (already explained above)
- Using SAM
Under Networks/Communications
Will it remain a personal, if I broadcast it here!
Yogesh M Puranik
Valued Contributor
Solution

Re: Swapping Of IP...


Hey Dude!!

Its very simple dear!!First make sure that

1.You have a alternate I.P. with same subnet is better to aviod further problem of firwall and .

2.You need a sufficient downtime to swap the IP with your original ,if the server is running under critical environment.

3. Now once you get the downtime. make the changes in IP and other related parameter /etc/rc.config.d/netconf.

4. Restart the service with /sbin/init.d/net stop and
/sbin/init.d/net start

5. Ping the gateway and see weather telnet/ssh is working properly.If it is working your work is over.That's it.


Then cheers!!!!



Rgds

Yogesh