Hi Fredrik,
thanks a lot for your answer.

At this point it's better to explain what is my need..

I'm developing a device which is both a DHCP server and a DNS server.
DNS hostnames are registered in the db basing on hostnames stated via DHCP 
request message.
My worry is: if the device reboots, how to ask the devices to renew the 
registration in order to appear among the DNS registered hosts?
I have to guarantee that remote hosts are always reachable... shall I go 
for a custom solution?

Fabio



From:   Fredrik Björk <f...@skulle.se>
To:     net-snmp-users@lists.sourceforge.net
Date:   22/04/2014 21:24
Subject:        Re: How to ask network hosts to renew their DHCP leases



Hi!

No, SNMP is not the way to go. I can't think of any device that can be 
ordered to renew the IP address via an SNMP command. The two are simply 
not that tightly related.

Clients generally renew the DHCP lease after half the lease time assigned 
by the DHCP server. If that renewal fails, the client tries to renew in 
half the remaining lease time and this process is repeated over and over 
again until the lease time expires. The client then attempts a DHCP 
DISCOVER. There are different approaches to this, but this is the most 
common one. I don't know of any way to force the DHCP client to renew the 
lease apart from CLI commands like Windows "ipconfig /renew" and various 
Linux methods. If you need the clients to get a new address from the DHCP 
server, you simply have to wait until the lease time expires.

/Fredrik

fabio.ma...@bticino.it skrev 2014-04-22 17:12:
Hi there, 
I'm new to SNMP implementations, so please help me asking questions "the 
right way" if needed. 
After a DHCP server boots up, how can it send such a command (DHCP leases 
renew) to network nodes? 
Is SNMP the right way to do this? 

Thanks in advance, 
Fabio
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users



Ce message, ainsi que tous les fichiers joints à ce message,
peuvent contenir des informations sensibles et/ ou confidentielles
ne devant pas être divulguées. Si vous n'êtes pas le destinataire
de ce message (ou que vous recevez ce message par erreur), nous
vous remercions de le notifier immédiatement à son expéditeur, et
de détruire ce message. Toute copie, divulgation, modification,
utilisation ou diffusion, non autorisée, directe ou indirecte, de
tout ou partie de ce message, est strictement interdite.

This e-mail, and any document attached hereby, may contain
confidential and/or privileged information. If you are not the
intended recipient (or have received this e-mail in error) please
notify the sender immediately and destroy this e-mail. Any
unauthorized, direct or indirect, copying, disclosure, distribution
or other use of the material or parts thereof is strictly
forbidden.
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to