Avatar of turbot_yu
turbot_yu
Flag for Singapore asked on

Any sample for move a addtional Ip from one pc to another

for failover usage
System Programming

Avatar of undefined
Last Comment
turbot_yu

8/22/2022 - Mon
SOLUTION
mahesh1402

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
turbot_yu

ASKER
Originally
pc1 has 2 ip: 192.168.1.1; 192.168.1.10
pc2 has 1 ip:  192.168.1.2

After failover, the .10 ip will be moved from pc1 to pc2.
pc1 has 2 ip: 192.168.1.1
pc2 has 1 ip:  192.168.1.2; 192.168.1.10

The switchover condition is pc1 disconnect from network or a certain service on pc1 failed.

Thanks


ASKER CERTIFIED SOLUTION
jkr

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
turbot_yu

ASKER
Is there a permanet way to do it, since:

The IP address created by AddIPAddress(IP Helper) is not persistent. The address exists only as long as the adapter object exists. Restarting the computer destroys the address, as does manually resetting the network interface card (NIC). Also, certain PnP events may destroy the address.

Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes