Controling source IP address used on outbound HTTP GET request
- From: timwhunt@xxxxxxxxx
- Date: 16 Jan 2007 11:32:51 -0800
Hi,
We are looking for a way to control the IP address we use for outgoing
HTTP requests so that we can choose between two IP addresses we will
have on a linux server. We have a Linux server running Java/Tomcat
which is making HTTP GET requests to Web servers. We want to be able
to use one IP address when making requests to one Web server and use a
different IP address when making requests to another server. The
actual Java method we are using to get the page is
connection.getInputStream(), and we get a connection with
url.openConnection();
Is it possible to control which of the server's IP addresses is used
for each request, and if so, how? Is there some way we can set up the
Linux server or Tomcat to make it work?
BTW, I believe it is possible to have two IP addresses on a linux
server, but I haven't looked into what's involved. Feel free to
comment on this if relevant.
Thanks!
.
- Follow-Ups:
- Prev by Date: Re: How to check variables for uniqueness ?
- Next by Date: Re: How to check variables for uniqueness ?
- Previous by thread: how to know EJB has been removed
- Next by thread: Re: Controling source IP address used on outbound HTTP GET request
- Index(es):
Relevant Pages
|