[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 209
  • Last Modified:

Need help accessing one old IP after IP change to different subnet

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 to do this with a SonicWall NAT policy, unfortunately it didn't help. While I could ping 192.168.2.18 and get replies from 10.1.1.8 (The new IP address of the same server), I couldn't access SQL services with the same port. Nor could I access anything that needed a designated port.

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
JohnMan777
Asked:
JohnMan777
  • 2
1 Solution
 
John HurstBusiness Consultant (Owner)Commented:
I have never seen such a thing work (but that does not mean no one has). Is it feasible to hex edit the program, look for the IP address (likely in a text string in the program) and change it there?
0
 
JohnMan777Author Commented:
I've tried looking for the string but had no luck.
0
 
John HurstBusiness Consultant (Owner)Commented:
You probably need an alternative way to handle what this program did.
0
 
carlmdCommented:
What language is the program written in? Do you want to post it here?

If not, a quick and dirty solution would be to use a LAN based router to go from the 192... to the 10...
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now