[CentOS] Outbound connections not using primary eth0 IP
Filipe Brandenburger
filbranden at gmail.com
Mon Aug 4 17:12:42 UTC 2008
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
More information about the CentOS
mailing list