I would suggest SNMP polling the default gateway for that subnet. You
need to look in the ARP cache. If this mythical server is alive and
talking to the default gateway (that's two if's though) then you ought
to be able to find out.

It's only a thought though.

|\/|artin

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Michael Renner
> Sent: 14 July 2007 21:21
> To: net-snmp-users@lists.sourceforge.net
> Subject: how to scan for a device?
> 
> 
> Moin,
> 
> I have to implement a solution for an autodetect.
> For example: there is a known device with snmp support in my 
> subnet. I can 
> walk through the mib tree by snmpwalk -v1 -c public <IP> 
> 1.3.6.1.4.1.5040
> 
> But how to find out the IP adress if it is unknown? No chance 
> to scan every IP 
> adress if the subnet, because it may be a large class A,B or C net.
> 
> Any hint?
> Thanks
> -- 
> |Michael Renner      E-mail: [EMAIL PROTECTED]  |
> |D-81541 Munich      Germany        ICQ: #112280325 |
> |Germany             Don't drink as root!      ESC:wq
> 
> --------------------------------------------------------------
> -----------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and 
> take control of your XML. No limits. Just data. Click to get 
> it now. http://sourceforge.net/powerbar/db2/
> _______________________________________________
> 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
> 


*************************************************************************************
The message is intended for the named addressee only and may not be disclosed 
to or used by anyone else, nor may it be copied in any way. 

The contents of this message and its attachments are confidential and may also 
be subject to legal privilege.  If you are not the named addressee and/or have 
received this message in error, please advise us by e-mailing [EMAIL PROTECTED] 
and delete the message and any attachments without retaining any copies. 

Internet communications are not secure and COLT does not accept responsibility 
for this message, its contents nor responsibility for any viruses. 

No contracts can be created or varied on behalf of COLT Telecommunications, its 
subsidiaries or affiliates ("COLT") and any other party by email Communications 
unless expressly agreed in writing with such other party.  

Please note that incoming emails will be automatically scanned to eliminate 
potential viruses and unsolicited promotional emails. For more information 
refer to www.colt.net or contact us on +44(0)20 7390 3900.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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