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.

Free Dummies Books
Continuous Engineering

Learn:

  • What continuous engineering is
  • How to continuously improve complex product designs
  • How to anticipate and respond to markets and clients
  • How to get the most out of your engineering resources

Get your free book now

Sponsored by IBM

Free Dummies Books
Service Virtualization

Learn to:

  • Define service virtualization
  • Select the most beneficial services to virtualize
  • Improve your traditional approach to testing
  • Deliver higher-quality software faster

Get your free book now

Sponsored by IBM