[CentOS] Multiple Internet facing Nics - Gateway issue

Thu Jul 2 09:11:07 UTC 2009
carlopmart <carlopmart at gmail.com>

Lorenzo Quatrini wrote:
> John R Pierce ha scritto:
>> 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.
> I was facing the same problem some time ago... what is the right place to put
> "ip route" commands and configuration files?
> Does someone have a better place other than rc.local?
Yes, you can create rule-interfacename file under 
/etc/sysconfig/network-scripts directory for CentOS 5.x

> If I put them in rc.local, is there a way to issue a command like "service
> network restart"?
> Lorenzo Quatrini
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

CL Martinez
carlopmart {at} gmail {d0t} com