LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-05-2010, 12:18 AM   #1
vscoder
LQ Newbie
 
Registered: Mar 2010
Posts: 1

Rep: Reputation: 0
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.
 
Old 03-05-2010, 02:36 AM   #2
Web31337
Member
 
Registered: Sep 2009
Location: Russia
Distribution: Gentoo, LFS
Posts: 399
Blog Entries: 71

Rep: Reputation: 65
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.
 
  


Reply

Tags
domain, ip, outgoing



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
routing problem with outgoing traffic vivhost Linux - Networking 2 03-31-2009 08:53 AM
Traffic shaping (limiting outgoing bandwidth of all TCP-traffic except FTP/HTTP) ffkodd Linux - Networking 3 10-25-2008 12:09 AM
Iptables - Redirecting Outgoing Traffic Frankablu Linux - Networking 1 06-12-2005 01:18 PM
Block outgoing traffic through router? Micro420 Linux - Networking 3 03-15-2005 07:01 AM
outgoing traffic to the internet stopped esanchez Linux - Networking 4 09-22-2004 01:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration