Zhouhuai Shen wrote:
> Hi Jan,
> 
> Thanks a lot for your help.
> 
> I have put the '[snmp] clientaddr' option to set source address of UDP 
> packet with the trap as in the following in my snmpd.conf file:
> 
> [snmp]
> clientaddr 192.168.1.1
> [snmpd]
> .....(The rest of commands in my snmpd.conf file)
> 
> But when I capture the trap packet, it still shows the IP address of the 
> outgoing interface. Did i do something wrong in my config file?

clientaddr option affects only UDP source address of the traps. It 
should be 192.168.1.1, right? The agent address inside the UDP payload 
will still be wrong. You need to apply the patch I mentioned before to 
have possibility to set also this address.

Jan

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

Reply via email to