La Fibre
Datacenter et équipements réseaux => Routeurs =>
Remplacer la LiveBox par un routeur => Discussion démarrée par: Proph@ne le 17 octobre 2024 à 19:55:27
-
Bonsoir,
Depuis quelques jours, j'ai un soucis pour le renew du dhcp6 avec pfsense..
Lire de bas en haut
Oct 17 18:50:33 dhcp6c 80352 remove an address 2a01::bb02/64 on hn1
Oct 17 18:50:33 dhcp6c 80352 Bypassing address release because of -n flag
Oct 17 18:50:33 dhcp6c 80352 exit without release
Oct 17 18:50:32 dhclient 57804 exiting.
Oct 17 18:50:32 dhclient 57804 connection closed
Oct 17 14:00:41 dhcp6c 80352 dhcp6c Received INFO
Oct 17 14:00:41 dhcp6c 80352 unknown or unexpected DHCP6 option vendor specific info, len 18
Oct 17 14:00:41 dhcp6c 80352 freeing op data at 0x823e973c0
Oct 17 14:00:41 dhcp6c 80352 freeing op data at 0x823e8c070
Oct 17 14:00:41 dhcp6c 80352 freeing op data at 0x823edc390
Oct 17 14:00:41 dhcp6c 80352 freeing op data at 0x823e82048
Oct 17 14:00:41 dhcp6c 80352 Sending Renew
ensuite il n'arrive plus a attraper d'ipv6 :
Oct 17 19:02:27 dhcp6c 86706 freeing op data at 0x82326a048
Oct 17 19:02:27 dhcp6c 86706 transmit failed: Can't assign requested address
Oct 17 19:02:27 dhcp6c 86706 Sending Solicit
Oct 17 19:02:26 dhcp6c 86706 freeing op data at 0x82327f190
Oct 17 19:02:26 dhcp6c 86706 freeing op data at 0x823274040
Oct 17 19:02:26 dhcp6c 86706 freeing op data at 0x8232c9300
Oct 17 19:02:26 dhcp6c 86706 freeing op data at 0x82326a048
Oct 17 19:02:26 dhcp6c 86706 transmit failed: Can't assign requested address
Oct 17 19:02:26 dhcp6c 86706 Sending Solicit
Oct 17 19:02:25 dhcp6c 86413 freeing op data at 0x82327f050
Oct 17 19:02:25 dhcp6c 86413 freeing op data at 0x823274010
un reboot de pfsense semble corriger les choses... jusqu'au prochain renew.
-
Soucis similaire avec un opnewrt (Turris). cf mon post "perte de connexion après 20h". Dés que mon routeur envoie une trame ipv6 de renew, il ne reçoit plus aucun paquet ipv4 ou ipv6.
-
Alors moi l'ipv4 est ok 👍
-
J'ai eu un nouveau baye DHCP ipv6 hier, alors que je suis sur une ligne pro (et donc pas pouvoir changer d'ip)
Je pense qu'il y a eu un souci national et que l'ensemble des lease ont sauté.
-
Une perte de connectivité ?
De l'importance des tests de vie :
La connexion de la LB peut être interrompue sur plusieurs segments entre la LB et le BNG.
Si vous ne testez pas la connexion montante, vous allez vous retrouver hors séquence et donc vous faire blaster régulièrement.
Cela doit être fait sur LES DEUX stacks Ipv4 et IPv6
Une capture minimal de ce que fait la LB vous permettra de comprendre la puissance de ces deux algos ....
Et quand vous détectez une fin de vie sur un stack, vous relancez celui ci (cycle DORA ou SARR suivant le stack) proprement
Faite un RELEASE (du bon stack) AVANT de relancer le cycle ....
Durant votre capture, vous verrez que le BNG fait de même dans l'autre sens ... d'où l'importance de bien répondre à ces message avec la bonne COS6
(reddit.com) pfSense "forgets" to restart dhcpc6 after scheduled reconnect (https://www.reddit.com/r/PFSENSE/comments/73kxhw/pfsense_forgets_to_restart_dhcpc6_after_scheduled/?rdt=58742)
-
Oui, il s'agit d'une perte de connectivité. Mais, elle ne semble pas subie, mais provoquée par un renew ipv6. Facilement reproductible par killall -s SIGUSR1 odhcp6c.
-
De toute façon, il ne doit pas y avoir mille causes possibles. En cherchant, vous finirez bien par trouver la cause.
-
ca semble assez aléatoire chez moi.. la depuis 2 jours ca fonctionne... :
Oct 25 10:09:02 dhcp6c 76769 dhcp6c Received INFO
Oct 25 10:09:02 dhcp6c 76769 unknown or unexpected DHCP6 option vendor specific info, len 18
Oct 25 10:09:01 dhcp6c 76769 freeing op data at 0x824c973c0
Oct 25 10:09:01 dhcp6c 76769 freeing op data at 0x824c8c070
Oct 25 10:09:01 dhcp6c 76769 freeing op data at 0x824cdc390
Oct 25 10:09:01 dhcp6c 76769 freeing op data at 0x824c82048
Oct 25 10:09:01 dhcp6c 76769 Sending Renew
Oct 25 10:08:57 dhclient 95149 Creating resolv.conf
Oct 25 10:08:57 dhclient 94813 RENEW
-
J'ai indiqué ce qu'il c'était passé.
-
Ça a duré deux semaine ?
Mon souci, est aléatoire et dure depuis 2 semaines.
Bien cdt,
-
J'ai ces logs quand je perds IPV6 sur l'interfacen WAN
Oct 25 20:20:37 dhcp6c 20942 add an address 2a01::bb02/64 on hn1
Oct 25 20:20:37 dhcp6c 20942 dhcp6c Received REQUEST
Oct 25 20:20:37 dhcp6c 20942 unknown or unexpected DHCP6 option vendor specific info, len 18
Oct 25 20:20:37 dhcp6c 20942 freeing op data at 0x824b16230
Oct 25 20:20:37 dhcp6c 20942 freeing op data at 0x824b0b080
Oct 25 20:20:37 dhcp6c 20942 freeing op data at 0x824b69300
Oct 25 20:20:37 dhcp6c 20942 freeing op data at 0x824b01048
Oct 25 20:20:37 dhcp6c 20942 Sending Request
Oct 25 20:20:36 dhcp6c 20942 unknown or unexpected DHCP6 option vendor specific info, len 18
Oct 25 20:20:36 dhcp6c 20942 freeing op data at 0x824b16190
Oct 25 20:20:36 dhcp6c 20942 freeing op data at 0x824b0b040
Oct 25 20:20:36 dhcp6c 20942 freeing op data at 0x824b69300
Oct 25 20:20:36 dhcp6c 20942 freeing op data at 0x824b01048
Oct 25 20:20:36 dhcp6c 20942 Sending Solicit
Oct 25 20:20:35 dhcp6c 20652 freeing op data at 0x824b16050
Oct 25 20:20:35 dhcp6c 20652 freeing op data at 0x824b0b010
Oct 25 20:20:35 dhcp6c 20652 freeing op data at 0x824b69120
Oct 25 20:20:35 dhcp6c 20652 freeing op data at 0x824b01028
Oct 25 20:20:35 dhcp6c 20652 /var/etc/dhcp6c.conf 6: Raw option 11 length 70 stored at 0x824b69270 with data at 0x824b16050
Oct 25 20:20:35 dhcp6c 20652 /var/etc/dhcp6c.conf 6: Got raw option: 11
Oct 25 20:20:35 dhcp6c 20652 /var/etc/dhcp6c.conf 5: Raw option 16 length 11 stored at 0x824b691e0 with data at 0x824b0b010
Oct 25 20:20:35 dhcp6c 20652 /var/etc/dhcp6c.conf 5: Got raw option: 16
Oct 25 20:20:35 dhcp6c 20652 /var/etc/dhcp6c.conf 4: Raw option 15 length 45 stored at 0x824b690f0 with data at 0x824b69120
Oct 25 20:20:35 dhcp6c 20652 /var/etc/dhcp6c.conf 4: Got raw option: 15
Oct 25 20:20:35 dhcp6c 20652 /var/etc/dhcp6c.conf 3: Raw option 6 length 8 stored at 0x824b69060 with data at 0x824b01028
Oct 25 20:20:35 dhcp6c 20652 /var/etc/dhcp6c.conf 3: Got raw option:
Oct 25 20:20:35 dhcp6c 20652 skip opening control port
Oct 25 20:20:35 dhcp6c 20652 failed initialize control message authentication
Oct 25 20:20:35 dhcp6c 20652 failed to open /usr/local/etc/dhcp6cctlkey: No such file or directory
Oct 25 20:20:35 dhclient 13964 bound to 80...12 -- renewal in 85536 seconds.
Oct 25 20:20:35 dhclient 19189 Creating resolv.conf
Oct 25 20:20:35 dhclient 18762 /sbin/route add default 80.1
Oct 25 20:20:35 dhclient 18096 /sbin/route add -host 80..1 -iface hn0
Oct 25 20:20:35 dhclient 17128 Adding new routes to interface: hn0
Oct 25 20:20:35 dhclient 16770 New Routers (hn0): 80..1
Oct 25 20:20:35 dhclient 16712 New Broadcast Address (hn0): 80..255
Oct 25 20:20:35 dhclient 16601 New Subnet Mask (hn0): 255.255.248.0
Oct 25 20:20:35 dhclient 16385 New IP Address (hn0): 80..12
Oct 25 20:20:35 dhclient 16064 ifconfig hn0 inet 8012 netmask 255.255.248.0 broadcast 80..255
Oct 25 20:20:35 dhclient 16007 Starting add_new_address()
Oct 25 20:20:35 dhclient 15447 REBOOT
Oct 25 20:20:35 dhclient 13964 unknown dhcp option value 0x7d
Oct 25 20:20:35 dhclient 13964 unknown dhcp option value 0x5a
Oct 25 20:20:35 dhclient 13964 DHCPACK from 80..13
Oct 25 20:20:35 dhclient 13964 DHCPREQUEST on hn0 to 255.255.255.255 port 67
Oct 25 20:20:35 dhclient 14371 PREINIT
Oct 25 20:20:27 dhcp6c 76769 exiting
Oct 25 20:20:27 dhcp6c 8345 script "/var/etc/dhcp6c_wan_dhcp6withoutra_script.sh" cannot be executed safely
Oct 25 20:20:27 dhcp6c 8345 lstat failed: No such file or directory
Oct 25 20:20:27 dhcp6c 76769 remove an address 2a01::bb02/64 on hn1
Oct 25 20:20:27 dhcp6c 76769 Bypassing address release because of -n flag
Oct 25 20:20:27 dhcp6c 76769 exit without release
Oct 25 20:20:26 dhclient 68626 exiting.
Oct 25 20:20:26 dhclient 68626 connection closed
Alors que lors du renew normal j'ai ceci :
Oct 25 10:09:02 dhcp6c 76769 dhcp6c Received INFO
Oct 25 10:09:02 dhcp6c 76769 unknown or unexpected DHCP6 option vendor specific info, len 18
Oct 25 10:09:01 dhcp6c 76769 freeing op data at 0x824c973c0
Oct 25 10:09:01 dhcp6c 76769 freeing op data at 0x824c8c070
Oct 25 10:09:01 dhcp6c 76769 freeing op data at 0x824cdc390
Oct 25 10:09:01 dhcp6c 76769 freeing op data at 0x824c82048
Oct 25 10:09:01 dhcp6c 76769 Sending Renew
Oct 25 10:08:57 dhclient 95149 Creating resolv.conf
Oct 25 10:08:57 dhclient 94813 RENEW
Un reboot est necessaire pour récupérer l'IPV6...
-
J'avais le même problème que celui décrit là :
https://lafibre.info/remplacer-livebox/durcissement-du-controle-de-loption-9011-et-de-la-conformite-protocolaire/msg1017234/#msg1017234 (https://lafibre.info/remplacer-livebox/durcissement-du-controle-de-loption-9011-et-de-la-conformite-protocolaire/msg1017234/#msg1017234)
Mon option 77 dhcp v4 encodé en hexa
+FSVDSL_livebox.Internet.softathome.Livebox5
Mon option 15 dhcp v6:
FSVDSL_livebox.Internet.softathome.livebox5
En mettant la première lettre de la seconde 'Livebox' en majuscule, le renew passe.
-
"L" majuscule pour IPV6 et 4 ?
-
Oui, c'est ce qui est envoyé par la LB.
Et les options doivent être concordantes entre IPv4 et IPv6.
-
Re,
Finalement, en mettant a jour le driver de la carte Realtek sur mon Hyperviseur (WIndows server 2025), plus de probleme.
A+