Policy based routing on RHEL

If you configure multiple network cards in your RHEL machine with more than one gateway then you can use “policy based routing” to configure the network traffic in a way where the traffic will leave the same interface where the traffic came from.

This procedure is described in this Red Hat KCS article.

I also created a Puppet module to configure policy based routing on RHEL 6 / 7. Currently this module does not handle Bond or VLAN tagged interfaces. You can find my module here.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.