Magnus Fromreide, Good point. As per http://www.ops.ietf.org/lists/v6ops/v6ops.2002/msg00269.html, it looks like then, in this case, the best thing to do is fill the agent-addr field with 0.0.0.0, no?
Thanks for the help, paul -----Original Message----- From: Magnus Fromreide [mailto:ma...@lysator.liu.se] Sent: Friday, December 11, 2009 12:44 AM To: Hayes, Paul - CS Cc: net-snmp-coders@lists.sourceforge.net Subject: Re: Snmptrap - how to specify the agent-addr for an IPv6 address On Thu, 2009-12-10 at 18:10 -0500, Hayes, Paul - CS wrote: > Dear Sirs, > Wondering what the correct form is for specifying an IPv6 source > (agent-address) within an snmptrap command line? > > The trap will be issued to the target host IP address > (2005:0000:0000:0000:0148:0036:0051:0001) when I let the agent specify > the agent-address with "" - for example see further below. > In this case the trap is well received at the destination; but > unfortunately I need to specify an IPv6 address rather than the IPv4 > address it defaults to use. A v1-trap contains an agent address. That field is defined as a IPv4 address so you can't give it a IPv6 address. No, we can't change this since the protocol is broken here. I suppose this is one of the reasons that SNMPv2 came along. /MF This e-mail and any files transmitted with it may be proprietary and are intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the sender. Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of ITT Corporation. The recipient should check this e-mail and any attachments for the presence of viruses. ITT accepts no liability for any damage caused by any virus transmitted by this e-mail. ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders