<div dir="ltr"><div><div><div><div>Mi sta cacciando un po pazzo sta storia. Ora ho riflashato CC sulla rspro.<br></div>Ho lasciato tutto standard, ho cambiato solo il file /etc/config/network:<br><br>config interface 'loopback'<br>       option ifname 'lo'<br>       option proto 'static'<br>       option ipaddr '127.0.0.1'<br>       option netmask '255.0.0.0'<br><br>config globals 'globals'<br>       option ula_prefix 'fdef:8f07:2880::/48'<br><br>config interface 'lan'<br>       option ifname 'eth1'<br>       option force_link '1'<br>       option type 'bridge'<br>       option proto 'static'<br>       option ipaddr '192.168.1.1'<br>       option netmask '255.255.255.0'<br>       option ip6assign '64'<br><br>config interface 'wan'<br>       option ifname 'eth0'<br>       option _orig_ifname 'eth0'<br>       option _orig_bridge 'false'<br>       option proto 'pppoe'<br>       option username '<a href="mailto:adsl@alice6.it">adsl@alice6.it</a>'<br>       option password 'IPV6@alice6'<br>       option ipv6 '1'<br><br>config interface 'wan6'<br>       option proto 'dhcpv6'<br>       option _orig_ifname 'eth0'<br>       option _orig_bridge 'false'<br>       option ifname '@wan'<br>       option reqaddress 'try'<br>       option reqprefix 'auto'<br><br>config switch<br>       option name 'switch0'<br>       option reset '1'<br>       option enable_vlan '1'<br><br>config switch_vlan<br>       option device 'switch0'<br>       option vlan '1'<br>       option ports '0 1 2 3 4'<br><br></div>Output di route -Ainet6:<br><br>Kernel IPv6 routing table<br>Destination                                Next Hop                               Flags Metric Ref   Use Iface<br>::/0                                       fe80::90:1a00:1a4:d80f                 UG   512   0       0 pppoe-wan<br>2a01:2000:2000:d01::/64                    ::                                     U    256   0       0 pppoe-wan<br>fdef:8f07:2880::/64                        ::                                     U    1024  0       0 br-lan <br>fe80::/64                                  ::                                     U    256   0       0 br-lan <br>fe80::/64                                  ::                                     U    256   0       0 eth0   <br>fe80::/10                                  ::                                     U    1     0       0 pppoe-wan<br>fe80::/10                                  ::                                     U    256   0       0 pppoe-wan<br>::1/128                                    ::                                     U    0     0       1 lo     <br>2a01:2000:2000:d01::/128                   ::                                     U    0     0       1 lo     <br>2a01:2000:2000:d01::1/128                  ::                                     U    0     0       1 lo     <br>fdef:8f07:2880::/128                       ::                                     U    0     0       1 lo     <br>fdef:8f07:2880::1/128                      ::                                     U    0     0       1 lo     <br>fe80::/128                                 ::                                     U    0     0       1 lo     <br>fe80::/128                                 ::                                     U    0     0       1 lo     <br>fe80::/128                                 ::                                     U    0     0       1 lo     <br>fe80::1/128                                ::                                     U    0     0       1 lo     <br>fe80::15:6dff:fec6:8265/128                ::                                     U    0     0       1 lo     <br>fe80::215:6dff:fec6:8265/128               ::                                     U    0     0       1 lo     <br>ff02::1/128                                ::                                     UC   0     6       0 pppoe-wan<br>ff02::1/128                                ::                                     UC   0     5       0 br-lan <br>ff02::2/128                                ::                                     UC   0     4       0 br-lan <br>ff02::1:2/128                              ::                                     UC   0     7       0 pppoe-wan<br>ff00::/8                                   ::                                     U    256   0       2 br-lan <br>ff00::/8                                   ::                                     U    256   0       0 eth0   <br>ff00::/8                                   ::                                     U    256   0       2 pppoe-wan<br><br></div>Output di logread:<br>[...]<br>Thu May 19 19:18:19 2016 <a href="http://daemon.info">daemon.info</a> procd: - init complete -<br>Thu May 19 19:18:20 2016 <a href="http://kern.info">kern.info</a> kernel: [  19.850000] device eth1 entered promiscuous mode<br>Thu May 19 19:18:20 2016 daemon.notice netifd: Interface 'lan' is enabled<br>Thu May 19 19:18:20 2016 daemon.notice netifd: Interface 'lan' is setting up now<br>Thu May 19 19:18:20 2016 <a href="http://kern.info">kern.info</a> kernel: [  19.870000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready<br>Thu May 19 19:18:20 2016 daemon.notice netifd: Interface 'lan' is now up<br>Thu May 19 19:18:20 2016 daemon.notice netifd: Interface 'loopback' is enabled<br>Thu May 19 19:18:20 2016 daemon.notice netifd: Interface 'loopback' is setting up now<br>Thu May 19 19:18:20 2016 daemon.notice netifd: Interface 'loopback' is now up<br>Thu May 19 19:18:20 2016 daemon.notice netifd: Interface 'wan' is enabled<br>Thu May 19 19:18:20 2016 <a href="http://kern.info">kern.info</a> kernel: [  19.910000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready<br>Thu May 19 19:18:20 2016 daemon.notice netifd: Network device 'lo' link is up<br>Thu May 19 19:18:20 2016 daemon.notice netifd: Interface 'loopback' has link connectivity<br>Thu May 19 19:18:20 2016 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)<br>Thu May 19 19:18:22 2016 kern.debug kernel: [  21.640000] ar71xx: pll_reg 0xb8050014: 0x110000<br>Thu May 19 19:18:22 2016 <a href="http://kern.info">kern.info</a> kernel: [  21.640000] eth1: link up (1000Mbps/Full duplex)<br>Thu May 19 19:18:22 2016 <a href="http://kern.info">kern.info</a> kernel: [  21.640000] br-lan: port 1(eth1) entered forwarding state<br>Thu May 19 19:18:22 2016 <a href="http://kern.info">kern.info</a> kernel: [  21.650000] br-lan: port 1(eth1) entered forwarding state<br>Thu May 19 19:18:22 2016 daemon.notice netifd: Network device 'eth1' link is up<br>Thu May 19 19:18:22 2016 <a href="http://kern.info">kern.info</a> kernel: [  21.650000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready<br>Thu May 19 19:18:22 2016 daemon.notice netifd: Bridge 'br-lan' link is up<br>Thu May 19 19:18:22 2016 daemon.notice netifd: Interface 'lan' has link connectivity<br>Thu May 19 19:18:23 2016 kern.debug kernel: [  22.640000] ar71xx: pll_reg 0xb8050010: 0x1099<br>Thu May 19 19:18:23 2016 <a href="http://kern.info">kern.info</a> kernel: [  22.640000] eth0: link up (100Mbps/Full duplex)<br>Thu May 19 19:18:23 2016 <a href="http://kern.info">kern.info</a> kernel: [  22.640000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready<br>Thu May 19 19:18:23 2016 daemon.notice netifd: Network device 'eth0' link is up<br>Thu May 19 19:18:23 2016 daemon.notice netifd: Interface 'wan' has link connectivity<br>Thu May 19 19:18:23 2016 daemon.notice netifd: Interface 'wan' is setting up now<br>Thu May 19 19:18:23 2016 <a href="http://daemon.info">daemon.info</a> pppd[971]: Plugin rp-pppoe.so loaded.<br>Thu May 19 19:18:23 2016 <a href="http://daemon.info">daemon.info</a> pppd[971]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.7<br>Thu May 19 19:18:23 2016 daemon.notice pppd[971]: pppd 2.4.7 started by root, uid 0<br>Thu May 19 19:18:23 2016 <a href="http://daemon.info">daemon.info</a> dnsmasq[968]: started, version 2.73 cachesize 150<br>Thu May 19 19:18:23 2016 <a href="http://daemon.info">daemon.info</a> dnsmasq[968]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ip$<br>Thu May 19 19:18:23 2016 <a href="http://daemon.info">daemon.info</a> dnsmasq[968]: DNS service limited to local subnets<br>Thu May 19 19:18:23 2016 <a href="http://daemon.info">daemon.info</a> dnsmasq-dhcp[968]: DHCP, IP range 192.168.1.100 -- 192.168.1.249, lease time 12h<br>Thu May 19 19:18:23 2016 <a href="http://daemon.info">daemon.info</a> dnsmasq[968]: using local addresses only for domain lan<br>Thu May 19 19:18:23 2016 daemon.warn dnsmasq[968]: no servers found in /tmp/resolv.conf.auto, will retry<br>Thu May 19 19:18:23 2016 <a href="http://daemon.info">daemon.info</a> dnsmasq[968]: read /etc/hosts - 1 addresses<br>Thu May 19 19:18:23 2016 <a href="http://daemon.info">daemon.info</a> dnsmasq[968]: read /tmp/hosts/dhcp - 1 addresses<br>Thu May 19 19:18:23 2016 <a href="http://daemon.info">daemon.info</a> dnsmasq-dhcp[968]: read /etc/ethers - 0 addresses<br>Thu May 19 19:18:24 2016 <a href="http://kern.info">kern.info</a> kernel: [  23.640000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 2 is up<br>Thu May 19 19:18:24 2016 <a href="http://kern.info">kern.info</a> kernel: [  23.640000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 3 is up<br>Thu May 19 19:18:24 2016 <a href="http://kern.info">kern.info</a> kernel: [  23.650000] br-lan: port 1(eth1) entered forwarding state<br>Thu May 19 19:18:24 2016 <a href="http://daemon.info">daemon.info</a> dnsmasq-dhcp[968]: DHCPDISCOVER(br-lan) 192.168.1.213 00:1e:68:4a:ba:a3<br>Thu May 19 19:18:24 2016 <a href="http://daemon.info">daemon.info</a> dnsmasq-dhcp[968]: DHCPOFFER(br-lan) 192.168.1.213 00:1e:68:4a:ba:a3<br>Thu May 19 19:18:24 2016 <a href="http://daemon.info">daemon.info</a> dnsmasq-dhcp[968]: DHCPREQUEST(br-lan) 192.168.1.213 00:1e:68:4a:ba:a3<br>Thu May 19 19:18:24 2016 <a href="http://daemon.info">daemon.info</a> dnsmasq-dhcp[968]: DHCPACK(br-lan) 192.168.1.213 00:1e:68:4a:ba:a3 L4pt0p<br>Thu May 19 19:18:28 2016 <a href="http://daemon.info">daemon.info</a> pppd[971]: PPP session is 1<br>Thu May 19 19:18:28 2016 daemon.warn pppd[971]: Connected to 30:39:f2:ab:55:0d via interface eth0<br>Thu May 19 19:18:28 2016 <a href="http://daemon.info">daemon.info</a> pppd[971]: Using interface pppoe-wan<br>Thu May 19 19:18:28 2016 daemon.notice pppd[971]: Connect: pppoe-wan <--> eth0<br>Thu May 19 19:18:28 2016 <a href="http://kern.info">kern.info</a> kernel: [  28.270000] pppoe-wan: renamed from ppp0<br>Thu May 19 19:18:32 2016 daemon.notice pppd[971]: PAP authentication succeeded<br>Thu May 19 19:18:32 2016 daemon.notice pppd[971]: peer from calling number 30:39:F2:AB:55:0D authorized<br>Thu May 19 19:18:33 2016 daemon.notice pppd[971]: local IP address 79.24.190.237<br>Thu May 19 19:18:33 2016 daemon.notice pppd[971]: remote IP address 192.168.100.1<br>Thu May 19 19:18:33 2016 daemon.notice pppd[971]: primary  DNS address 85.38.28.120<br>Thu May 19 19:18:33 2016 daemon.notice pppd[971]: secondary DNS address 85.38.28.121<br>Thu May 19 19:18:33 2016 daemon.notice pppd[971]: local LL address fe80::0000:0000:0000:0001<br>Thu May 19 19:18:33 2016 daemon.notice pppd[971]: remote LL address fe80::0090:1a00:01a4:d80f<br>Thu May 19 19:18:33 2016 daemon.notice netifd: Network device 'pppoe-wan' link is up<br>Thu May 19 19:18:33 2016 daemon.notice netifd: Interface 'wan6' is enabled<br>Thu May 19 19:18:33 2016 daemon.notice netifd: Network alias 'pppoe-wan' link is up<br>Thu May 19 19:18:33 2016 daemon.notice netifd: Interface 'wan6' has link connectivity<br>Thu May 19 19:18:33 2016 daemon.notice netifd: Interface 'wan6' is setting up now<br>Thu May 19 19:18:33 2016 daemon.notice netifd: Interface 'wan' is now up<br>Thu May 19 19:18:33 2016 <a href="http://daemon.info">daemon.info</a> dnsmasq[968]: reading /tmp/resolv.conf.auto<br>Thu May 19 19:18:33 2016 <a href="http://daemon.info">daemon.info</a> dnsmasq[968]: using local addresses only for domain lan<br>Thu May 19 19:18:33 2016 <a href="http://daemon.info">daemon.info</a> dnsmasq[968]: using nameserver 85.38.28.120#53<br>Thu May 19 19:18:33 2016 <a href="http://daemon.info">daemon.info</a> dnsmasq[968]: using nameserver 85.38.28.121#53<br>Thu May 19 19:18:33 2016 <a href="http://daemon.info">daemon.info</a> dnsmasq[968]: reading /tmp/resolv.conf.auto<br>Thu May 19 19:18:33 2016 <a href="http://daemon.info">daemon.info</a> dnsmasq[968]: using local addresses only for domain lan<br>Thu May 19 19:18:33 2016 <a href="http://daemon.info">daemon.info</a> dnsmasq[968]: using nameserver 85.38.28.120#53<br>Thu May 19 19:18:33 2016 <a href="http://daemon.info">daemon.info</a> dnsmasq[968]: using nameserver 85.38.28.121#53<br>Thu May 19 19:18:33 2016 <a href="http://daemon.info">daemon.info</a> dnsmasq[968]: using nameserver 85.38.28.120#53<br>Thu May 19 19:18:33 2016 <a href="http://daemon.info">daemon.info</a> dnsmasq[968]: using nameserver 85.38.28.121#53<br>Thu May 19 19:18:33 2016 user.notice firewall: Reloading firewall due to ifup of wan (pppoe-wan)<br>Thu May 19 19:18:34 2016 <a href="http://daemon.info">daemon.info</a> dnsmasq[968]: exiting on receipt of SIGTERM<br>Thu May 19 19:18:34 2016 <a href="http://daemon.info">daemon.info</a> dnsmasq[1131]: started, version 2.73 cachesize 150<br>Thu May 19 19:18:34 2016 <a href="http://daemon.info">daemon.info</a> dnsmasq[1131]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-i$<br>Thu May 19 19:18:34 2016 <a href="http://daemon.info">daemon.info</a> dnsmasq[1131]: DNS service limited to local subnets<br>Thu May 19 19:18:34 2016 <a href="http://daemon.info">daemon.info</a> dnsmasq-dhcp[1131]: DHCP, IP range 192.168.1.100 -- 192.168.1.249, lease time 12h<br>Thu May 19 19:18:34 2016 <a href="http://daemon.info">daemon.info</a> dnsmasq[1131]: using local addresses only for domain lan<br>Thu May 19 19:18:34 2016 <a href="http://daemon.info">daemon.info</a> dnsmasq[1131]: reading /tmp/resolv.conf.auto<br>Thu May 19 19:18:34 2016 <a href="http://daemon.info">daemon.info</a> dnsmasq[1131]: using local addresses only for domain lan<br>Thu May 19 19:18:34 2016 <a href="http://daemon.info">daemon.info</a> dnsmasq[1131]: using nameserver 85.38.28.120#53<br>Thu May 19 19:18:34 2016 <a href="http://daemon.info">daemon.info</a> dnsmasq[1131]: using nameserver 85.38.28.121#53<br>Thu May 19 19:18:34 2016 <a href="http://daemon.info">daemon.info</a> dnsmasq[1131]: using nameserver 85.38.28.120#53<br>Thu May 19 19:18:34 2016 <a href="http://daemon.info">daemon.info</a> dnsmasq[1131]: using nameserver 85.38.28.121#53<br>Thu May 19 19:18:34 2016 <a href="http://daemon.info">daemon.info</a> dnsmasq[1131]: read /etc/hosts - 1 addresses<br>Thu May 19 19:18:34 2016 <a href="http://daemon.info">daemon.info</a> dnsmasq[1131]: read /tmp/hosts/dhcp - 1 addresses<br>Thu May 19 19:18:34 2016 <a href="http://daemon.info">daemon.info</a> dnsmasq-dhcp[1131]: read /etc/ethers - 0 addresses<br>Thu May 19 19:18:36 2016 daemon.notice netifd: Interface 'wan6' is now up<br>Thu May 19 19:18:36 2016 user.notice firewall: Reloading firewall due to ifup of wan6 (pppoe-wan)<br>Thu May 19 19:18:37 2016 daemon.warn odhcpd[790]: A default route is present but there is no public prefix on br-lan thus we don't announce a default route!<br>Thu May 19 19:29:56 2016 <a href="http://daemon.info">daemon.info</a> pppd[971]: System time change detected.<br>Thu May 19 19:30:07 2016 kern.notice kernel: [  71.010000] random: nonblocking pool is initialized<br>Thu May 19 19:30:17 2016 daemon.warn odhcpd[790]: A default route is present but there is no public prefix on br-lan thus we don't announce a default route!<br><br><br><br></div>Output di ifstatus wan6:<br><br>{<br>       "up": true,<br>       "pending": false,<br>       "available": true,<br>       "autostart": true,<br>       "dynamic": false,<br>       "uptime": 137,<br>       "l3_device": "pppoe-wan",<br>       "proto": "dhcpv6",<br>       "device": "pppoe-wan",<br>       "updated": [<br>               "routes"<br>       ],<br>       "metric": 0,<br>       "delegation": true,<br>       "ipv4-address": [<br>               <br>       ],<br>       "ipv6-address": [<br>               {<br>                       "address": "2a01:2000:2000:d01::1",<br>                       "mask": 64,<br>                       "preferred": 604757,<br>                       "valid": 2591957<br>               }<br>       ],<br>       "ipv6-prefix": [<br>               <br>       ],<br>       "ipv6-prefix-assignment": [<br>               <br>       ],<br>       "route": [<br>               {<br>                       "target": "2a01:2000:2000:d01::",<br>                       "mask": 64,<br>                       "nexthop": "::",<br>                       "metric": 256,<br>                       "valid": 2591977,<br>                       "source": "::\/0"<br>               }<br>       ],<br>       "dns-server": [<br>               <br>       ],<br>       "dns-search": [<br>               <br>       ],<br>       "inactive": {<br>               "ipv4-address": [<br>                       <br>               ],<br>               "ipv6-address": [<br>                       <br>               ],<br>               "route": [<br>                       <br>               ],<br>               "dns-server": [<br>                       <br>               ],<br>               "dns-search": [<br>                       <br>               ]<br>       },<br>       "data": {<br>               <br>       }<br>}<br><br><div><div>Aggiungo che con questa config il router esce in ipv4 e non in ipv6, i client non navigano nè in ipv4 nè in ipv6.<br><br></div><div>Suggerimenti?<br><br><br></div><div>Cristian<br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">Il giorno 18 maggio 2016 21:09, Stefano De Carlo <span dir="ltr"><<a href="mailto:stefanauss@gmail.com" target="_blank">stefanauss@gmail.com</a>></span> ha scritto:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Il 18/05/2016 18:48, Cristian Astorino ha scritto:<br>
</span><span class="">> Sulla br-lan mi ritrovo un indirizzo global, ma non sembra essere proveniente da telecom:<br>
<br>
</span>Ah si, quello è un ULA (un "privato" di IPv6), ma in effetti ce ne dovrebbe essere uno public global che manca.<br>
<br>
Stefanauss.<br>
<br>
<br>_______________________________________________<br>
Calabria mailing list<br>
<a href="mailto:Calabria@ml.ninux.org">Calabria@ml.ninux.org</a><br>
<a href="http://ml.ninux.org/mailman/listinfo/calabria" rel="noreferrer" target="_blank">http://ml.ninux.org/mailman/listinfo/calabria</a><br>
<br></blockquote></div><br></div>