DHCP client

I need to interact with the DHCP client from user space. It appears I can use dhcpctl, however the man pages say that dhcpctl is for the server deamon while the ISC documentation suggests it can control the client as well. What I need to do is get a callback when a lease has been acquired and be able to release or renew the lease from user space. Any examples or suggestions would be greatly appreciated.

Geek Guide
The DevOps Toolbox

Tools and Technologies for Scale and Reliability
by Linux Journal Editor Bill Childers

Get your free copy today

Sponsored by IBM

Webcast
8 Signs You're Beyond Cron

Scheduling Crontabs With an Enterprise Scheduler
On Demand
Moderated by Linux Journal Contributor Mike Diehl

Sign up and watch now

Sponsored by Skybot