[lvs-users] real_server on the same machine where keepalived runs

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: [lvs-users] real_server on the same machine where keepalived runs
From: dousti <dousti@xxxxxxxxx>
Date: Fri, 28 Oct 2011 11:36:52 -0700 (PDT)

I have two hosts ( and that run a udp
service. In order to provide HA, I'm using keepalived ( on
these two hosts. This is the conf of one of the hosts (the other one is
similar (with necessary changed):

vrrp_instance VI_1 {
        interface eth0
        state MASTER
        virtual_router_id 51
        priority 101
        authentication {
            auth_type PASS
            auth_pass PASS123
        virtual_ipaddress {

virtual_server 4342 {
        delay_loop 30
        lb_algo wrr
        lb_kind DR
        protocol UDP

        real_server 4342 {
                weight 1
                MISC_CHECK {
                        misc_path /tmp/
        real_server 4342 {
                weight 100
                MISC_CHECK {
                        misc_path /tmp/


However the packets destined for do not seem to make it
to any of the two servers. My question, can keepalived run on the same hosts
as where the real_server runs? I even tried lb_kind NAT and it doesn't seem
to be working.

Thanks for the help.

View this message in context:
Sent from the LVS mailing list archive at

Please read the documentation before posting - it's available at: mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to

<Prev in Thread] Current Thread [Next in Thread>