Skip to content

Instantly share code, notes, and snippets.

@severo
Last active August 30, 2017 18:59
Show Gist options
  • Save severo/95e119886564068b2249734542d0bb3d to your computer and use it in GitHub Desktop.
Save severo/95e119886564068b2249734542d0bb3d to your computer and use it in GitHub Desktop.

# Diagnostic sonde Atlas Bolivie

Les ping depuis la sonde Atlas 23967 (https://atlas.ripe.net/probes/23967/) avec des longs paquets n'arrivent pas. On regarde une route, par exemple ver mamot.fr, depuis un ordinateur situé dans le même réseau local que la sonde (chez moi) :

$ traceroute -A mamot.fr
traceroute to mamot.fr (185.34.33.7), 30 hops max, 60 byte packets
 1  192.168.1.1 (192.168.1.1) [*]  4.432 ms  6.156 ms  8.457 ms
 2  192.168.101.101 (192.168.101.101) [*]  10.667 ms  23.265 ms  25.142 ms
 3  190.129.248.130 (190.129.248.130) [AS6568]  25.137 ms  25.130 ms  28.985 ms
 4  190.129.248.135 (190.129.248.135) [AS6568]  75.856 ms 190.129.248.128 (190.129.248.128) [AS6568]  131.814 ms  295.012 ms
 5  * 200.87.253.37 (200.87.253.37) [AS6568]  576.935 ms 200.87.253.35 (200.87.253.35) [AS6568]  577.764 ms
 6  84.16.9.116 (84.16.9.116) [AS12956]  583.218 ms  10.239 ms  12.044 ms
 7  5.53.3.55 (5.53.3.55) [*]  85.992 ms 5.53.3.61 (5.53.3.61) [*]  113.979 ms 94.142.99.107 (94.142.99.107) [*]  115.325 ms
 8  94.142.98.48 (94.142.98.48) [*]  124.999 ms 94.142.125.45 (94.142.125.45) [*]  145.962 ms 213.140.36.66 (213.140.36.66) [AS12956]  134.918 ms
 9  telia-ae10-0-grtdaleq2.net.telefonicaglobalsolutions.com (213.140.52.105) [AS12956]  125.876 ms  131.662 ms  184.188 ms
10  nyk-bb3-link.telia.net (213.155.130.206) [AS1299]  243.825 ms nyk-bb4-link.telia.net (213.155.134.254) [AS1299]  333.233 ms nyk-bb4-link.telia.net (213.155.130.66) [AS1299]  336.904 ms
11  prs-bb3-link.telia.net (62.115.121.27) [AS1299]  409.860 ms nyk-bb4-link.telia.net (213.155.137.28) [AS1299]  346.046 ms nyk-bb3-link.telia.net (213.155.137.50) [AS1299]  344.461 ms
12  27.121.115.62.in-addr.arpa (62.115.121.27) [AS1299]  400.442 ms prs-bb2-link.telia.net (80.91.251.101) [AS1299]  283.014 ms prs-b8-link.telia.net (62.115.118.61) [AS1299]  229.236 ms
13  nerim-ic-305766-prs-b8.c.telia.net (213.155.129.254) [AS1299]  224.683 ms prs-b8-link.telia.net (62.115.138.139) [AS1299]  219.407 ms 254.129.155.213.in-addr.arpa (213.155.129.254) [AS1299]  225.082 ms
14  xe0-0-0.80.edg-ptn-1.nerim.net (194.79.137.158) [AS13193]  213.301 ms  228.095 ms  215.269 ms
15  xe0-0-3-85.edg-ptn-2.nerim.net (194.79.137.154) [AS13193]  232.666 ms  236.132 ms  233.153 ms
16  154.137.79.194.in-addr.arpa (194.79.137.154) [AS13193]  222.872 ms edg-vty-1-grt.nerim.net (194.79.137.225) [AS13193]  228.634 ms 154.137.79.194.in-addr.arpa (194.79.137.154) [AS13193]  223.517 ms
17  225.137.79.194.in-addr.arpa (194.79.137.225) [AS13193]  221.576 ms cesare.octopuce.fr (91.194.60.223) [AS28855/AS39389]  224.097 ms  219.136 ms
18  lqdn-gw-out.octopuce.fr (91.194.60.220) [AS28855/AS39389]  206.538 ms  207.940 ms  210.200 ms
19  iota.lqdn.fr (185.34.33.7) [AS28855/AS39389]  209.130 ms * *

On essaye ping vers le premier relai (192.168.1.1 , le routeur F660 de la marque ZTE, fourni par le FAI Entel - connexion par fibre optique), avec des paquets de taille 1000 et 2000: on perd déjà des paquets avec la taille 2000.

$ ping -s 2000 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 2000(2028) bytes of data.
2008 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=68.0 ms
2008 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=42.4 ms
2008 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=50.5 ms
2008 bytes from 192.168.1.1: icmp_seq=6 ttl=64 time=1771 ms
2008 bytes from 192.168.1.1: icmp_seq=7 ttl=64 time=753 ms
2008 bytes from 192.168.1.1: icmp_seq=8 ttl=64 time=15.1 ms
2008 bytes from 192.168.1.1: icmp_seq=9 ttl=64 time=198 ms
^C
--- 192.168.1.1 ping statistics ---
9 packets transmitted, 7 received, 22% packet loss, time 8056ms
rtt min/avg/max/mdev = 15.135/414.150/1771.103/603.856 ms, pipe 2

$ ping -s 1000 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 1000(1028) bytes of data.
1008 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=5.52 ms
1008 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=14.2 ms
1008 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=58.3 ms
1008 bytes from 192.168.1.1: icmp_seq=4 ttl=64 time=3.92 ms
1008 bytes from 192.168.1.1: icmp_seq=5 ttl=64 time=3.68 ms
1008 bytes from 192.168.1.1: icmp_seq=6 ttl=64 time=5.60 ms
^C
--- 192.168.1.1 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5007ms
rtt min/avg/max/mdev = 3.682/15.230/58.380/19.626 ms

On essaye maintenant le ping avec le deuxième relai (192.168.101.101, j'imagine que c'est un routeur commun aux connexions de fibre optique du quartier - ses ports ouverts sont 1999 2399 3325 3998 5850 7627 24444 51103, je ne sais pas si ça aide à trouver ce que c'est), et là : il ne répond à aucun des ping avec une taille de paquets de 2000 !

$ ping -s 2000 192.168.101.101
PING 192.168.101.101 (192.168.101.101) 2000(2028) bytes of data.
^C
--- 192.168.101.101 ping statistics ---
11 packets transmitted, 0 received, 100% packet loss, time 10237ms

$ ping -s 1000 192.168.101.101
PING 192.168.101.101 (192.168.101.101) 1000(1028) bytes of data.
1008 bytes from 192.168.101.101: icmp_seq=1 ttl=254 time=13.9 ms
1008 bytes from 192.168.101.101: icmp_seq=2 ttl=254 time=7.67 ms
1008 bytes from 192.168.101.101: icmp_seq=3 ttl=254 time=10.4 ms
1008 bytes from 192.168.101.101: icmp_seq=4 ttl=254 time=23.3 ms
^C
--- 192.168.101.101 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 7.672/13.847/23.324/5.913 ms

Confirmé avec traceroute

$ sudo traceroute -I -A 192.168.101.101 200
traceroute to 192.168.101.101 (192.168.101.101), 30 hops max, 200 byte packets
 1  * * 192.168.1.1 (192.168.1.1) [*]  948.827 ms
 2  192.168.101.101 (192.168.101.101) [*]  1295.784 ms *  1647.134 ms

$ sudo traceroute -I -A 192.168.101.101 2000
traceroute to 192.168.101.101 (192.168.101.101), 30 hops max, 2000 byte packets
 1  192.168.1.1 (192.168.1.1) [*]  12.775 ms  21.254 ms  25.812 ms
 2  * * *
 3  * * *
 4  * * *
 5  * * *
 6  * * *
 7  * * *
 8  * * *
 9  * * *
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *

Finalement, en regardant la configuration de mon routeur (http://192.168.1.1 - WAN Connection), il semble que le relai est l'IP 190.129.186.50, mais celle-ci n'apparait pas dans le traceroute... ça, je ne comprends pas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment