Re: Outbound connections not using primary eth0 IP

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



On Mon, Aug 4, 2008 at 15:31, Neil Aggarwal <neil@xxxxxxxxxxxxxxxxxx> wrote:
> I don't understand how that works since the IP addresses
> from :0 and :1 are on a different subnet than the one
> for eth0 and they have a different gateway.  I guess
> I don't understand the finer points of networking.

The point is that, when you have multiple gateways, the system will
choose one for you for each outgoing packet.

If the packet is not yet part of an established connection (i.e. if it
is an outgoing connection that is being opened), when the gateway is
chosen, so will the outgoing address, and this will cause you to
experience what you have experienced.

Administrators should *always* avoid using multiple default gateways
unless they really know what they are doing (and even in that case I
would recommend against it).

> The solution worked and I am thankful for that.

Great to know I could help!

Filipe
_______________________________________________
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