# On vérifie juste qu'un ping avec -s 1300 passe normalement
benjamin@debian:~$ ping 10.0.0.1 -s 1300 -c 5
PING 10.0.0.1 (10.0.0.1) 1300(1328) bytes of data.
1308 bytes from 10.0.0.1: icmp_seq=1 ttl=63 time=6.09 ms
1308 bytes from 10.0.0.1: icmp_seq=2 ttl=63 time=6.32 ms
1308 bytes from 10.0.0.1: icmp_seq=3 ttl=63 time=6.34 ms
1308 bytes from 10.0.0.1: icmp_seq=4 ttl=63 time=6.51 ms
1308 bytes from 10.0.0.1: icmp_seq=5 ttl=63 time=6.28 ms

--- 10.0.0.1 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4006ms
rtt min/avg/max/mdev = 6.090/6.308/6.509/0.134 ms
# On déclenche le "bridage"
# (Le serveur n'a que 1Gbits/s "burstable", et retombe à moins de 300 Mbits/s après quelques secondes)
benjamin@debian:~$ iperf3 -c 10.0.0.1 -R -t 80
Connecting to host 10.0.0.1, port 5201
Reverse mode, remote host 10.0.0.1 is sending
[  5] local 172.16.0.199 port 39586 connected to 10.0.0.1 port 5201
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  73.8 MBytes   619 Mbits/sec
[  5]   1.00-2.00   sec  68.9 MBytes   578 Mbits/sec
[  5]   2.00-3.00   sec  84.8 MBytes   712 Mbits/sec
[  5]   3.00-4.00   sec  72.4 MBytes   607 Mbits/sec
[  5]   4.00-5.00   sec  62.7 MBytes   526 Mbits/sec
[  5]   5.00-6.00   sec  39.3 MBytes   330 Mbits/sec
[  5]   6.00-7.00   sec  27.1 MBytes   227 Mbits/sec
[  5]   7.00-8.00   sec  27.4 MBytes   229 Mbits/sec
[  5]   8.00-9.00   sec  23.9 MBytes   201 Mbits/sec
[  5]   9.00-10.00  sec  31.9 MBytes   268 Mbits/sec
[  5]  10.00-11.00  sec  26.4 MBytes   222 Mbits/sec
[  5]  11.00-12.00  sec  26.7 MBytes   224 Mbits/sec
[  5]  12.00-13.00  sec  23.5 MBytes   197 Mbits/sec
[  5]  13.00-14.00  sec  33.6 MBytes   282 Mbits/sec
[  5]  14.00-15.00  sec  27.9 MBytes   234 Mbits/sec
[  5]  15.00-16.00  sec  24.3 MBytes   204 Mbits/sec
[  5]  16.00-17.00  sec  28.8 MBytes   241 Mbits/sec
[  5]  17.00-18.00  sec  29.2 MBytes   245 Mbits/sec
[  5]  18.00-19.00  sec  26.1 MBytes   219 Mbits/sec
[  5]  19.00-20.00  sec  28.3 MBytes   237 Mbits/sec
[  5]  20.00-21.00  sec  28.7 MBytes   241 Mbits/sec
[  5]  21.00-22.00  sec  27.4 MBytes   230 Mbits/sec
[  5]  22.00-23.00  sec  26.8 MBytes   225 Mbits/sec
[  5]  23.00-24.00  sec  24.7 MBytes   207 Mbits/sec
[  5]  24.00-25.00  sec  30.1 MBytes   253 Mbits/sec
[  5]  25.00-26.00  sec  29.1 MBytes   244 Mbits/sec
[  5]  26.00-27.00  sec  25.3 MBytes   212 Mbits/sec
[  5]  27.00-28.00  sec  27.6 MBytes   232 Mbits/sec
[  5]  28.00-29.00  sec  29.7 MBytes   250 Mbits/sec
[  5]  29.00-30.00  sec  26.0 MBytes   218 Mbits/sec
[  5]  30.00-31.00  sec  26.8 MBytes   224 Mbits/sec
[  5]  31.00-32.00  sec  29.2 MBytes   245 Mbits/sec
[  5]  32.00-33.00  sec  27.2 MBytes   228 Mbits/sec
[  5]  33.00-34.00  sec  26.6 MBytes   223 Mbits/sec
[  5]  34.00-35.00  sec  30.4 MBytes   255 Mbits/sec
[  5]  35.00-36.00  sec  21.8 MBytes   183 Mbits/sec
[  5]  36.00-37.00  sec  33.3 MBytes   279 Mbits/sec
[  5]  37.00-38.00  sec  27.0 MBytes   227 Mbits/sec
[  5]  38.00-39.00  sec  24.9 MBytes   209 Mbits/sec
[  5]  39.00-40.00  sec  29.1 MBytes   245 Mbits/sec
[  5]  40.00-41.00  sec  28.8 MBytes   242 Mbits/sec
[  5]  41.00-42.00  sec  25.4 MBytes   213 Mbits/sec
[  5]  42.00-43.00  sec  27.8 MBytes   234 Mbits/sec
[  5]  43.00-44.00  sec  30.2 MBytes   253 Mbits/sec
[  5]  44.00-45.00  sec  25.3 MBytes   212 Mbits/sec
[  5]  45.00-46.00  sec  28.3 MBytes   238 Mbits/sec
[  5]  46.00-47.00  sec  27.8 MBytes   233 Mbits/sec
[  5]  47.00-48.00  sec  26.3 MBytes   221 Mbits/sec
[  5]  48.00-49.00  sec  27.7 MBytes   232 Mbits/sec
[  5]  49.00-50.00  sec  28.9 MBytes   243 Mbits/sec
[  5]  50.00-51.00  sec  27.2 MBytes   229 Mbits/sec
[  5]  51.00-52.00  sec  26.4 MBytes   221 Mbits/sec
[  5]  52.00-53.00  sec  28.7 MBytes   241 Mbits/sec
[  5]  53.00-54.00  sec  29.2 MBytes   245 Mbits/sec
[  5]  54.00-55.00  sec  25.5 MBytes   214 Mbits/sec
[  5]  55.00-56.00  sec  27.5 MBytes   231 Mbits/sec
[  5]  56.00-57.00  sec  30.3 MBytes   254 Mbits/sec
[  5]  57.00-58.00  sec  26.5 MBytes   223 Mbits/sec
[  5]  58.00-59.00  sec  28.0 MBytes   235 Mbits/sec
[  5]  59.00-60.00  sec  25.5 MBytes   214 Mbits/sec
[  5]  60.00-61.00  sec  27.6 MBytes   231 Mbits/sec
[  5]  61.00-62.00  sec  28.2 MBytes   237 Mbits/sec
[  5]  62.00-63.00  sec  27.5 MBytes   231 Mbits/sec
[  5]  63.00-64.00  sec  7.90 MBytes  66.2 Mbits/sec
[  5]  64.00-65.00  sec  0.00 Bytes  0.00 bits/sec
[  5]  65.00-66.00  sec  0.00 Bytes  0.00 bits/sec
[  5]  66.00-67.00  sec  0.00 Bytes  0.00 bits/sec
[  5]  67.00-68.00  sec  0.00 Bytes  0.00 bits/sec
[  5]  68.00-69.00  sec  0.00 Bytes  0.00 bits/sec
[  5]  69.00-70.00  sec  0.00 Bytes  0.00 bits/sec
[  5]  70.00-71.00  sec  0.00 Bytes  0.00 bits/sec
[  5]  71.00-72.00  sec  0.00 Bytes  0.00 bits/sec
[  5]  72.00-73.00  sec  0.00 Bytes  0.00 bits/sec
[  5]  73.00-74.00  sec  0.00 Bytes  0.00 bits/sec
[  5]  74.00-75.00  sec  0.00 Bytes  0.00 bits/sec
^C[  5]  75.00-75.77  sec  0.00 Bytes  0.00 bits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-75.77  sec  0.00 Bytes  0.00 bits/sec                  sender
[  5]   0.00-75.77  sec  1.93 GBytes   219 Mbits/sec                  receiver
iperf3: interrupt - the client has terminated
# Ping avec -s 1300 ne passe plus
benjamin@debian:~$ ping 10.0.0.1 -s 1300 -c 5
PING 10.0.0.1 (10.0.0.1) 1300(1328) bytes of data.

--- 10.0.0.1 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4085ms
# La limite semble être 433
benjamin@debian:~$ ping 10.0.0.1 -s 433 -c 5
PING 10.0.0.1 (10.0.0.1) 433(461) bytes of data.
441 bytes from 10.0.0.1: icmp_seq=1 ttl=63 time=5.93 ms
441 bytes from 10.0.0.1: icmp_seq=2 ttl=63 time=6.45 ms
441 bytes from 10.0.0.1: icmp_seq=3 ttl=63 time=6.26 ms
441 bytes from 10.0.0.1: icmp_seq=4 ttl=63 time=6.44 ms
441 bytes from 10.0.0.1: icmp_seq=5 ttl=63 time=6.16 ms

--- 10.0.0.1 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4007ms
rtt min/avg/max/mdev = 5.934/6.249/6.452/0.193 ms
# Extrait tcpdump de la machine serveur...
# On voit bien qu'elle reçoit bien les ping quelque soit la taille, et y répond.
root@dedibox:/home/benjamin# tcpdump -i ppp0 icmp
tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on ppp0, link-type LINUX_SLL (Linux cooked v1), snapshot length 262144 bytes
16:38:55.187018 IP 10.0.0.10 > 10.0.0.1: ICMP echo request, id 14424, seq 1, length 1308
16:38:55.187041 IP 10.0.0.1 > 10.0.0.10: ICMP echo reply, id 14424, seq 1, length 1308
16:38:56.204525 IP 10.0.0.10 > 10.0.0.1: ICMP echo request, id 14424, seq 2, length 1308
16:38:56.204559 IP 10.0.0.1 > 10.0.0.10: ICMP echo reply, id 14424, seq 2, length 1308
16:38:57.228538 IP 10.0.0.10 > 10.0.0.1: ICMP echo request, id 14424, seq 3, length 1308
16:38:57.228565 IP 10.0.0.1 > 10.0.0.10: ICMP echo reply, id 14424, seq 3, length 1308
16:38:58.252566 IP 10.0.0.10 > 10.0.0.1: ICMP echo request, id 14424, seq 4, length 1308
16:38:58.252593 IP 10.0.0.1 > 10.0.0.10: ICMP echo reply, id 14424, seq 4, length 1308
16:38:59.276583 IP 10.0.0.10 > 10.0.0.1: ICMP echo request, id 14424, seq 5, length 1308
16:38:59.276612 IP 10.0.0.1 > 10.0.0.10: ICMP echo reply, id 14424, seq 5, length 1308
16:39:14.739325 IP 10.0.0.10 > 10.0.0.1: ICMP echo request, id 14425, seq 1, length 441
16:39:14.739348 IP 10.0.0.1 > 10.0.0.10: ICMP echo reply, id 14425, seq 1, length 441
16:39:15.741844 IP 10.0.0.10 > 10.0.0.1: ICMP echo request, id 14425, seq 2, length 441
16:39:15.741867 IP 10.0.0.1 > 10.0.0.10: ICMP echo reply, id 14425, seq 2, length 441
16:39:16.743372 IP 10.0.0.10 > 10.0.0.1: ICMP echo request, id 14425, seq 3, length 441
16:39:16.743395 IP 10.0.0.1 > 10.0.0.10: ICMP echo reply, id 14425, seq 3, length 441
16:39:17.744887 IP 10.0.0.10 > 10.0.0.1: ICMP echo request, id 14425, seq 4, length 441
16:39:17.744910 IP 10.0.0.1 > 10.0.0.10: ICMP echo reply, id 14425, seq 4, length 441
16:39:18.746157 IP 10.0.0.10 > 10.0.0.1: ICMP echo request, id 14425, seq 5, length 441
16:39:18.746187 IP 10.0.0.1 > 10.0.0.10: ICMP echo reply, id 14425, seq 5, length 441
^C
20 packets captured
20 packets received by filter
0 packets dropped by kernel