title: Keepalived mcast_src_ip not working
body: <p>I have 2 servers running keepalived with following IP configurations:</p>
  
  <p><strong>Server1:</strong></p>
  
  <ul>
  <li>eth0 172.31.48.10</li>
  </ul>
  
  <p><br></p>
  
  <p><strong>Server2:</strong></p>
  
  <ul>
  <li>eth0 192.168.1.5</li>
  <li>eth0:1 172.31.48.8</li>
  </ul>
  
  <p>When Server1 is MASTER, Server2 receives properly VRRP advertisements to 224.0.0.18 multicast address from source 172.31.48.10 (Server1 eth0 ip address).</p>
  
  <p>However, when Server2 is MASTER, it sends VRRP advertisements from source address 192.168.1.5, regardless the <strong>mcast_src_ip 172.31.48.8</strong> statement on configuration file. Then Server1 become MASTER because it is unable to communicate to peer of a different subnet.</p>
  
  <p>I'm using CentOS 6 official Keepalived release (keepalived-1.2.13-5.el6_6.x86_64) and also I tried compiling a newest version (1.3.6) of Keepalived and the problem persists. </p>
  
  <p>What am I doing wrong??</p>
  
  <p>Follow my Keepalived configuration (the same configuration file on both peers):</p>
  
  <pre><code>global_defs {
     smtp_server 127.0.0.1
     smtp_connect_timeout 30
  }
  
  vrrp_instance VI_1 {
    mcast_src_ip 172.31.48.8
    advert_int 1
    interface eth0
    state BACKUP
    virtual_router_id 54
    priority 100
    nopreempt
  
    authentication {
      auth_type PASS
      auth_pass TestAuth
    }
  
    track_interface {
      eth0
    }
  
    virtual_ipaddress {
      172.31.48.89/24 brd 172.31.48.255 dev eth0 label eth0:99
    }
  
  }
  </code></pre>