Re: SNMPGet for localhost destination

"Peter Martin" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <039d01c61a9e$72b901c0$1200080a@laser>
Suresh,

>   If one sends SNMPGet for a local machine i.e IP 127.0.0.1, is the
> net-snmp code SNMPGet code optimized for not sending the request onto the
> network and route the request from within the machine itself. The basic 
> idea
> behind asking this question is that Does a  SNMPGet sent to a localhost 
> have
> better performance than a SNMPGet sent to a remoteHost.
It is not NetSNMP that does the 'optimisation'. On most *xes the address 
127.0.0.1 is bound to a loop back device which does not send anything on any 
ethernet or other physical devices. So yes, sending snmp GET requests to 
localhost aka 127.0.0.1 does result in 'better performance'.

Pete Martin 



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.