[CentOS] Dual Gateways, Dual IPs on the same net

Mr Gabriel gabriel at impactteachers.com
Sun Jan 17 21:14:23 UTC 2010

If I configure a second virtual ip address on a device, will it always
send packets to the gateway configured, or to it's primary gateway.

For example, two ISPs configured, two firewalls configured, gateway IP's and .2.  Internal server has IP with gateway
.1. Incoming packets that have been forwarded from outside, (for
instance an SSH session), will be returned to .1 for routing back to the

If a virtual adapter is configured with ip and a gateway
of .2 will traffic that is destined to 101, always be returned .2???

More information about the CentOS mailing list