Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

What's the size in bytes of a typical PING packet and of a typical SNMP Trap packet?

3,313 views
Skip to first unread message

Spin

unread,
May 10, 2009, 12:28:11 PM5/10/09
to
Gurus,

What's the size in bytes of a typical PING packet and of a typical SNMP Trap
packet?

--
Spin

Barry Margolin

unread,
May 10, 2009, 2:36:22 PM5/10/09
to
In article <76ods2F...@mid.individual.net>,
"Spin" <Sp...@invalid.com> wrote:

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 ***

pk

unread,
May 10, 2009, 3:25:28 PM5/10/09
to

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.

Noah Davids

unread,
May 10, 2009, 10:11:08 PM5/10/09
to
Barry Margolin wrote:
> In article <76ods2F...@mid.individual.net>,
> "Spin" <Sp...@invalid.com> wrote:
>
>> Gurus,
>>
>> What's the size in bytes of a typical PING packet and of a typical SNMP Trap
>> packet?
>
> 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
>

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).

0 new messages