Solved

Change server ip address

Posted on 2006-07-20
6
278 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

 
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Sometimes you might need to configure routing based not only on destination IP address, but also on a combination of destination IP address (or hostname) and destination port number. I will describe a method how to accomplish this with free tools. …
Greetings, Experts! First let me state that this website is top notch. I thoroughly enjoy the community that is shared here; those seeking help and those willing to sacrifice their time to help. It is fantastic. I am writing this article at th…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

734 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