On Tue, Jan 06, 2009 at 06:37:14PM +0100, Anders ?quist wrote: | Hello. | | I have been looking for information on how to release the current lease of | IP-adress. | | What should I di, where should I start, if I want to release the IP-adress?
The first answer you got was actually the most correct, but it takes some knowledge of "how the internet works" (the part about how protocols are (were) written and made standards). Since most protocols are specified in so called "RFC's", googling for [dhcp rfc] would have given you the several references to RFC 2131[1], the document detailing the DHCP protocol. Searching this RFC for 'release' would have shown you that there is a mechanism called 'DHCPRELEASE'. So, the answer to your question "how to release the current lease of IP-adress" (sic) is "By sending a DHCPRELEASE message to the DHCP server that gave you the lease in the first place." A quick grep in /usr/src/usr.sbin/dhcpd/ and /usr/src/sbin/dhclient/ shows that the stock OpenBSD dhcpd(8) supports DHCPRELEASE (so the server side is covered) but that dhclient(8) does not support this. So, Ted was also right - OpenBSD doesn't support releasing a lease. My sincere apologies for answering your question with such an arrogant reply. Paul 'WEiRD' de Weerd [1]: http://www.faqs.org/rfcs/rfc2131.html -- >++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+ +++++++++++>-]<.>++[<------------>-]<+.--------------.[-] http://www.weirdnet.nl/

