[Linux-HA] Multiple ucast statements on different interfaces

Ulrich Spörlein ulrich.spoerlein at 1822direkt.com
Thu Nov 23 07:43:06 MST 2006


Hi,

I'm using heartbeat-1.2.5 on FreeBSD 6.2 and want to use heartbeats over
two ethernet interfaces. Sadly, heartbeat won't start up with these two
ucast directives

udpport 694
ucast em0 1.2.3.4
ucast em1 5.6.7.8

Because it complains about ports already in use, which is no wonder as
it always binds to the wildcard adress *:694. Is there a way to have it
bind to a specific IP/and or interface?

ERROR: ucast: error binding socket. Retrying: Address already in use

~# sockstat|grep :694
root     heartbeat  51289 9  udp4   *:694                 *:*
root     heartbeat  66357 9  udp4   *:694                 *:*
root     heartbeat  90068 9  udp4   *:694                 *:*
root     heartbeat  29633 9  udp4   *:694                 *:*

Any help would be appreciated, thanks!

Ulrich Spörlein



More information about the Linux-HA mailing list