Solved

Mixed network dynamic ip question

Posted on 2006-10-30
5
207 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
[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
  • 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

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

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to PXE Boot both BIOS & UEFI machines with DHCP Policies and Custom Vendor Classes
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…
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…

756 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