Re: [users@httpd] Load Balancing using multiple network interfaces

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

 



[ nocturnal ]

> Hi
>
> I'm looking for a load balancing method where i can statically link
> clients to a certain vhost or ip and have that ip send the reply
> back to the client, so the traffic is going out on a different
> interface or ip-address.
>
> So far i've setup Apache with two ip-addresses in vhosts but each
> ip-address is on one physical network interface each. So what
> happens when i redrect people from example.com to data.example.com,
> which is using the second ip-address in vhosts, is that i get HTTP
> queries going in on the second ip-address for data.exet.nu but all
> response traffic from Apache goes out on the first interface and the
> first ip-address.
>
> Is this because i'm using two interfaces? Could this be solved if i
> just had put the second ip-address on the first interface?

This sounds more like a routing issue on your server. All traffic from
your box most likely go out through a default gateway. You'd need at
least one gateway-definition for each physical interface in the
routing table on your box to make it send traffic out through both
interfaces.


Rgds,
Kenneth Svee

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux