iproute2 rules aren't cleaned up when interface is brought down with ifdown.

Solution Unverified - Updated -

Issue

  • iproute2 rules aren't cleaned up when interface is brought down with ifdown
  • The iproute rules that we've configured in /etc/sysconfig/network-scripts/rule-<interface> aren't cleaned up when we do an ifdown on the interface.
  • We do have the NetworkManager-dispatcher-routing-rules package installed so that the routes and rules are configured properly when interfaces come up and down.
  • It's just that the rules aren't cleaned up when the interface goes down with either an ifdown or systemctl restart network

Environment

  • Red Hat Enterprise Linux 7
  • iproute2 policy based routing (/etc/iproute2/rt_tables, rule-ethX, route-ethX)
  • NetworkManager
  • network service from initscripts

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.