Why keepalived doesn't failover after network interface goes down?

Solution Verified - Updated -

Issue

While testing failover of keepalived configuration with track_interface option:

track_interface {
        eth0 weight 3                          
    }

If we disable network interface via
# ifdown eth0
We can see, that failover doesn't happen even though tracked interface is down.

Environment

Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.