Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Hi I am using Debian for MySQL Replication for HighAvailability.I want to set the virtual ip for my two debian machine so that Heartbeat can switch from one machine to another.

I did that by using the command

ifconfig eth0:1 up

but it didnt persist after the reboot.and also I can not give the same ip in both the machine. How can I assign same virtual IP for both the machine?


share|improve this question
The correct term is "alias". – Ignacio Vazquez-Abrams Jul 27 '10 at 23:58

I think that once Heartbeat is configured, it will handle the virtual IP by itself..
See here.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.