Date: 11 Jun 2003 17:22:33 +1000 From: Murray Taylor <murraytaylor@bytecraftsystems.com> To: Jay Buhrt <jay_buhrt@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: More on DDNS Message-ID: <1055316153.12236.33.camel@mjtdev1.dand06.au.bytecraft.au.com> In-Reply-To: <20030611065258.22572.qmail@web20512.mail.yahoo.com> References: <20030611065258.22572.qmail@web20512.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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. ************************************************************************
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1055316153.12236.33.camel>