Networking Forums

Networking Forums > Computer Networking > Linux Networking > 2 NIC in same Server

Reply
Thread Tools Display Modes

2 NIC in same Server

 
 
Peete Z.
Guest
Posts: n/a

 
      04-27-2006, 08:59 AM
Hello All,

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) ?

Thanks in advance

Cyril Z.

 
Reply With Quote
 
 
 
 
Dale Dellutri
Guest
Posts: n/a

 
      04-27-2006, 02:28 PM
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)
 
Reply With Quote
 
Antoine EMERIT
Guest
Posts: n/a

 
      05-02-2006, 04:48 PM
"Peete Z." <(E-Mail Removed)> écrivait news:1146128340.825789.208400
@y43g2000cwc.googlegroups.com:

> Hello All,
>
> 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) ?


Give more information please :

- ips of the client and the server
- output of ifconfig -a
- output of netstat -rn
- configuration of the onvolved daemon (apache ?)
....

If you're hosting a web server, are you listen on all ips ?


Regards

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Migrating the USER accounts (and passwords) from one Windows server to another: Web Hosting server Spin Windows Networking 2 07-15-2009 01:54 PM
Minuteman's Production server. your provider's email server sends a message back to the Production server. Don Saklad Linux Networking 0 05-19-2007 07:17 AM
Longhorn Server 6001 with NAP: DHCP Server can't reach IAS Server Shrek Windows Networking 3 04-02-2007 06:21 PM
OpenVPN working between client and server only, but not able to access any machines in server subnet GS Linux Networking 10 12-06-2006 10:48 AM
I can´t access from Device Mobile to RRAS Server, Windows Server 2 Carlos Ortega-Colombia Windows Networking 1 11-02-2005 10:23 PM



1 2 3 4 5 6 7 8 9 10 11