Skip to content

Instantly share code, notes, and snippets.

@ionosphere80
Created January 23, 2016 02:52
Show Gist options
  • Save ionosphere80/85339b587bb9b2693b07 to your computer and use it in GitHub Desktop.
Save ionosphere80/85339b587bb9b2693b07 to your computer and use it in GitHub Desktop.
MTU experiments with Linux bridge - capture of ping with 8922/8902 payload and DF=1
# ping -c 1 -s 8922 -M do 10.100.52.104
PING 10.100.52.104 (10.100.52.104) 8922(8950) bytes of data.
8930 bytes from 10.100.52.104: icmp_seq=1 ttl=63 time=2.22 ms
--- 10.100.52.104 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 2.229/2.229/2.229/0.000 ms
# ping6 -c 1 -s 8902 -M do fd00:100:52:1:f816:3eff:fe46:acd3
PING fd00:100:52:1:f816:3eff:fe46:acd3(fd00:100:52:1:f816:3eff:fe46:acd3) 8902 data bytes
8910 bytes from fd00:100:52:1:f816:3eff:fe46:acd3: icmp_seq=1 ttl=63 time=2.22 ms
--- fd00:100:52:1:f816:3eff:fe46:acd3 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 2.220/2.220/2.220/0.000 ms
VM, bridge end of tap interface, IPv4:
01:35:35.303544 fa:16:3e:e5:43:1c > fa:16:3e:46:ac:d3, ethertype IPv4 (0x0800), length 8964: (tos 0x0, ttl 63, id 0, offset 0, flags [DF], proto ICMP (1), length 8950)
10.100.52.45 > 172.16.1.3: ICMP echo request, id 3720, seq 1, length 8930
01:35:35.303810 fa:16:3e:46:ac:d3 > fa:16:3e:e5:43:1c, ethertype IPv4 (0x0800), length 8964: (tos 0x0, ttl 64, id 29118, offset 0, flags [none], proto ICMP (1), length 8950)
172.16.1.3 > 10.100.52.45: ICMP echo reply, id 3720, seq 1, length 8930
VM, bridge end of tap interface, IPv6:
01:35:58.031069 fa:16:3e:16:01:92 > fa:16:3e:46:ac:d3, ethertype IPv6 (0x86dd), length 8964: (hlim 63, next-header ICMPv6 (58) payload length: 8910) fd00:100:52::45 > fd00:100:52:1:f816:3eff:fe46:acd3: [icmp6 sum ok] ICMP6, echo request, seq 1
01:35:58.142036 fa:16:3e:46:ac:d3 > fa:16:3e:16:01:92, ethertype IPv6 (0x86dd), length 8964: (hlim 64, next-header ICMPv6 (58) payload length: 8910) fd00:100:52:1:f816:3eff:fe46:acd3 > fd00:100:52::45: [icmp6 sum ok] ICMP6, echo reply, seq 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment