A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.

May 14, 2015

Ucarp is Flapping

Forums: 

Hello Everyone!

I am already configured ucarp with 2 Virtual Machine on separate HOST (vmware vshere 5.1). Everything works fine! Today network admin talked about flapping between the two vm's which i am configured ucarp. When i open logs for both vm, it show me a lot of warnoing as bellow:

ucarp[473]: [WARNING] Bad digest – md2=[f9dc12f8…] md=[09c565cf…] – Check vhid, password and virtual IP address

OS: Oracle Linux 6.6

My configuration as bellow:

Server 1

/etc/ucarp/vip-001.conf

ID=”001″

BIND_INTERFACE=”eth0″

SOURCE_ADDRESS=”x.x.x.y”

VIP_ADDRESS=”x.x.x.z”

PASSWORD=”mypass”

OPTIONS=”–shutdown –preempt –advskew=10″

----------------------------------------------------------------------------

Server 2

/etc/ucarp/vip-001.conf

ID=”001″

BIND_INTERFACE=”eth0″

SOURCE_ADDRESS=”x.x.x.a”

VIP_ADDRESS=”x.x.x.z”

PASSWORD=”mypass”

------------------------------------

/usr/libexec/ucarp/vip-up

#!/bin/sh

exec 2>/dev/null

/sbin/ifconfig eth0:0 x.x.x.z/24 up

-------------------------------------------------------

/usr/libexec/ucarp/vip-down

#!/bin/sh

exec 2>/dev/null

/sbin/ifconfig eth0:0 down

-----------------------------------------------

I am already enabled promiscuous mode on both hosts network (vmware)

Where is the issue?

Click Here!