[CentOS] Multiple Internet facing Nics - Gateway issue

Lorenzo Quatrini

lorenzo.quatrini at gmail.com
Fri Jul 3 07:29:55 UTC 2009


2009/7/2 John R Pierce <pierce at hogranch.com>:
>
> now, these commands are NOT persistent, and, AFAIK, RHEL has no
> provision for `ip route` or rule commands, so I end up sticking this
> stuff in /etc/rc.d/rc.local or something.
>
>
More detail on this:
digging a bit on the network-scripts I found that there are few checks
and calls to /sbin/ifup-pre-local, /sbin/ifup-local,
/sbin/ifdown-pre-local, /sbin/ifdown-local, so I guess that this is
the "right" place to put ip routes and rules commands.

Regards
Lorenzo Quatrini



More information about the CentOS mailing list