Solved

Mixed network dynamic ip question

Posted on 2006-10-30
5
203 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

IT, Stop Being Called Into Every Meeting

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!

Join & Write a Comment

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Let’s list some of the technologies that enable smooth teleworking. 
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

706 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

20 Experts available now in Live!

Get 1:1 Help Now