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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Vincent Knecht wrote:
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

No that won't work. He wants packets to go out through their respective gateways depending on the NIC ip address. He does not want static routes which is a case of all packets to network Y, use ethX.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux