[AGENT++] something wrong with multiple ipaddress
Jochen Katz
katz at agentpp.com
Fri Apr 1 23:28:13 CEST 2005
Hi,
> The agent server has two ipaddress, 10.70.141.114 and 10.70.141.156
>
> the response come from 10.70.141.156 When I send a request to 10.70.141.114
> the response come from 10.70.141.156 When I send a request to 10.70.141.156
if your agent listens on all interfaces (listen address is "0.0.0.0")
the operation system sets the source address when sending a response.
To make sure that a response is sent with the "right" source address it
is necessary to open a socket for each desired IP. This would require a
RequestList that can handle multiple Snmpx objects.
Regards,
Jochen
More information about the AGENTPP
mailing list