How to send DHCPrelease?
Lennart Hellström (ERA)
Lennart.Hellstrom at era.ericsson.se
Wed Aug 25 12:05:05 UTC 1999
>I think that what you're
>trying to do will require some changes, but they shouldn't be too bad
>- if they are, you may be missing something. Perhaps you should
>write up a brief project plan and send it to me, and I'll see if
>there's something in there that's duplicating effort or could be done
>easier. I don't know if this would help, but if you think it would,
>I'd be happy to look at it.
>
> _MelloN_
I'd really appriciate any help I can get, so feel free to give me some feedback on what
I'm planning to implement:
1. Controller. By including a new file descriptor in the set that is examined in dispatch() I
should be able to, from another process, write commands on the fifo belonging to that fd.
The controller will be called when such a command is received and should do the
appropriate actions:
2. Address renewal. Try to renew the current leases by calling state_init().
3. Subnet selection option. I haven't started thinking about this implementation yet so please
share your ideas :-)
4. Release specified address. The client have to be able to release one of it's old addresses.
If I can get hold of the client_lease corresponding to the given IP-address, would it
require some modifications to the make_release() and send_release() functions, or could
I use something like the client_reinit (state) you sent me last week?
I do hope you have time to look this through, Ted.
TIA
/ Lelle
More information about the dhcp-hackers
mailing list