From owner-freebsd-hackers Sat Jan 18 14:35:01 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id OAA02643 for hackers-outgoing; Sat, 18 Jan 1997 14:35:01 -0800 (PST) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id OAA02633 for ; Sat, 18 Jan 1997 14:34:52 -0800 (PST) Received: from awfulhak.demon.co.uk (localhost.coverform.lan [127.0.0.1]) by awfulhak.demon.co.uk (8.8.4/8.7.3) with ESMTP id WAA06586; Sat, 18 Jan 1997 22:32:40 GMT Message-Id: <199701182232.WAA06586@awfulhak.demon.co.uk> X-Mailer: exmh version 1.6.9 8/22/96 To: Akihiro Tominaga cc: hackers@freebsd.org Subject: Re: (wide) DHCP negotiation using the REQUEST_IPADDR option In-reply-to: Your message of "Fri, 17 Jan 1997 23:10:05 PST." <199701182013.MAA27661@gunpowder.Stanford.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 18 Jan 1997 22:32:40 +0000 From: Brian Somers Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk [.....] > No. Please consider about the following case. > > A client is assigned 10.0.0.1 from server 'A'. > The server 'A' goes down with some trouble. > The client can't extend lease for 10.0.0.1 then gives up to use it. > The client is assigned 10.0.0.2 from server 'B'. > The lease for 10.0.0.1 expires. > The server 'A' comes up again. It has expired lease of 10.0.0.1 > The client can't extend the lease for 10.0.0.2, because of some trouble. > > Now, the client goes to init-reboot state, and send DHCPREQUEST with > requested-IP address "10.0.0.2". > > Although server 'B' sends back ACK, but server 'A' sends back NAK > previously, the client cannot use "10.0.0.2". > > Do you understand? [.....] Yep - I conceed. It must then be the case that when the lease expires, the client will ask for the same IP again, but if it doesn't receive an ACK, must *not* use that IP anyway (but should then send a request without a suggested IP). Assuming the above is correct, once an IP is given for a certain amount of time, it *can't* be changed before that time expires without intervention on both sides. I was (incorrectly) expecting to be able to "change my mind" from the server end. I'll roll the FreeBSD patch back out - sorry if I've caused any grief. Thanks. -- Brian , Don't _EVER_ lose your sense of humour....