how to specify source IP address / interface when sending traps (with Solaris IP multipathing )

"Russell Bell" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
We're using Net-snmp 5.1.2 on Solaris 9 (Generic_112233-11), sending SNMP V1
traps to a 3rd party trap recipient.

The problem that we are facing is that we are running in a Solaris IP
multipathing network configuration, eri0 and qfe0 being the physical
interfaces, and qfe0:1 being the floating IP address.   The traps being sent
by snmpd are arriving at the trap recipient host with the source IP address
of the eri0 interface (192.168.101.19).

The 3rd party software requires that incoming traps have a source IP address
that matches the floating IP address (interface qfe0:1) of the trap sender.

How can we configure NetSNMP to use the floating IP address as the source
address when sending traps ?

Please note, this behaviour is the same when sending traps to localhost or
to another host on the network.

We have tried setting "clientaddr" and starting the snmpd process as
"/usr/local/sbin/snmpd udp:203.52.xx.yyy", without success.


Regards,
Russell & Kelvin.



snmptrapd output:

2005-08-09 17:27:16 2005-08-09 17:27:16 csphvbm02-eri0 [192.168.101.19] (via
127.0.0.1) TRAP, SNMP v1, community holly
        NET-SNMP-MIB::netSnmpAgentOIDs.3 Cold Start Trap (0) Uptime:
0:00:00.10

ifconfig -a output:

lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
eri0:
flags=69040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER,STA
NDBY,INACTIVE> mtu 1500 index 2
        inet 192.168.101.19 netmask ffffffc0 broadcast 192.168.101.63
        groupname ipmp0
qfe0:
flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu
1500 index 3
        inet 192.168.101.18 netmask ffffffc0 broadcast 192.168.101.63
        groupname ipmp0
qfe0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        inet 203.52.xx.yyy netmask ffffffe0 broadcast 203.52.xx.zzz
qfe3: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 4
        inet 0.0.0.0 netmask ff000000 broadcast 0.255.255.255



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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.