[CentOS] CentOS 4.x - Multiple gateways -- static routes

Thu May 25 16:20:33 UTC 2006
Vincent Knecht <vknecht at club-internet.fr>

Le Jeudi 25 Mai 2006 12:51, Tom Brown a écrit :
> Hi
>
> On a multihomed box how can i set different gateways for each NIC?
> Setting them in the ifcfg-ethx does not seem to make any difference to
> the routing?
>
> thanks

Hello,

  I think setting /etc/sysconfig/network-scripts/route-ethX files will help,
see http://blog.subverted.net/?p=571