[CentOS] Outbound connections not using primary eth0 IP

Mon Aug 4 17:12:42 UTC 2008
Filipe Brandenburger <filbranden at gmail.com>

On Mon, Aug 4, 2008 at 13:00, Neil Aggarwal <neil at jammconsulting.com> wrote:
> Any ideas why this is happening?

Because you have two different default gateways. In that case, Linux
will "rotate" between them, using one or the other for each outgoing
packet.

If you want all your outgoing traffic to go through one gateway only
(from what you write, that is probably what you want), only remove the
GATEWAY= line from the :0 and :1 files and restart the network with
"service network restart".

HTH,
Filipe