On Sat, 19 Jun 2004 15:08:05 -0600 Barb wrote: BR> What is the maximum packet size that the snmpd will send? BR> BR> I found the macro defines BR> #define SNMP_MAX_MSG_SIZE 1472 BR> #define SNMP_MAX_PDU_SIZE 64000 BR> BR> I'm assuming the SNMP_MAX_PDU_SIZE must be the upper threshold BR> since my getBulk requests will return a snmp payload size larger than 1472.
Interesting, because I can't find MAX_PDU_SIZE being used anywhere in the code. MAX_MSG_SIZE, however, is used all over the place. 1472 was chosen because that is the largest size that will fit into a single ethernet packet (1500 bytes, - ip header). You can define MAX_MSG_SIZE to be larger, but then it is likely that your packets will be fragmented. Since UDP is an 'unreliable' (packets aren't confirmed, as in TCP), and SNMP was intended to help manage a failing network, fragmentation is generally considered a bad thing. -- Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders> You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders