From owner-freebsd-questions@FreeBSD.ORG Wed Jun 11 00:22:37 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0CEDD37B409 for ; Wed, 11 Jun 2003 00:22:37 -0700 (PDT) Received: from svmarshal.bytecraft.au.com (svmarshal.bytecraft.au.com [203.39.118.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id A258443FB1 for ; Wed, 11 Jun 2003 00:22:35 -0700 (PDT) (envelope-from murraytaylor@bytecraftsystems.com) Received: from wombat.dand02.au.bytecraft.au.com (Not Verified[10.0.0.3]) by svmarshal.bytecraft.au.com with MailMarshal (v5,0,3,78) id ; Wed, 11 Jun 2003 17:24:44 +1000 Received: from ?GD?U??W8?? ???j (mjtdev1.dand06.au.bytecraft.au.com [10.0.17.42]) by wombat.dand02.au.bytecraft.au.com (Postfix) with ESMTP id 2644B3F0E; Wed, 11 Jun 2003 17:22:34 +1000 (EST) From: Murray Taylor To: Jay Buhrt In-Reply-To: <20030611065258.22572.qmail@web20512.mail.yahoo.com> References: <20030611065258.22572.qmail@web20512.mail.yahoo.com> Content-Type: text/plain Organization: Bytecraft Systems Message-Id: <1055316153.12236.33.camel@mjtdev1.dand06.au.bytecraft.au.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.3.3 (Preview Release) Date: 11 Jun 2003 17:22:33 +1000 Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: More on DDNS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2003 07:22:37 -0000 An understanding of DHCP is in order.. With the dial up, the ip number would most likely be (a) dynamic - in that you would get a different one each time (b) static - in that it would not change for the duration of the session. On Cable though, the expectation of the ISP is that you may well stay connected for longer (infinite) durations. So they use DHCP to manage their address space and the ip number that they are loaning you (on the external NIC) Any DHCP allocated address has a lease-time associated with it. Usually, when your machine detects that the lease is gonna expire it 'applies' for a renewal. _NOTE_ the isp doesnt tell your machine to expire the lease, _your_ machine determines that the lease has expired. If the ISP's DHCP server allows, you will often get your same ip number back. However this _is not_ assured. So ... IF the lease expires AND you get allocated a new ip number THEN you need to do clever things with your DDNS server. (and maybe firewall etc etc.) The normal dhclient processing will take care of such things as default routes, /etc/resolv.conf and the like) The process is fairly transparent in most cases. It is just us lot who want external visibility via DNS, (or have grunty firewalls) that need to do anything special on a DHCP renewal that actually changes the ip number. HTH On Wed, 2003-06-11 at 16:52, Jay Buhrt wrote: > Well see. This is weird. I was on dial-up and my ip > would change everytime I logged on, but I configured > DHCP to BSD and got a 168.x I think or some private > address. The BSD box never changed ip's even on > dial-up and they are networked xp - bsd. So now if > comcast sends out a dhcp or whatever to change ip's > will my bsd box change? or like 5 mins before the > expiration on dhcp unplug bsd box from the switch so > comcasts assigned ip's don't touvh bsd box and then > plug it back in, lol ??? > > __________________________________ > Do you Yahoo!? > Yahoo! Calendar - Free online calendar with sync to Outlook(TM). > http://calendar.yahoo.com > > ************************************************************************ > This Email has been scanned for Viruses by MailMarshal. > ************************************************************************ -- Murray Taylor Special Projects Engineer --------------------------------- Bytecraft Systems & Entertainment P: +61 3 8710 2555 F: +61 3 8710 2599 D: +61 3 9238 4275 M: +61 417 319 256 E: murraytaylor@bytecraftsystems.com or visit us on the web http://www.bytecraftsystems.com http://www.bytecraftentertainment.com ************************************************************************ This Email has been scanned for Viruses by MailMarshal. ************************************************************************