Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Mixed network dynamic ip question

Posted on 2006-10-30
5
Medium Priority
?
210 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 1500 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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

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.
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
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…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Suggested Courses

730 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