On 27 Apr 2006 01:59:00 -0700, Peete Z. <(E-Mail Removed)> wrote:
> I want some of my user in one VLAN to see the server with another IP
> address.
> I've tried 2 things:
> 1. Putting 2 logical IP on the same NIC (eth0 and eth0:1),
> 2. Putting 2 NICs in the server.
> In both case the client can ping the server with its new IP but never
> gets an answer from the server. I think that the server send the answer
> to the first IP. So my question is :
> How can I configure the server to respond to the IP it was asked with
> (mainly HTTP GET/POSTs) ? Is it only possible if all the client are in
> the same VLAN - and I don't know their IP (DHCP config) ?
This is probably a gateway problem. By default, the server only
has one gateway, and all responses will go out throgh that gateway.
You may be able to change this with advanced routing. Find the
advanced routing howto and take a look. It will probably involve
some manual netstat routing and iptable magic.
--
Dale Dellutri <(E-Mail Removed)> (lose the Q's)
|