[CentOS] Re: Is there a way to save the routing table permanently?

Wed Aug 20 12:52:00 UTC 2008
Filipe Brandenburger <filbranden at gmail.com>


On Wed, Aug 20, 2008 at 01:22, Rob Townley <rob.townley at gmail.com> wrote:
> two NICs each that would use two different gateways,

If you are configuring default gateways on each interface, you are
probably doing something wrong.

The only reason why you would want to do that is to balance your
outgoing traffic between the two NICs, and this is better accomplished
with bonding interfaces.

> ifup would not process either route.ethX nor ethX.route
> - at least not enough for it to show in route.  Had to set
> the routes in /etc/rc.local.

I fail to see why SELinux would make any difference on that. Can you
describe your issue better? What is the configuration you tried to set
up, and why didn't it work? What version of CentOS are you using, 4 or
5? What is in /var/log/messages and /var/log/audit/audit.log when you
try to bring the interface up?