Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SNMP: Get IP Address 1

Status
Not open for further replies.

johnny042

Programmer
Aug 10, 2009
3
US
Hello everyone,

I am building a sort of SNMP web application to manage CPE using PHP. Let's say a customer has a few hundred CPE modems he would like to manage via SNMP, but his modems grab DHCP addresses every few days. To my understanding, SNMP requires that you know the static IP address or static hostname. Aside from having DDNS hostnames on all his modems, what else could possibly be used as a work-around? Is there a type of network discovery unicast for SNMP?

Thank you
 
As of my knowledge there is no option to network discovery. it is all user has to request the snmp Agent.
another work around you can have is if that modem supports traps .. then you can configure to send trap every time ip changes.
 
Thanks KPrakash, I'll be testing using an extension called ActiveSocket
 
This is not a proper answer to the original but there are products that perform discovery. There is a product called Loriot Pro 5 that has a freeware version. It will discover and produce a map of network object and determine if they are managed, even going beyond routers. I suspect it is a two step process of finding devices and then testing them with some core requests such as sysUptime.

Just a thought.

jh
 
Thanks jh.

I agree with you on the way the 'discovery' process works, it seems to send out pings to find devices and then send SNMP requests to see if it receives an answer back.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top