Redirect IP request to a Different IP

I recently changed the private IP addresses of my network. I changed from a 192.X.X.X network to a 10.X.X.X.

A program written by an old consultant of ours was hardcoded to reference a server at 192.168.2.18. This server still exists, but is at a new IP address now. The authoring consultants is no longer available and the program won't run.

Is it possible to fool my system into sending all requests for the 192 address to the new IP address?

I've tried changing the hosts file, but this only works with host names. Not redirecting IP addresses.

Of course, this programmer should have written the program to reference a hostname, but if I can redirect a request for one IP address to a different IP address, this will get us through the night.

All help is appreciated.

Thank you,

John Caspary
JohnMan777Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Nathan RileyFounderCommented:
Why not set this up on the router?
0
Randy PooleCommented:
On the server you program is running, you may be able to enable Windows IP routing and add a persistent static route which is defined in the following url:
http://technet.microsoft.com/en-us/library/cc757323(v=ws.10).aspx
0
JohnMan777Author Commented:
I have a sonicwall.  How would I program it?
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

JohnMan777Author Commented:
If I do a static route, what would be the syntax?
0
Nathan RileyFounderCommented:
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JohnMan777Author Commented:
I want all requests my workstation makes for 192.168.2.18 to redirect to 10.1.1.8.
0
Randy PooleCommented:
I believe it would be
route add 192.168.2.18 mask255.255.255.255 10.1.1.8 metric 1
0
Nathan RileyFounderCommented:
This video shows how to re-route one IP to another via SonicWall interface.

https://www.youtube.com/watch?v=HhXqGSpA0ik
0
JohnMan777Author Commented:
There is one twist in the plot.  Although pings to the new IP address are working, if I telnet to the open ports on the server it doesn't work. I have to go straight in with the original IP. Any ideas?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.