Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

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

I have installed heartbeat package at both linux devices so that when ever clients request a service they will be arrived to this IP, and client will not know what are the back-end/actual ip addresses of the nodes. (this is know as virtual-ip or floating-ip)

To enable this feature does each of both devices have two ethernet cards (etho and eth1)?

In many documents I have found there are two eth interfaces are configured?

share|improve this question
up vote 0 down vote accepted

I have configured hearbeat system with one ethernet card on each devices. Using private ethenert card (isolated from wlan) for hearbeat makes system more secure and rebust. Especially connecting of device ethernet cards via cross cable rather than hub would be better.

share|improve this answer

you need not have 2 ethernet card.For example You can configure your single ethernet card for two ip's using command ifconfig eth0:1 ip-address netmask, so in this ip assigned to eth0 is your original ip address and eth1 ip address is youe virtual ip address. Same concept will be applied to your heartbeat configuration.

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.