Oi Paulino, obrigado pelo retorno.
Está configurado exatamente igual, a pppoe pegou ip válido por slaac,
consigo pingar fora normalmente.
No wide-dhcp6-client, seu arquivo de configuração está igual o meu, apenas
comentei o dns porque uso o bind.
Testei com o mesmo comando que voce e tive o resultado abaixo.
Usando a operadora net, que é dhcp, funciona perfeitamente, tenho em
produção a mais de 1 ano.
Desconfio que seja algum bug da pppoe com a nova nomeclatura das
interfaces, porque em um teste, coloquei no arquivo de configuraçao da pppoe o
parametro : ipv6cp-use-persistent
e ao executar pon dsl-provider, recebi o seguinte erro:
“could not obtain hardware for eth0”
A interface eth0 nao existe, a ppp deveria estar buscando enp3s0
Testei de todas as formas que possa imaginar, a interface ppp0 simplesmente
descarta a resposta da operadora.
root@SRV01:~# dhcp6c -c /etc/wide-dhcpv6/dhcp6c.conf2 -dDf ppp0
Jul/11/2019 15:27:18: get_duid: extracted an existing DUID from
/var/lib/dhcpv6/dhcp6c_duid: 00:01:00:01:23:61:14:5d:18:03:73:eb:87:b9
Jul/11/2019 15:27:18: cfdebug_print: <3>[interface] (9)
Jul/11/2019 15:27:18: cfdebug_print: <5>[ppp0] (4)
Jul/11/2019 15:27:18: cfdebug_print: <3>begin of closure [{]
(1)
Jul/11/2019 15:27:18: cfdebug_print: <3>[request] (7)
Jul/11/2019 15:27:18: cfdebug_print: <3>[domain-name-servers]
(19)
Jul/11/2019 15:27:18: cfdebug_print: <3>end of sentence [;] (1)
Jul/11/2019 15:27:18: cfdebug_print: <3>[request] (7)
Jul/11/2019 15:27:18: cfdebug_print: <3>[domain-name] (11)
Jul/11/2019 15:27:18: cfdebug_print: <3>end of sentence [;] (1)
Jul/11/2019 15:27:18: cfdebug_print: <3>[send] (4)
Jul/11/2019 15:27:18: cfdebug_print: <3>[ia-pd] (5)
Jul/11/2019 15:27:18: cfdebug_print: <3>[0] (1)
Jul/11/2019 15:27:18: cfdebug_print: <3>end of sentence [;] (1)
Jul/11/2019 15:27:18: cfdebug_print: <3>end of closure [}] (1)
Jul/11/2019 15:27:18: cfdebug_print: <3>end of sentence [;] (1)
Jul/11/2019 15:27:18: cfdebug_print: <3>[id-assoc] (8)
Jul/11/2019 15:27:18: cfdebug_print: <15>[pd] (2)
Jul/11/2019 15:27:18: cfdebug_print: <15>begin of closure [{]
(1)
Jul/11/2019 15:27:18: cfdebug_print: <3>[prefix-interface] (16)
Jul/11/2019 15:27:18: cfdebug_print: <5>[eno1] (4)
Jul/11/2019 15:27:18: cfdebug_print: <3>begin of closure [{]
(1)
Jul/11/2019 15:27:18: cfdebug_print: <3>[sla-id] (6)
Jul/11/2019 15:27:18: cfdebug_print: <3>[0] (1)
Jul/11/2019 15:27:18: cfdebug_print: <3>end of sentence [;] (1)
Jul/11/2019 15:27:18: cfdebug_print: <3>[sla-len] (7)
Jul/11/2019 15:27:18: cfdebug_print: <3>[0] (1)
Jul/11/2019 15:27:18: cfdebug_print: <3>end of sentence [;] (1)
Jul/11/2019 15:27:18: cfdebug_print: <3>end of closure [}] (1)
Jul/11/2019 15:27:18: cfdebug_print: <3>end of sentence [;] (1)
Jul/11/2019 15:27:18: cfdebug_print: <3>end of closure [}] (1)
Jul/11/2019 15:27:18: cfdebug_print: <3>end of sentence [;] (1)
Jul/11/2019 15:27:18: cfdebug_print: <3>[id-assoc] (8)
Jul/11/2019 15:27:18: cfdebug_print: <15>[na] (2)
Jul/11/2019 15:27:18: cfdebug_print: <15>[0] (1)
Jul/11/2019 15:27:18: cfdebug_print: <15>begin of closure [{]
(1)
Jul/11/2019 15:27:18: cfdebug_print: <3>end of closure [}] (1)
Jul/11/2019 15:27:18: cfdebug_print: <3>end of sentence [;] (1)
Jul/11/2019 15:27:18: configure_pool: called
Jul/11/2019 15:27:18: configure_commit: some IA configuration defined but
not used
Jul/11/2019 15:27:18: clear_poolconf: called
Jul/11/2019 15:27:18: dhcp6_reset_timer: reset a timer on ppp0, state=INIT,
timeo=0, retrans=830
Jul/11/2019 15:27:18: client6_send: a new XID (9a48b) is generated
Jul/11/2019 15:27:18: copy_option: set client ID (len 14)
Jul/11/2019 15:27:18: copy_option: set elapsed time (len 2)
Jul/11/2019 15:27:18: copy_option: set option request (len 4)
Jul/11/2019 15:27:18: copyout_option: set IA_PD
Jul/11/2019 15:27:18: client6_send: send solicit to ff02::1:2%ppp0
Jul/11/2019 15:27:18: dhcp6_reset_timer: reset a timer on ppp0,
state=SOLICIT, timeo=0, retrans=1025
Jul/11/2019 15:27:19: copy_option: set client ID (len 14)
Jul/11/2019 15:27:19: copy_option: set elapsed time (len 2)
Jul/11/2019 15:27:19: copy_option: set option request (len 4)
Jul/11/2019 15:27:19: copyout_option: set IA_PD
Jul/11/2019 15:27:19: client6_send: send solicit to ff02::1:2%ppp0
Jul/11/2019 15:27:19: dhcp6_reset_timer: reset a timer on ppp0,
state=SOLICIT, timeo=1, retrans=2007
Jul/11/2019 15:27:21: copy_option: set client ID (len 14)
Jul/11/2019 15:27:21: copy_option: set elapsed time (len 2)
Jul/11/2019 15:27:21: copy_option: set option request (len 4)
Jul/11/2019 15:27:21: copyout_option: set IA_PD
Jul/11/2019 15:27:21: client6_send: send solicit to ff02::1:2%ppp0
Jul/11/2019 15:27:21: dhcp6_reset_timer: reset a timer on ppp0,
state=SOLICIT, timeo=2, retrans=3879
Jul/11/2019 15:27:25: copy_option: set client ID (len 14)
Jul/11/2019 15:27:25: copy_option: set elapsed time (len 2)
Jul/11/2019 15:27:25: copy_option: set option request (len 4)
Jul/11/2019 15:27:25: copyout_option: set IA_PD
Jul/11/2019 15:27:25: client6_send: send solicit to ff02::1:2%ppp0
Jul/11/2019 15:27:25: dhcp6_reset_timer: reset a timer on ppp0,
state=SOLICIT, timeo=3, retrans=7694
^C
Ola,
Tenho pouca experiência com isso, mas, vamos lá.
Pelo ip do DNS, a operadora parece ser a Vivo.
Para receber a delegação ipv6, precisa user o wide-dhcpv6-client.
As operadoras, ao contrário da recomendação estão distribuindo um prefixo
/64 (recomendado e um /56 ou /48).
Primeira coisa a fazer e configurar o pppd (pppoe) para usar o ipv6. +ipv6
na config do peer, como exemplo a conf. que estou usando (não copie e
cole).
### /etc/ppp/peer/provedor
user u@net
plugin rp-pppoe.so eth1 noipdefault #defaultroute nodefaultroute hide-password lcp-echo-interval 20 lcp-echo-failure 3 noauth persist maxfail 0 mtu 1492 noaccomp default-asyncmap noproxyarp +ipv6 ###
E o dhcp6c.conf
### /etc/wide-dhcpv6/dhcp6c.conf
interface ppp0 // interface onde esta a WAN
{ # information-only; request domain-name-servers; request domain-name; send ia-pd 0; # send ia-na 0; # script "/etc/wide-dhcpv6/dhcp6c-script"; }; id-assoc pd {
prefix-interface eth0.6 { // interface da LAN sla-id 0; sla-len 0; }; }; id-assoc na 0 { }; ###
Faça o teste usando o seguinte comando, rodara em primeiro plano e
mostrara o que esta ocorrendo:
dhcp6c -c /etc/wide-dhcpv6/dhcp6c.conf -dDf ppp0
Meus testes pararam aqui, não cheguei a colocar essa delegação ipv6 de fato
na rede.
Pode ser que ainda existam alguma configuração necessária, do qual não
lembro mais dos detalhes.
O que eu lembro e que configurar uma rede local ipv6 da muito trabalho, e
tem informações conflitantes, e muitas coisas parecem ainda não funcionar em
todos os sistemas operacionais.
Paulino.
On Thu, Jul 11, 2019 at 1:22 PM Suporte -
Informatica Digital <suporte@informaticadigital.com.br>
wrote:
-- Paulino Kenji
Sato |