La Fibre
Datacenter et équipements réseaux => Routeurs =>
Remplacer la LiveBox par un routeur => Discussion démarrée par: kaktuss77 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.
-
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
-
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.
-
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...
-
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 :)
-
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.
-
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 ;-)
-
J'oubliais, cela ne s'est plus reproduit après 13H53 et s'etait dejà produit à deux reprises en début de semaine.
++
-
Pareil depuis 13h30 plus de coupure
-
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???
++
-
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
-
ç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
-
Idem chez moi a Chelles 77500. J'ai même rebranché la Livebox pensant que c'était le client DHCP ou autre chose dans mon ERL mais le problème reste le même
Ça m'a d'ailleurs fait changer d'adresse IP que j'ai depuis plusieurs mois maintenant en utilisant la Livebox
-
Durant les coupures j'ai vu passer 5 a 6 IP publiques différentes.
On a eu le même réflex j'ai aussi rebranché la box dans amélioration.
Peu être des travaux programmé car c'est relativement tard le soir?
-
Durant les coupures j'ai vu passer 5 a 6 IP publiques différentes.
On a eu le même réflex j'ai aussi rebranché la box dans amélioration.
Peu être des travaux programmé car c'est relativement tard le soir?
Pourquoi pas des travaux mais un petit message pour nous prévenir est quand même le minimum en 2018 vu qu'ils ont nos coordonnées voir même nos numéros de portable... wait and see. Je reste quand même dubitatif
-
Je suis d'accord
Sinon un équipement allumé que le soir et qui vient faire planter le routeur en face ?
-
edit pour la modération, je pense qu'on peut rattacher ce topic avec celui là https://lafibre.info/orange-internet/chelles-77500-coupures-de-services-bagottage/msg578367/#msg578367
-
Hello Kaktuss77,
Voici le contenu du script à adapter selon tes besoins:
#!/bin/vbash
run=/opt/vyatta/bin/vyatta-op-cmd-wrapper
NEW_IP=`/sbin/ifconfig eth4.832 2>/dev/null | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}'`
if [ -z "$NEW_IP" ]; then
logger -t watchdog -p err "Interface eth4.832 down"
exit 0
fi
# The list of hosts to ping
PING_HOSTS="www.orange.fr www.google.com"
# Reading the default gateway
read _ _ GATEWAY _ < <(/sbin/ip -4 route list match 0/0)
# Pinging hosts, stopping at the first answer
for HOST in $PING_HOSTS; do
logger -t watchdog -p info "Pinging $HOST"
/bin/ping -c4 $HOST > /dev/null 2>&1
if [ $? -ne 0 ]; then
logger -t watchdog -p warn "Failed pinging $HOST"
else
exit 0
fi
done
# If we are here, then nothing is pinging. Try
# the default gateway
/bin/ping -c4 $GATEWAY > /dev/null 2>&1
if [ $? -ne 0 ]; then
logger -t watchdog -p err "Internet connection is broken"
$run renew dhcp interface eth4.832
service dibbler-client restart
fi
Désolé pour la latence mais ça fêtait les 40 ans de moi et madame ce weekend !!!
-
Merci,
et bien félicitation :)
-
Héhé merci
-
Il y a aussi des scripts pour patcher automatiquement l'ERL a une mise a joir. Ce routeur est tellement bien
-
Oui il est sympa,
la je vais recevoir Lundi pro, mon boitier routeur avec i3-5005 + 4G de ram et 120Go SSD, je vais tester OPNSense