What's the size in bytes of a typical PING packet and of a typical SNMP Trap
packet?
--
Spin
Don't know offhand for SNMP, but the ping command tells you how big it
is:
$ ping 4.2.2.1
PING 4.2.2.1 (4.2.2.1): 56 data bytes
64 bytes from 4.2.2.1: icmp_seq=0 ttl=53 time=15.436 ms
64 bytes from 4.2.2.1: icmp_seq=1 ttl=53 time=17.288 ms
--
Barry Margolin, bar...@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
There's no ping packet. ICMP echo request and replies are used to implement
ping. The default size is implementation dependent, however any serious
implementation gives you an option to specify the size of the packet.
SNMP trap has variable size, depending on the actual trap contained.
Don't forget that ping is reporting the data size there is a 14 byte
Ethernet header, a 20 byte IP header and an 8 byte ICMP header, also a 4
byte Ethernet trailer (the FCS).