Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Redirect IP request to a Different IP

Posted on 2014-07-14
9
Medium Priority
?
4,747 Views
Last Modified: 2014-07-14
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
0
Comment
Question by:JohnMan777
  • 4
  • 3
  • 2
9 Comments
 
LVL 12

Expert Comment

by:Nathan Riley
ID: 40195368
Why not set this up on the router?
0
 
LVL 21

Expert Comment

by:Randy Poole
ID: 40195371
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
 

Author Comment

by:JohnMan777
ID: 40195400
I have a sonicwall.  How would I program it?
0
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 

Author Comment

by:JohnMan777
ID: 40195402
If I do a static route, what would be the syntax?
0
 
LVL 12

Accepted Solution

by:
Nathan Riley earned 2000 total points
ID: 40195403
0
 

Author Comment

by:JohnMan777
ID: 40195407
I want all requests my workstation makes for 192.168.2.18 to redirect to 10.1.1.8.
0
 
LVL 21

Expert Comment

by:Randy Poole
ID: 40195423
I believe it would be
route add 192.168.2.18 mask255.255.255.255 10.1.1.8 metric 1
0
 
LVL 12

Expert Comment

by:Nathan Riley
ID: 40195441
This video shows how to re-route one IP to another via SonicWall interface.

https://www.youtube.com/watch?v=HhXqGSpA0ik
0
 

Author Comment

by:JohnMan777
ID: 40195705
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

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you’re involved with your company’s wide area network (WAN), you’ve probably heard about SD-WANs. They’re the “boy wonder” of networking, ostensibly allowing companies to replace expensive MPLS lines with low-cost Internet access. But, are they …
Tech spooks aren't just for those who are tech savvy, it also happens to those of us running a business. Check out the top tech spooks for business owners.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

577 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question