#ICMP headers: a way to know the header size

4:51:09.535198 IP (tos 0x0, ttl 64, id 51679, offset 0, flags [none], proto ICMP (1), length 28)
    10.0.0.104 > 10.0.0.80: ICMP echo request, id 33295, seq 1, length 8
14:51:09.537177 IP (tos 0x0, ttl 64, id 15512, offset 0, flags [none], proto ICMP (1), length 28)
    10.0.0.80 > 10.0.0.104: ICMP echo reply, id 33295, seq 1, length 8
lucafrancesca@tardis ~> ping -s 0 nas
PING nas.lab.local (10.0.0.80): 0 data bytes
8 bytes from 10.0.0.80: icmp_seq=0 ttl=64
8 bytes from 10.0.0.80: icmp_seq=1 ttl=64
^C
--- nas.lab.local ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s