Okay, so here are the steps that should have been taken to find the answer
to the question asked.
"I want to release the IP-adress?"
"I have had it running on a router for a couple of years. Never needed any
interaction."
"the correct answer is "you can't"."
"man -k dhcp" <- Me
$ man -k dhcp
dhclient (8) - Dynamic Host Configuration Protocol (DHCP) Client
dhclient-script (8) - DHCP client network configuration script
dhclient.conf (5) - DHCP client configuration file
dhclient.leases (5) - DHCP client lease database
dhcp (8) - configuring OpenBSD for DHCP
dhcp-options (5) - Dynamic Host Configuration Protocol options
dhcpd (8) - Dynamic Host Configuration Protocol Server
dhcpd.conf (5) - dhcpd configuration file
dhcpd.leases (5) - DHCP client lease database
$ man dhcpd
DHCPD(8) OpenBSD System Manager's Manual
DHCPD(8)
NAME
dhcpd - Dynamic Host Configuration Protocol Server
-L leased_ip_table
When an address is leased dhcpd will insert it into the pf(4)
table named leased_ip_table. Addresses are removed from the
table when the lease expires. Combined with the table of aban-
doned addresses, this can help enforce a requirement to use
DHCP
on a network, or can place DHCP users in a different class of
service. Users are cautioned against placing much trust in
Eth-
ernet or IP addresses; *ifconfig(8) can be used to trivially
change the interface's address*, and on a busy DHCP network, IP
addresses will likely be quickly recycled.
$ man ifconfig
Next time don't be so quick to tell other to read man pages then suggest
something cant be done. (You might learn something if you read them in there
entirety)
Cheers,
Jim