Solved

Change server ip address

Posted on 2006-07-20
6
232 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 1

Author Comment

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

Author Comment

by:tomcattyy
Comment Utility
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
Comment Utility
No problem, thanks for the points.

Steve
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
Resolve DNS query failed errors for Exchange
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, fr…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

762 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

9 Experts available now in Live!

Get 1:1 Help Now