From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1Dq3NM-0007DZ-Nr for garchives@archives.gentoo.org; Wed, 06 Jul 2005 06:27:17 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j666PMiQ028885; Wed, 6 Jul 2005 06:25:22 GMT Received: from rtp-iport-2.cisco.com (rtp-iport-2.cisco.com [64.102.122.149]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j666LitA031055 for ; Wed, 6 Jul 2005 06:21:45 GMT Received: from rtp-core-2.cisco.com (64.102.124.13) by rtp-iport-2.cisco.com with ESMTP; 06 Jul 2005 02:22:33 -0400 X-IronPort-AV: i="3.93,263,1115006400"; d="scan'208"; a="61146731:sNHT25072040" Received: from xbh-rtp-201.amer.cisco.com (xbh-rtp-201.cisco.com [64.102.31.12]) by rtp-core-2.cisco.com (8.12.10/8.12.6) with ESMTP id j666MWZs015382 for ; Wed, 6 Jul 2005 02:22:32 -0400 (EDT) Received: from xfe-rtp-202.amer.cisco.com ([64.102.31.21]) by xbh-rtp-201.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.211); Wed, 6 Jul 2005 02:22:32 -0400 Received: from [10.89.24.107] ([10.89.24.107]) by xfe-rtp-202.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.211); Wed, 6 Jul 2005 02:22:32 -0400 Message-ID: <42CB78A7.4050209@cisco.com> Date: Wed, 06 Jul 2005 01:22:31 -0500 From: Roy Wright User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050327) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Internal dynamic IPs Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 06 Jul 2005 06:22:32.0129 (UTC) FILETIME=[1780F310:01C581F3] X-Archives-Salt: 67b7b371-15e9-4830-a6a7-01452a98c2bb X-Archives-Hash: 0204a141256e05a20ff22b8f886c6dc3 Howdy, I have two machines that are regularly moved between two sub-nets. One a gentoo desktop, the other (boo hiss) that sorry excuse for an operating system laptop. Now the two subnets are my hardware VPN at home, and the office. Both machines need DHCP. I also have a third box (gentoo) at home on a static ip. Now I mostly access the laptop via VNC over ssh and via scp, rsync, and unison for file transfers. We do not have dynamic DNS available internally. What I currently do is just use nmblookup on the WINS name for each box and update the /etc/hosts file (actually I use a down and dirty perl script to do the update). This works as long as I remember to do it prior to trying to ssh to the laptop. If I forget, then sometimes the gentoo systems seems to get the old IP stuck in cache somewhere where I haven't figured out how to clear it, except by (gag) rebooting. I know, my ignorance. So I'm wondering if there is a better solution and also how to clear the name server cache. Thank you, Roy -- gentoo-user@gentoo.org mailing list