Solved

Change server ip address

Posted on 2006-07-20
6
245 Views
Last Modified: 2012-05-05
Hello experts,

In our net work we have a full class c ips and some custom applications been written in a way as pointed to the ip address already. Recently we are going to move those application servers inside of firewall as well as most of the end users. Now the problem is how to make those custom build application pointed at real ip address to function. It will be a very time consume job to go through all the codes and change them.
Is it possible to make the individule application machine when pointing to 45.5.22.X then means go to 192.168.10.x ? Thanks for help.


Mark
0
Comment
Question by:tomcattyy
6 Comments
 
LVL 4

Expert Comment

by:jcdesign4u
ID: 17153513
Mostly those applications have configuration files (like a *.ini) where you can configure those ip adresses.
I don't think you can do it on another way. If the applicitions where pointing at the computername then it would be an easier job.
0
 
LVL 11

Expert Comment

by:Eric
ID: 17155412
YOu may be able to make a static route?  use  from cmd
route print
route /?
i never done this but maybe make a route from 45.5.22.x go to 192.168.10.x,
not sure if it will work, but only do a dingle IP not subnet or it will interfear with other traffic
0
 
LVL 43

Accepted Solution

by:
Steve Knight earned 250 total points
ID: 17157549
Hmm, so you have

45.5.22.x
    |
Router / Firewall
    |
192.168.10.x

Are the users of your application on the inside or outside?  In any case what you can do setup NAT forwarding rules in the firewall so that access to 45.5.22.x on port xxxx goes to 192.168.10.x on port xxxx for instance.

Anyone on the 192.168.10.x address would still try and connect to 45.5.22.x so would need to be able to communicate with it.  This can be done in some firewalls, effectively you are looping back into your own network, sometimes called triangulation etc. e.g. from 192.168.10.100 (client pc) to 45.5.22.x gets to firewall, firewall has NAT rule that says 45.5.22.x goes to 192.168.10.5 and traffic goes back out onto the LAN interface.

One other method which ecszone suggests to a certain extent would be to have a second IP address (possibly may have to be a second NIC in this instance) on the application box with the external IP on it.  So it has 192.168.10.5 and 45.5.22.5 for instance.  You could then add a static route to each machine, or to your normal default gateway router as route -p 45.5.22.5 mask 255.255.255.255 192.168.10.5.  Any packets for the specific host 45.5.22.5 would then go to 192.168.10.5 and be routed to it's other interface and hopefully to the application listening port.  As it is behind NAT firewall the server when talking to the outside world would be able to talk to all external addresses still.

It is a pity you can't amend the apps in some way, the app writers were certainly not very thoughtful, a hostname or DNS name would make much more sense!

Steve
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 1

Author Comment

by:tomcattyy
ID: 17158844
Thanks for the fast response, I will try to impliment in this week and update the status.
0
 
LVL 1

Author Comment

by:tomcattyy
ID: 17176574
Hello experts, on the firewall we create a loopback NAT rule and resolve this problem, thanks for the answers
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 17176621
No problem, thanks for the points.

Steve
0

Featured Post

Save on storage to protect fatherhood memories

You're the dad who has everything. This Father's Day, make sure your family memories are protected. My Passport Ultra has automatic backup and password protection to keep your cherished photos and videos safe. With up to 3TB, you have plenty of room to hold the adventures ahead.

Question has a verified solution.

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

Suggested Solutions

The Need In an Active Directory enviroment, the PDC emulator provide time synchronization for the domain. This is important since Active Directory uses Kerberos for authentication.  By default, if the time difference between systems is off by more …
This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
A short film showing how OnPage and Connectwise integration works.
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

948 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now