[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
192.168.1.1 and .2.  Internal server has IP 192.168.1.100 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
internet.

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



More information about the CentOS mailing list