Connecting to Red Hat OpenShift 4 is refused due to duplicate IP addresses

Solution Verified - Updated -

Issue

  • Connection to the OpenShift API is refused from time to time with connection refused error for port :6443:

    $ oc get projects
    The connection to the server api-int.rhvipi.ocp.example.com:6443 was refused - did you specify the right host or port?
    
  • An external duplicated IP exist in the host network.

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • Installer Provisioned Infrastructure (IPI) using Keepalived

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content