Solved

Mixed network dynamic ip question

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

856 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