[AGENT++] How to set local ip address?
???163
touchzhao at 163.com
Sun Nov 27 09:11:18 CET 2005
Hi,
I use Snmp::trap method to send snmptrap to a server, and the origin host
have two interfaces, lan0 and lan1.
See below:
Name Mtu Network Address Ipkts
Opkts
lan0:1 1500 10.70.11.64 10.70.11.83 30706106
0
lan1 1500 192.1.1.0 192.1.1.2 148283
276348
lan0 1500 10.70.11.64 10.70.11.84 6678945
39946345
lo0 4136 127.0.0.0 127.0.0.1 1800947
1800947
"10.70.11.83" is a float ip addr for clustering, and this ip addr is well
known to the server that acceptes trap.
But the server will receive the trap from "10.70.11.84". How can I specify
the source ip address of snmptrap?
Regards,
moore
More information about the AGENTPP
mailing list