Some digging around got me here: o I am using udp as transport and use agentx for master-slave subagent on Unix domain socket /root/.snmp/agentx master (no dig for them) o snmpUDPDomain.c in snmplib contains function netsnmp_udp_transport - which creates the transport socket for response! o Based on if local is true (server) or not (client), bind happens to given IP address or to the client address (to send from).
Now the quo - about the second bullet point! Will the case of a response to a snmpwalk (which is from a snmp manager - elsewhere) be treated as client case (local == false) and the case of agentx communication be treated as local == true? If yes, will the specification of address against agentaddress in snmpd.conf serve any purpose? I tried it - and landed up with master-slave agentx communication broken - as I think, it causes the master agent to stop listening on the Unix socket! So, should I specify a comma separated list of the Unix socket and the IP address I want the responses to be bound to? Thanks a ton for all help! -Arijit ----- Original Message ---- From: arijit <[EMAIL PROTECTED]> To: net-snmp net-snmp <[email protected]> Sent: Wednesday, November 26, 2008 4:47:48 PM Subject: Any way to specify the IP Address that all responses should go out with Hi, Is there any way to specify an interface (or IP address) that all responses from the agent should go out with? Regards, -Arijit ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ 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 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ 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
