How Linux pick the default IP for outgoing traffic

Issues related to configuring your network
z_haseeb
Posts: 55
Joined: 2009/12/31 07:58:30

How Linux pick the default IP for outgoing traffic

Postby z_haseeb » 2016/05/23 10:12:28

Environment
RHEL = 5.9
Cluster nodes = 2
IP of cluster node 1 = 192.7.163.58
IP of cluster node 2 = 192.7.163.59
Virtual IP for Application = 192.7.163.50

We have cluster configured for a home made application. When my application connects with its database on same VLAN, the connection establishes via physical IP. However when my application connects with those machines who are not the part of same VLAN, then , the connection establishes via virtual IP.

aks
Posts: 2495
Joined: 2014/09/20 11:22:14

Re: How Linux pick the default IP for outgoing traffic

Postby aks » 2016/05/23 16:48:27

I'm confused, you talk about VLANs and don't tell us how you've setup your VLANs. Do you mean VLAN (as in the networking sense) or do you mean something else?