Am făcut și tcpdump  să vedem cum stau lucrurile:

root@arcturus:~# tcpdump -n -vvv -i pppoe-WAN ip6
tcpdump: listening on pppoe-WAN, link-type LINUX_SLL (Linux cooked),
capture size 65535 bytes
14:29:11.035154 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 8)
fe80::5679:c386 > ff02::2: [icmp6 sum ok] ICMP6, router solicitation,
length 8
14:29:11.037640 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 16)
fe80::1 > ff02::1: [icmp6 sum ok] ICMP6, router advertisement, length 16
    hop limit 64, Flags [managed], pref medium, router lifetime 900s,
reachable time 0s, retrans time 0s
14:29:11.836243 IP6 (hlim 1, next-header UDP (17) payload length: 142)
fe80::5679:c386.546 > ff02::1:2.547: [udp sum ok] dhcp6 solicit (xid=f8137d
(elapsed-time 0) (option-request SIP-servers-domain SIP-servers-address
DNS-server DNS-search-list SNTP-servers NTP-server AFTR-Name opt_67 opt_82
opt_83 opt_94 opt_95 opt_96) (client-ID hwaddr type 1 021018010001)
(reconfigure-accept) (Client-FQDN) (IA_NA IAID:1 T1:0 T2:0) (IA_PD IAID:1
T1:0 T2:0 (IA_PD-prefix ::/0 pltime:0 vltime:0)))
14:29:12.858950 IP6 (hlim 1, next-header UDP (17) payload length: 142)
fe80::5679:c386.546 > ff02::1:2.547: [udp sum ok] dhcp6 solicit (xid=f8137d
(elapsed-time 102) (option-request SIP-servers-domain SIP-servers-address
DNS-server DNS-search-list SNTP-servers NTP-server AFTR-Name opt_67 opt_82
opt_83 opt_94 opt_95 opt_96) (client-ID hwaddr type 1 021018010001)
(reconfigure-accept) (Client-FQDN) (IA_NA IAID:1 T1:0 T2:0) (IA_PD IAID:1
T1:0 T2:0 (IA_PD-prefix ::/0 pltime:0 vltime:0)))
14:29:14.858851 IP6 (hlim 1, next-header UDP (17) payload length: 142)
fe80::5679:c386.546 > ff02::1:2.547: [udp sum ok] dhcp6 solicit (xid=f8137d
(elapsed-time 302) (option-request SIP-servers-domain SIP-servers-address
DNS-server DNS-search-list SNTP-servers NTP-server AFTR-Name opt_67 opt_82
opt_83 opt_94 opt_95 opt_96) (client-ID hwaddr type 1 021018010001)
(reconfigure-accept) (Client-FQDN) (IA_NA IAID:1 T1:0 T2:0) (IA_PD IAID:1
T1:0 T2:0 (IA_PD-prefix ::/0 pltime:0 vltime:0)))
14:29:18.927002 IP6 (hlim 1, next-header UDP (17) payload length: 142)
fe80::5679:c386.546 > ff02::1:2.547: [udp sum ok] dhcp6 solicit (xid=f8137d
(elapsed-time 709) (option-request SIP-servers-domain SIP-servers-address
DNS-server DNS-search-list SNTP-servers NTP-server AFTR-Name opt_67 opt_82
opt_83 opt_94 opt_95 opt_96) (client-ID hwaddr type 1 021018010001)
(reconfigure-accept) (Client-FQDN) (IA_NA IAID:1 T1:0 T2:0) (IA_PD IAID:1
T1:0 T2:0 (IA_PD-prefix ::/0 pltime:0 vltime:0)))
14:29:21.670188 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 16)
fe80::1 > ff02::1: [icmp6 sum ok] ICMP6, router advertisement, length 16
    hop limit 64, Flags [managed], pref medium, router lifetime 900s,
reachable time 0s, retrans time 0s
14:29:27.354964 IP6 (hlim 1, next-header UDP (17) payload length: 142)
fe80::5679:c386.546 > ff02::1:2.547: [udp sum ok] dhcp6 solicit (xid=f8137d
(elapsed-time 1551) (option-request SIP-servers-domain SIP-servers-address
DNS-server DNS-search-list SNTP-servers NTP-server AFTR-Name opt_67 opt_82
opt_83 opt_94 opt_95 opt_96) (client-ID hwaddr type 1 021018010001)
(reconfigure-accept) (Client-FQDN) (IA_NA IAID:1 T1:0 T2:0) (IA_PD IAID:1
T1:0 T2:0 (IA_PD-prefix ::/0 pltime:0 vltime:0)))
14:29:43.722861 IP6 (hlim 1, next-header UDP (17) payload length: 142)
fe80::5679:c386.546 > ff02::1:2.547: [udp sum ok] dhcp6 solicit (xid=f8137d
(elapsed-time 3188) (option-request SIP-servers-domain SIP-servers-address
DNS-server DNS-search-list SNTP-servers NTP-server AFTR-Name opt_67 opt_82
opt_83 opt_94 opt_95 opt_96) (client-ID hwaddr type 1 021018010001)
(reconfigure-accept) (Client-FQDN) (IA_NA IAID:1 T1:0 T2:0) (IA_PD IAID:1
T1:0 T2:0 (IA_PD-prefix ::/0 pltime:0 vltime:0)))
14:30:16.698863 IP6 (hlim 1, next-header UDP (17) payload length: 142)
fe80::5679:c386.546 > ff02::1:2.547: [udp sum ok] dhcp6 solicit (xid=f8137d
(elapsed-time 6486) (option-request SIP-servers-domain SIP-servers-address
DNS-server DNS-search-list SNTP-servers NTP-server AFTR-Name opt_67 opt_82
opt_83 opt_94 opt_95 opt_96) (client-ID hwaddr type 1 021018010001)
(reconfigure-accept) (Client-FQDN) (IA_NA IAID:1 T1:0 T2:0) (IA_PD IAID:1
T1:0 T2:0 (IA_PD-prefix ::/0 pltime:0 vltime:0)))

Din câte văd capătul remote nu răspunde nici la router solicitation, nici
la DHCP. Nu e problemă nici de firewall (zic eu), pentru că tcpdump
capturează înainte de netfilter și aș fi văzut traficul de întoarcere
înainte de a fi dropat. Oricum, am active regulile implicite de Allow
DHCPv6, Allow ICMPv6, dar pare să fie liniște pe linie...

Setările de ppp par să fie la fel. Eu am, în schimb, o versiune ceva mai
veche...

root@arcturus:~# psy `pgrep ppp`
10304 /usr/sbin/pppd nodetach ipparam WAN ifname pppoe-WAN +ipv6
nodefaultroute usepeerdns persist maxfail 1 user XXXXX password YYYYYYY
ip-up-script /lib/netifd/ppp-up ipv6-up-script /lib/netifd/ppp-up
ip-down-script /lib/netifd/ppp-down ipv6-down-script /lib/netifd/ppp-down
mtu 1492 mru 1492 plugin rp-pppoe.so nic-eth0.10
root@arcturus:~#
root@arcturus:~# grep -i barrier /rom/etc/banner
 BARRIER BREAKER (Barrier Breaker, r44065)

Alte idei? Sau întreb și la RDS?

On Thu, Sep 3, 2015 at 1:58 PM, Nicu <[email protected]> wrote:

> 2015-09-03 11:52 GMT+03:00 Adrian Popa <[email protected]>:
> > config interface 'WAN'
> >     option ifname 'eth0.10'
> >     option _orig_ifname 'eth0.10'
> >     option _orig_bridge 'false'
> >     option proto 'pppoe'
> >     option username 'XXXXX'
> >     option password 'XXXXX'
> >     option ipv6 '1'
> >
> > config interface 'WAN6'
> >     option ifname '@WAN'
> >     option proto 'dhcpv6'
> >
> >
> > Am dat restart interfeței WAN6, dar tot nu primesc nimic prin DHCPv6
>
> Sigur nu e blocat din firewall?
> Trebuie sa lasi sa treaca atit dhcpv6 (deschide port 546) cit si icmpv6.
>
> Prin /etc/config/firewall trebuie sa ai ceva de genul:
>
> # Allow DHCPv6 replies
> # see https://dev.openwrt.org/ticket/10381
> config rule
>         option name             Allow-DHCPv6
>         option src              wan
>         option proto            udp
>         option src_ip           fe80::/10
>         option src_port         547
>         option dest_ip          fe80::/10
>         option dest_port        546
>         option family           ipv6
>         option target           ACCEPT
> # Allow essential incoming IPv6 ICMP traffic
> [... configuratia standard, n-am modificat nimic pe aici]
>
> > root@arcturus:~# strace -p 11717
>
> O unealta mai buna pentru debugging in cazuri de-astea e tcpdump ;-)
>
> > Vroiam să te întreb cum arată /etc/ppp/options - am văzut exemple în care
> > trebuie activat ipv6 acolo (pentru IP6CP), dar nu știu dacă e necesar pt
>
> De asta are grija 'option ipv6 1' din /etc/config/network.
>
> XXX# psy(){ for p; do echo -n "$p "; cat /proc/$p/cmdline; echo; done
> | tr '\000' ' '; }
> XXX# psy `pgrep ppp`
> 4461 /usr/sbin/pppd nodetach ipparam wan ifname pppoe-wan +ipv6
> nodefaultroute usepeerdns persist maxfail 1 user XXXX password YYYY
> ip-up-script /lib/netifd/ppp-up ipv6-up-script /lib/netifd/ppp-up
> ip-down-script /lib/netifd/ppp-down ipv6-down-script
> /lib/netifd/ppp-down mtu 1492 mru 1492 plugin rp-pppoe.so nic-eth0.2
> XXX# cat /etc/ppp/options
> #debug
> logfile /dev/null
> noipdefault
> noaccomp
> nopcomp
> nocrtscts
> lock
> maxfail 0
> lcp-echo-failure 5
> lcp-echo-interval 1
> XXX# grep -i barrier /rom/etc/banner
>  BARRIER BREAKER (Barrier Breaker, r45951)
> _______________________________________________
> RLUG mailing list
> [email protected]
> http://lists.lug.ro/mailman/listinfo/rlug
>
_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug

Raspunde prin e-mail lui