Auteur Sujet: Probleme - Perte de la connectivité internet  (Lu 4572 fois)

0 Membres et 1 Invité sur ce sujet

kaktuss77

  • Abonné Orange Fibre
  • *
  • Messages: 598
  • Free 8G/700M + Orange 2G/1G <3
    • @kaktuss77
Probleme - Perte de la connectivité internet
« le: 19 septembre 2018 à 22:44:59 »
Bonjour à tous,

Tout d’abord merci aux nombreux contributeurs de proposer des alternatives à la LiveBox, et également a Nanostra, dont j'ai suivis les tutos partie 1 et 2 afin de remplacer ma box par un routeur Ubiquiti ERL3.

Tout fonctionnais très bien jusqu'à hier Lundi. J'étais a distance et je perds la main sur mon PC, j'appelle ma compagne qui est au domicile, et je lui demande de reboot l'ERL et le boitier fibre, cela revient.

et ce soir à 21h (19/09) re-belote. Cette fois ci je suis sur place, je me connecte en SSH sur L'ERL, je vois rien d'anormale,

et je procède par élimination au vu du TCPDUMP :

root@erl-3:/var/log# tcpdump -ni eth0.832
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0.832, link-type EN10MB (Ethernet), capture size 262144 bytes
22:23:43.861763 ARP, Request who-has 90.46.xx.xx tell 90.46.xx.xx, length 28
22:23:44.053195 IP6 fe80::de9f:dbff:fe80:48c > ff02::1:ffa0:bab: ICMP6, neighbor solicitation, who has fe80::ba0:bab, length 32
22:23:44.853116 ARP, Request who-has 90.46.xx.xx tell 90.46.xx.xx, length 28
22:23:45.053207 IP6 fe80::de9f:dbff:fe80:48c > ff02::1:ffa0:bab: ICMP6, neighbor solicitation, who has fe80::ba0:bab, length 32
22:23:45.853124 ARP, Request who-has 90.46.xx.xx tell 90.46.xx.xx, length 28
22:23:46.250017 IP6 fe80::de9f:dbff:fe80:48c > ff02::1:ffa0:bab: ICMP6, neighbor solicitation, who has fe80::ba0:bab, length 32
22:23:46.853683 ARP, Request who-has 90.46.xx.xx tell 90.46.xx.xx, length 28
22:23:46.853758 ARP, Request who-has 90.46.xx.xx tell 90.46.xx.xx, length 28
22:23:47.243219 IP6 fe80::de9f:dbff:fe80:48c > ff02::1:ffa0:bab: ICMP6, neighbor solicitation, who has fe80::ba0:bab, length 32
22:23:47.853165 ARP, Request who-has 90.46.xx.xx tell 90.46.xx.xx, length 28
22:23:48.243186 IP6 fe80::de9f:dbff:fe80:48c > ff02::1:ffa0:bab: ICMP6, neighbor solicitation, who has fe80::ba0:bab, length 32
22:23:48.969058 ARP, Request who-has 90.46.xx.xx tell 90.46.xx.xx, length 28
22:23:49.523688 IP6 fe80::de9f:dbff:fe80:48c > ff02::1:ffa0:bab: ICMP6, neighbor solicitation, who has fe80::ba0:bab, length 32
22:23:49.963117 ARP, Request who-has 90.46.xx.xx tell 90.46.xx.xx, length 28
22:23:50.523224 IP6 fe80::de9f:dbff:fe80:48c > ff02::1:ffa0:bab: ICMP6, neighbor solicitation, who has fe80::ba0:bab, length 32
22:23:50.963176 ARP, Request who-has 90.46.xx.xx tell 90.46.xx.xx, length 28
22:23:51.523172 IP6 fe80::de9f:dbff:fe80:48c > ff02::1:ffa0:bab: ICMP6, neighbor solicitation, who has fe80::ba0:bab, length 32
22:23:51.992134 ARP, Request who-has 90.46.xx.xx tell 90.46.xx.xx, length 28
22:23:52.983141 ARP, Request who-has 90.46.xx.xx tell 90.46.xx.xx, length 28


Un reboot du convertisseur Fibre Ethernet = NO OK

Un debranchement rebranchement port Ethernet = NO OK

Un shut no shut = NO OK

Reboot ERL = OK


Je vous joins les messages dans les log au moment de la coupure.

Sep 19 18:51:32 erl-3 kernel: ICMPv6: RA: ndisc_router_discovery failed to add default route
Sep 19 18:54:36 erl-3 sshd[24968]: pam_unix(sshd:auth): check pass; user unknown
Sep 19 18:54:36 erl-3 sshd[24968]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=8.40.32.7
Sep 19 19:15:15 erl-3 kernel: ICMPv6: RA: ndisc_router_discovery failed to add default route
Sep 19 19:33:52 erl-3 kernel: [WAN_LOCAL-20-A]IN=eth0.832 OUT= MAC=dc:9f:db:80:04:8c:0c:a4:02:12:35:66:08:00:xx:xx:xx:xx SRC=217.21.193.20 DST=90.46.xx.xx LEN=28 TOS=0x00 PREC=0x00 TTL=31 ID=44537 PROTO=ICMP TYPE=8 CODE=0 ID=3225 SEQ=0
Sep 19 19:36:53 erl-3 kernel: ICMPv6: RA: ndisc_router_discovery failed to add default route
Sep 19 19:46:39 erl-3 sshd[25620]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=8.40.32.7  user=root
Sep 19 20:06:05 erl-3 kernel: ICMPv6: RA: ndisc_router_discovery failed to add default route
Sep 19 20:25:32 erl-3 kernel: [WAN_LOCAL-20-A]IN=eth0.832 OUT= MAC=dc:9f:db:80:04:8c:0c:a4:02:12:35:66:08:00:xx:xx:xx:xx SRC=46.234.125.89 DST=90.46.xx.xx LEN=44 TOS=0x00 PREC=0x00 TTL=50 ID=36516 DF PROTO=ICMP TYPE=8 CODE=0 ID=65144 SEQ=35667
Sep 19 20:27:37 erl-3 kernel: ICMPv6: RA: ndisc_router_discovery failed to add default route
Sep 19 20:38:41 erl-3 sshd[26252]: pam_unix(sshd:auth): check pass; user unknown
Sep 19 20:38:41 erl-3 sshd[26252]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=8.40.32.7
Sep 19 20:50:40 erl-3 kernel: ICMPv6: RA: ndisc_router_discovery failed to add default route
Sep 19 20:55:58 erl-3 watchdog: Failed pinging www.orange.fr
Sep 19 20:56:54 erl-3 watchdog: Failed pinging www.google.com
Sep 19 20:57:07 erl-3 watchdog: Internet connection is broken
Sep 19 20:58:10 erl-3 radvd[3148]: exiting, 1 sigterm(s) received
Sep 19 20:58:10 erl-3 radvd[3149]: Exiting, privsep_read_loop had readn return 0 bytes
Sep 19 20:58:10 erl-3 radvd[3149]: Exiting, privsep_read_loop is complete.
Sep 19 20:58:11 erl-3 kernel: ICMPv6: RA: ndisc_router_discovery failed to add default route
Sep 19 20:58:11 erl-3 radvd[26629]: exiting, 1 sigterm(s) received
Sep 19 20:58:11 erl-3 radvd[26630]: Exiting, privsep_read_loop had readn return 0 bytes
Sep 19 20:58:11 erl-3 radvd[26630]: Exiting, privsep_read_loop is complete.
Sep 19 20:58:22 erl-3 radvd[26731]: exiting, 1 sigterm(s) received
Sep 19 20:58:22 erl-3 radvd[26732]: Exiting, privsep_read_loop had readn return 0 bytes
Sep 19 20:58:22 erl-3 radvd[26732]: Exiting, privsep_read_loop is complete.
Sep 19 21:00:58 erl-3 watchdog: Failed pinging www.orange.fr
Sep 19 21:01:54 erl-3 watchdog: Failed pinging www.google.com
Sep 19 21:01:59 erl-3 watchdog: Internet connection is broken
Sep 19 21:05:58 erl-3 watchdog: Failed pinging www.orange.fr
Sep 19 21:06:54 erl-3 watchdog: Failed pinging www.google.com
Sep 19 21:07:07 erl-3 watchdog: Internet connection is broken
Sep 19 21:10:58 erl-3 watchdog: Failed pinging www.orange.fr
Sep 19 21:11:54 erl-3 watchdog: Failed pinging www.google.com
Sep 19 21:12:07 erl-3 watchdog: Internet connection is broken

Si vous avez une idée, car la comme ça je vois pas  ??? ???

Merci à tous

Edit : cela c'est produit 4 a 5 fois dans la soirée, je remarque que ces lignes apparaissent avant la coupure

[WAN_LOCAL-20-A]IN=eth0.832 OUT= MAC=dc:9f:db:80:04:8c:0c:a4:02:12:35:66:08:00:45:00:00:2c SRC=216.52.192.109 DST=90.46.67.239 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=34750 SEQ=7
[WAN_LOCAL-20-A]IN=eth0.832 OUT= MAC=dc:9f:db:80:04:8c:0c:a4:02:12:35:66:08:00:45:00:00:2c SRC=216.52.192.112 DST=90.46.xx.xx LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=34749 SEQ=11

enfin même si je pense pas que c'est lié.

Sinon sans reboot le routeur, j'ai brancher le convertisseur sur la patte wan de la LB, j'ai re-assigné un port de l'ERL en DHCP et je passe a travers la box, ça a l'air stable pour le moment.
« Modifié: 20 septembre 2018 à 08:54:30 par kaktuss77 »

jeremyp3

  • Abonné Orange Fibre
  • *
  • Messages: 717
  • Pau (64)
Probleme - Perte de la connectivité internet
« Réponse #1 le: 20 septembre 2018 à 01:43:42 »
bonjour,

l'équipement orange en face ne semble plus répondre. plutot qu'un reboot de l'erl une demande de dhcp devrait résoudre le souci. en tout cas, ici, c'est comme ça que ça se passe, quand ça arrive.

un truc genre ifdown eth0.832 && ifup eth0.832 ou l'équivalent sur erl.

les logs ne montre rien d'anormal, juste des logs d'iptables, et des connexion ssh échoué principalement.

Jerem

kaktuss77

  • Abonné Orange Fibre
  • *
  • Messages: 598
  • Free 8G/700M + Orange 2G/1G <3
    • @kaktuss77
Probleme - Perte de la connectivité internet
« Réponse #2 le: 20 septembre 2018 à 08:04:06 »
Merci pour ta réponse,

mais le fait de shut et no shut l'interface ne relance t-il pas le client DHCP? tout comme débrancher et rebrancher le câble?  ???

Sinon branché a la box je n'ai pas de soucis.

zoc

  • Abonné Orange Fibre
  • *
  • Messages: 4 286
  • Antibes (06) / Mercury (73)
Probleme - Perte de la connectivité internet
« Réponse #3 le: 20 septembre 2018 à 08:22:09 »
Pour déclencher un renouvellement manuel de bail dhcp, il faut faire un "renew dhcp interface eth0.832", ce qui va totalement relancer le client dhcp. Débrancher le cable ou faire tomber l'interface ne le fait pas...

Maintenant, c'est exactement ce que le script "watchdog" que tu sembles utiliser est sensé faire...

kaktuss77

  • Abonné Orange Fibre
  • *
  • Messages: 598
  • Free 8G/700M + Orange 2G/1G <3
    • @kaktuss77
Probleme - Perte de la connectivité internet
« Réponse #4 le: 20 septembre 2018 à 08:52:11 »
Merci pour ta réponse Zoc, Je suis aller vérifier le script en question, déjà les interfaces étaient pas les bonnes.... (je suis un boulet  :-[ :-[ ) , donc forcèment je watchdog ne pouvait pas faire son job jusqu'au bout, j'ai remis mon Tp-Link derrière l'ERL, avec la commande c'est remonter, a voir dans le temps.

Ce qu'il m'impressionne c'est que je soit embêté maintenant alors que ça fait maintenant un peu plus de 2 mois que j'ai cette "installation" et que j'ai changé d'IP plusieurs fois.

Enfin à priori c'est OK

Merci à tous :)

kaktuss77

  • Abonné Orange Fibre
  • *
  • Messages: 598
  • Free 8G/700M + Orange 2G/1G <3
    • @kaktuss77
Probleme - Perte de la connectivité internet
« Réponse #5 le: 20 septembre 2018 à 13:58:21 »
En faite ca continue j'ai des coupures toutes les 5 a 10minutes.

? (92.170.232.1) at <incomplete> on eth0.832

Je perds le Niv2, le script fait sont taff, mais ca me coupe durant mes téléchargements etc.

Je comprends pas trop ce qu'il se passe.

Jeyriku

  • Abonné Free fibre
  • *
  • Messages: 18
  • Chessy 77700
Probleme - Perte de la connectivité internet
« Réponse #6 le: 20 septembre 2018 à 17:44:50 »
Hello à tous,

Pareil pour moi, toutes les 5mns. Impossible de pinger le next-hop chez Orange. un clear dhcp interface, résout le problème. Le script watchdog permet également de résoudre le problème (c'est bien pour cela qu'il a été conçu en même temps ;-) ) mais il subsiste un intervalle de temps durant lequel je perds la connexion (env 3mn). j'ai trouvé quelques erreurs dans ma conf mais rien de handicapant à priori.
Ma version:
Version:      v1.10.0
Build ID:     5056246
Build on:     01/25/18 09:54
Copyright:    2012-2018 Ubiquiti Networks, Inc.
HW model:     EdgeRouter X SFP 6-Port

Voici quelque Log dont je suppose qu'ils sont plutôt là en conséquence du dysfonctionnement :

ep 20 12:54:40 ubnt ntpd_intres[2302]: host name not found: 3.ubnt.pool.ntp.o
Sep 20 13:01:11 ubnt sshd[7196]: fatal: Read from socket failed: Connection reset by peer [preauth]
Sep 20 13:05:45 ubnt watchdog: Failed pinging www.orange.fr
Sep 20 13:06:19 ubnt watchdog: Failed pinging www.google.com
Sep 20 13:06:32 ubnt watchdog: Internet connection is broken
Sep 20 13:06:32 ubnt miniupnpd[2498]: ioctl(s, SIOCGIFADDR, ...): Cannot assign requested address
Sep 20 13:06:32 ubnt miniupnpd[2498]: Failed to get IP for interface eth4.832
Sep 20 13:06:32 ubnt miniupnpd[2498]: SendNATPMPPublicAddressChangeNotification: cannot get public IP address, stopping
Sep 20 13:07:04 ubnt ntpd_intres[2302]: host name not found: 3.ubnt.pool.ntp.o
Sep 20 13:15:23 ubnt watchdog: Failed pinging www.orange.fr
Sep 20 13:15:45 ubnt watchdog: Failed pinging www.google.com
Sep 20 13:15:58 ubnt watchdog: Internet connection is broken
Sep 20 13:15:58 ubnt miniupnpd[2498]: ioctl(s, SIOCGIFADDR, ...): Cannot assign requested address
Sep 20 13:15:58 ubnt miniupnpd[2498]: Failed to get IP for interface eth4.832
Sep 20 13:15:58 ubnt miniupnpd[2498]: SendNATPMPPublicAddressChangeNotification: cannot get public IP address, stopping
Sep 20 13:16:17 ubnt ntpd_intres[2302]: host name not found: 3.ubnt.pool.ntp.o
Sep 20 13:25:24 ubnt watchdog: Failed pinging www.orange.fr
Sep 20 13:25:46 ubnt watchdog: Failed pinging www.google.com
Sep 20 13:25:59 ubnt watchdog: Internet connection is broken
Sep 20 13:25:59 ubnt miniupnpd[2498]: ioctl(s, SIOCGIFADDR, ...): Cannot assign requested address
Sep 20 13:25:59 ubnt miniupnpd[2498]: Failed to get IP for interface eth4.832
Sep 20 13:25:59 ubnt miniupnpd[2498]: SendNATPMPPublicAddressChangeNotification: cannot get public IP address, stopping
Sep 20 13:26:18 ubnt ntpd_intres[2302]: host name not found: 3.ubnt.pool.ntp.o
Sep 20 13:35:23 ubnt watchdog: Failed pinging www.orange.fr
Sep 20 13:35:45 ubnt watchdog: Failed pinging www.google.com
Sep 20 13:35:58 ubnt watchdog: Internet connection is broken
Sep 20 13:35:59 ubnt miniupnpd[2498]: ioctl(s, SIOCGIFADDR, ...): Cannot assign requested address
Sep 20 13:35:59 ubnt miniupnpd[2498]: Failed to get IP for interface eth4.832
Sep 20 13:35:59 ubnt miniupnpd[2498]: SendNATPMPPublicAddressChangeNotification: cannot get public IP address, stopping
Sep 20 13:36:23 ubnt ntpd_intres[2302]: host name not found: 3.ubnt.pool.ntp.o
Sep 20 13:45:23 ubnt watchdog: Failed pinging www.orange.fr
Sep 20 13:45:45 ubnt watchdog: Failed pinging www.google.com
Sep 20 13:45:58 ubnt watchdog: Internet connection is broken
Sep 20 13:45:58 ubnt miniupnpd[2498]: ioctl(s, SIOCGIFADDR, ...): Cannot assign requested address
Sep 20 13:45:58 ubnt miniupnpd[2498]: Failed to get IP for interface eth4.832
Sep 20 13:45:58 ubnt miniupnpd[2498]: SendNATPMPPublicAddressChangeNotification: cannot get public IP address, stopping
Sep 20 13:46:27 ubnt ntpd_intres[2302]: host name not found: 3.ubnt.pool.ntp.o
Sep 20 13:53:10 ubnt miniupnpd[2498]: ioctl(s, SIOCGIFADDR, ...): Cannot assign requested address
Sep 20 13:53:10 ubnt miniupnpd[2498]: Failed to get IP for interface eth4.832
Sep 20 13:53:10 ubnt miniupnpd[2498]: SendNATPMPPublicAddressChangeNotification: cannot get public IP address, stopping

Je pencherais plutôt pour un problème lié au client DHCP mais je n'ai pour l'instant effectué aucune capture.

Vos avis d'experts sont les bienvenues ;-)

Jeyriku

  • Abonné Free fibre
  • *
  • Messages: 18
  • Chessy 77700
Probleme - Perte de la connectivité internet
« Réponse #7 le: 20 septembre 2018 à 17:49:53 »
J'oubliais, cela ne s'est plus  reproduit après 13H53 et s'etait dejà produit à deux reprises en début de semaine.

++


kaktuss77

  • Abonné Orange Fibre
  • *
  • Messages: 598
  • Free 8G/700M + Orange 2G/1G <3
    • @kaktuss77
Probleme - Perte de la connectivité internet
« Réponse #8 le: 20 septembre 2018 à 19:44:01 »
Pareil depuis 13h30 plus de coupure

Jeyriku

  • Abonné Free fibre
  • *
  • Messages: 18
  • Chessy 77700
Probleme - Perte de la connectivité internet
« Réponse #9 le: 20 septembre 2018 à 20:06:01 »
Hello,

Etant donné que l'on habite dans le même secteur, ne serait ce pas simplement lié à un incident ou une opération programmée par Orange???

++


kaktuss77

  • Abonné Orange Fibre
  • *
  • Messages: 598
  • Free 8G/700M + Orange 2G/1G <3
    • @kaktuss77
Probleme - Perte de la connectivité internet
« Réponse #10 le: 21 septembre 2018 à 16:38:32 »
Hello,

j'avais pas fait attention que nous étions dans le même coin.

Oui je pense, aussi, mais pas eu de com' à ce sujet.

Dis moi tu pourrais me mettre en copie le contenue du script watchdog? J'ai du modifier le mien car la partie pour lire la passerelle ne fonctionnait pas.

Merci

kaktuss77

  • Abonné Orange Fibre
  • *
  • Messages: 598
  • Free 8G/700M + Orange 2G/1G <3
    • @kaktuss77
Probleme - Perte de la connectivité internet
« Réponse #11 le: 21 septembre 2018 à 21:19:36 »
ça recommence pour moi, tout les 10mins

 >:( >:(

root@erl-3:/home/kaktuss# cat /var/log/messages | grep watch
Sep 21 19:10:01 erl-3 watchdog: Failed pinging www.orange.fr
Sep 21 19:10:01 erl-3 watchdog: Internet connection is broken
Sep 21 19:10:02 erl-3 watchdog: Failed pinging www.google.com
Sep 21 19:10:02 erl-3 watchdog: Internet connection is broken
Sep 21 20:50:58 erl-3 watchdog: Failed pinging www.orange.fr
Sep 21 20:50:58 erl-3 watchdog: Internet connection is broken
Sep 21 20:50:58 erl-3 watchdog: Failed pinging www.google.com
Sep 21 20:50:58 erl-3 watchdog: Internet connection is broken
Sep 21 21:00:58 erl-3 watchdog: Failed pinging www.orange.fr
Sep 21 21:00:58 erl-3 watchdog: Internet connection is broken
Sep 21 21:00:58 erl-3 watchdog: Failed pinging www.google.com
Sep 21 21:00:58 erl-3 watchdog: Internet connection is broken
Sep 21 21:10:57 erl-3 watchdog: Failed pinging www.orange.fr
Sep 21 21:10:57 erl-3 watchdog: Internet connection is broken
Sep 21 21:10:58 erl-3 watchdog: Failed pinging www.google.com
Sep 21 21:10:58 erl-3 watchdog: Internet connection is broken