Re: 2 NIC in same Server
- From: Dale Dellutri <ddelQQQlutr@xxxxxxxxxxxx>
- Date: Thu, 27 Apr 2006 14:28:39 +0000 (UTC)
On 27 Apr 2006 01:59:00 -0700, Peete Z. <peetez@xxxxxxxxx> 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 <ddelQQQlutr@xxxxxxxxxxxx> (lose the Q's)
.
- References:
- 2 NIC in same Server
- From: Peete Z.
- 2 NIC in same Server
- Prev by Date: Re: help on broadcast data lost in linux tcp/ip stack
- Next by Date: Re: Proxy ARP with Linux
- Previous by thread: 2 NIC in same Server
- Next by thread: When did I lost packets?
- Index(es):
Relevant Pages
|