How do I add the noprefixroute flag when my virtual IP address is created in a Pacemaker cluster?

Solution In Progress - Updated -

Issue

  • How can I prevent the virtual IP address in my Pacemaker cluster from creating a new route?
  • I want to add a CONFFLAG-LIST to my IPaddr2 resource as described in the ip-address(8) man page.
       ip address { add | change | replace } IFADDR dev IFNAME [ LIFETIME ] [ CONFFLAG-LIST ]
       ...
       FLAG-LIST := [ FLAG-LIST ] FLAG
       FLAG := [ [-]permanent | [-]dynamic | [-]secondary | [-]primary | [-]tentative | [-]deprecated | [-]dadfailed | [-]temporary | CONFFLAG-LIST ]
       CONFFLAG-LIST := [ CONFFLAG-LIST ] CONFFLAG
       CONFFLAG := [ home | mngtmpaddr | nodad | noprefixroute | autojoin ]

Environment

  • Red Hat Enterprise Linux 6, 7, 8 (with the High Availability Add-on)
  • Pacemaker

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