Re: Rerouting IP requests internally



Yeah, unfortunately the client has hard coded the program to pull from a
certain external database server, now wants to host the database locally, so
we want to route any requests to the old db server to localhost basically.
We have no control over the external host / IP so routing is the only way,,
but I'm not sure how to go about doing it :-X Routing & Remote Access I'm
guessing?..


"Hal Rottenberg" <hal@xxxxxxxxxxxx> wrote in message
news:uM00LPpSIHA.1204@xxxxxxxxxxxxxxxxxxxxxxx
Brock Hensley wrote:
I though about that, adding the ip as a secondary, but wouldn't that
cause a conflict since it's a real IP? and would it force the app to talk
to the localhost acting as that ip?

Yup, it sure could. I was assuming the old system was going away.
Obviously, the ideal situation here is to fix the app such that the
connection string can be specified at runtime. Your next best solution
would be to change the IP of the box you don't want it to go to anymore,
and then bind a second IP to localhost, thus preventing the flip-flop.

Failing that...you could play with a few things like VLANs, subnet masks,
route statements and so on to prevent a conflict maybe.

But I wouldn't recommend any of that. You just know something will change
and it'll bite you in the *** later and it'll take three days to figure
it out. :)



--
Hal Rottenberg <hal@xxxxxxxxxxxx>
Author, TechProsaic (http://halr9000.com)
Webmaster, Psi (http://psi-im.org)
Co-host, PowerScripting Podcast (http://powerscripting.net)


.


Loading