Solved

Mixed network dynamic ip question

Posted on 2006-10-30
5
204 Views
Last Modified: 2010-03-19
I have a linux client obtaining an address by DHCP, and a Windows box which may or may not have a static address.  These two boxes are separated across the Internet.   I need a way for the linux client to securely connect to the Windows box (ssh?) and update a settings file with the new IP address.  The Windows box will use this address to connect to the linux box.

|------------|                                                                |-----------------|
| Linux box |------------------ (Internet) -------------------- | Windows box|
|------------|                                                                |-----------------|
Proprietary server                                                         Proprietary client

An odd problem, I know.  Why not just use dynamic DNS to update a DNS server on the Windows network, and use DNS?  The answer is that the Windows box runs a proprietary client program, with a static ip set in the client program's config file.  This static ip is supposed to be the linux box.  The program then connects to the static linux ip and downloads data.  This program does not give me the option to resolve DNS addresses.  Therefore, I'd like to update the config file either from the linux box, or a program running on the Windows box that updates the config file.

Is this possible?  If so, are there solutions out there that could do most of the work for me?
0
Comment
Question by:aruvula
  • 3
  • 2
5 Comments
 
LVL 13

Expert Comment

by:haim96
ID: 17837754
the ip on linux box is static?
if not,way can't you make it static ? (mybe with reservation  on dhcp server)
then you will get one IP to config in the config file.
0
 

Author Comment

by:aruvula
ID: 17837890
The IP on the Linux box is dynamic.  I guess "just because" won't work for an answer.  :)

Part of the security requirements are that I use a dynamic IP address on the Linux side.
0
 
LVL 13

Expert Comment

by:haim96
ID: 17841429
you can use DNS and script that will ping to the dns and resolve the ip
and then set it into your config file.
you can do this with simple VBS that will run with schedule task.
0
 

Author Comment

by:aruvula
ID: 17842149
Read the question, please.
0
 
LVL 13

Accepted Solution

by:
haim96 earned 500 total points
ID: 17842745
OK, mybe didn't explain myself ...
do you know :www.no-ip.com ?
let say you register to this site, download the no-ip client for linux and install it on the linux box.
now you get DNS record that can be update every time the IP changed by the no-ip app.

for the windows side, you have small VBS that schedule to send ping with the DNS name
and resolve the IP.
the same VBS take the IP and put it in the config file.


now,if i'm not missing any thing,it mey work...


0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
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, f…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

912 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

17 Experts available now in Live!

Get 1:1 Help Now