LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Outgoing traffic from domain with dedicated IP (https://www.linuxquestions.org/questions/linux-server-73/outgoing-traffic-from-domain-with-dedicated-ip-793327/)

vscoder 03-05-2010 12:18 AM

Outgoing traffic from domain with dedicated IP
 
Hey everyone,

I'm curently on a dedicated server with 3 IPs on one NIC. one of the clients requested a Dedicated IP (for purposes like Getting files from sites like Rapidshare and using the Google's Search API). I assigned his domain the IP address and everything is working as expected and he can access his site through the IP. But the outgoing traffic (initiated) from that domain still uses the server's main IP (as opposed to the client's dedicated IP). how can I make that specific domain do all of its outgoing traffic on the dedicated IP address.

server IPs

eth0 91.xxx.xxx.xxx --> main server IP
eth0:0 79.xxx.xxx.xxx --> this is the IP dedicated to the customer.
eth0:1 79.xxx.xxx.xxx

Server is running on CentOS 5.

Any help is greatly appreciated.

Web31337 03-05-2010 02:36 AM

i guess the better way is to tell customer to add bind() in his scripts(i mean it's actually a program's work to select outgoing interface, so let him add that feature in his utils).
but i'm wondering about alternate solution as well, so i'll monitor this thread.


All times are GMT -5. The time now is 11:52 AM.