Solved

Change server ip address

Posted on 2006-07-20
6
259 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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

A brief overview to explain gateways, default gateways and static routes OR NO - you CANNOT have two default gateways on the same server, PC or other Windows-based network device. In simple terms a gateway is formed when a computer such as a serv…
A common practice in small networks is making file sharing easy which works extremely well when intra-network security is not an issue. In essence, everyone, that is "Everyone", is given access to all of the shared files - often the entire C: drive …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

777 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