You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Delagarza, John" <jd...@firstam.com> on 2002/09/12 01:00:57 UTC

[users@httpd] outbound ip

Is there any way to specify what IP the out going request goes out on?

I have a linux box with two IP's...two virt hosts.

one of them proxies to another server, can I specify what IP to go
out on?

both virt hosts (IP based) go out on the same IP as of now.

Re: [users@httpd] outbound ip

Posted by Jeff Beard <je...@cyberxape.com>.
Responses go out the same physical interface, not necessarily the same 
IP. I'm guessing that the IP address that is associated with the packets 
going back are defaulting to the non-virtual IP assigned to the physical 
interface. I'm guessing here, but it seems plausible and may be OS 
dependant.

If you want the really separate you need two network cards and bind each 
vhost to it's own physical interface/IP address.

--Jeff

Delagarza, John wrote:
> Is there any way to specify what IP the out going request goes out on?
> 
> I have a linux box with two IP's...two virt hosts.
> 
> one of them proxies to another server, can I specify what IP to go
> out on?
> 
> both virt hosts (IP based) go out on the same IP as of now.
> 

--
Jeff Beard | Systems Architecture, Programming, Management
Contact    | jeff at cyberxape dot com, 303.443.9339
Location   | In front of the computer, Boulder, CO, USA


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org