default interface to send traps

Pushpa Thimmaiah <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <CAASqVJUmA0Yn15wgB6rTp5RoNN3QYdUXxjy9paXunyX5E+9zmA@mail.gmail.com>
Hi All,

Kindly let me know how  snmpd/snmptrap select interface to send
traps/informs ? or which interface will be used by snmpd/snmptrap to send
traps/informs?

*Scenario:*


*Settings: *

*TRAP Receiver:*
TrapReceiver :  192.168.108.22

* AGENT*
Linux device has two interfaces
 eth1 (ip 192.168.107.23, gw 192.168.107.1)
 eth2 (ip 192.168.108.48, gw 192.168.108.1)

Note: 192.168.107.x and 192.168.108.x can be reachable to each other.
i.e  trapReceiver can be reached via eth1 and eth2

Query 1.  Which interface does 'snmptrap'/snmpd use to send traps out?
Query 2. Suppose, eth1 firewall blocks 'snmp' packets then
             Does 'snmpd/snmptrap'  use eth2 port to traps out

Thank you,
Pushpa


Thank You,
Pushpa.T

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
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.