From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-x231.google.com (mail-lf0-x231.google.com [IPv6:2a00:1450:4010:c07::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id EC4523B2DA for ; Tue, 21 Jun 2016 17:20:45 -0400 (EDT) Received: by mail-lf0-x231.google.com with SMTP id h129so44432811lfh.1 for ; Tue, 21 Jun 2016 14:20:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:subject:to:references:cc:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=1OIed4G+rouSZYiuxmoH2eUFYr4ulFz1O+SIIhywn80=; b=Tvu6XL7r53i53sIxbBij1aNnet0jzRuT31mv5CE9Ok79K7Qyz4UYsVjFdHiEwQ4XMA rUcNIJ8HPjVX0bdPA2SQTyWNRYRoxaPyw2DiVsMrlpXreI9zO/4UhoPMsy4jadaib93A vtlOrDJSpSLT8y7Y+6vFGAzsKCYfLIB6Z/pvtETNw1oGUY/+hEjQhPg5WMvxCOihCNTg mtXDDp8BrBdu5+rozyFFDjYAe5vw6vHOJKSvKrdxRSl5p+jmkZ9r23lYjOxTE0M13fCN ADd7WpMSwNvs2vJGLiF2+g+iFys0zp3flcmSzLF8x0s/5/PkY7RmzB3und1YsM4yoJL/ DqZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:subject:to:references:cc:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=1OIed4G+rouSZYiuxmoH2eUFYr4ulFz1O+SIIhywn80=; b=Muw8hKnWG2zGIf5AlzA2EPNQohZI5+AubxHMfhfbw1/Gf+a4WN21qexSDl/MdEforl SFkDZC3si5xfv5UBLmfcczuH9sD1MQSskUWQw0ERi4wI0e8J+eVQDzacxsowGNL/H6pb XLcswEL358cupmOGCm3A2Kd+a09SSoSfde8T1IbmsdlVB6etUdb2hgwfs8pnoNmdU/Rn pbhXBVFUV+Ttbh+FDVDnO8Z2eAfz56l48nTmGdj1NV3JR53SqtxIzwo5SWeJxKajkjoz ACVqs7yw4grM5oG92k7u3ZT1sFKlEG/iOVdbNuFH4m9EOvBQhbhsx8biqk1IuDWbQRJC 47xA== X-Gm-Message-State: ALyK8tL57tU2w9gs4Li4ErNcm+BcgxMJA3+52Anpv/fBqZaZoJJzsYaRAldng0hXKPi3XA== X-Received: by 10.28.130.2 with SMTP id e2mr5104570wmd.76.1466544044500; Tue, 21 Jun 2016 14:20:44 -0700 (PDT) Received: from [172.30.42.11] ([87.127.155.32]) by smtp.gmail.com with ESMTPSA id a4sm47907287wjq.40.2016.06.21.14.20.43 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 21 Jun 2016 14:20:44 -0700 (PDT) From: Simon Dalley To: Dave Taht References: Cc: "cerowrt-devel@lists.bufferbloat.net" Message-ID: <5769AFAB.5030603@gmail.com> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 30 Mar 2020 07:21:14 -0400 Subject: Re: [Cerowrt-devel] [Bloat] ipv6 not quite working for me on internal networks X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Tue, 21 Jun 2016 21:20:46 -0000 X-Original-Date: Tue, 21 Jun 2016 22:20:43 +0100 X-List-Received-Date: Tue, 21 Jun 2016 21:20:46 -0000 On 17/06/16 15:21, Dave Taht wrote: > On Thu, Jun 16, 2016 at 8:56 PM, Simon Dalley wrote: >> Hello, >> >> First, thanks for all the work to make cerowrt what it is. > Was. I am really encouraging everyone to update to lede at this point, > which has nearly everything that was "good" about cerowrt in it. Well, the nice thing about cerowrt "was" its improved list of setup defaults vs. openwrt, not least the routed-instead-of-bridged subnets which is so helpful on mixed wired/wireless. Has this been carried over into lede? Is there a recommended cerowrt-flavoured git branch in lede? >> I am having some difficulty with ipv6 on the "last hop", namely my internal >> network. >> >> Platform: Netgear WNDR3800 >> Cerowrt version: CeroWrt Toronto 3.10.50-1 / LuCI Trunk (svn-r10459) >> >> AQUISS, my UK ISP, provides an ipv6 address range: >> IPv6 Address 20xx:xxxx:xx55:ae00::/56 > Are you getting this via dhcp-pd or is it static? I had set the Network | Interfaces | GE00 check box "Enable IPv6 negotiation on the PPP link" and the options below for the WAN6 interface, but that didn't seem to do anything. Only when I added an explicit value for the "ipv6prefix" option did any global ipv6 addresses appear. In /etc/config/networks: config interface 'wan6' option ifname '@ge00' option proto 'dhcpv6' option broadcast '1' option metric '2048' option reqprefix '56' option reqaddress 'try' option ip6prefix '20xx:xxxx:xx55:ae00::/56' config interface 'ge00' option _orig_ifname 'ge00' option _orig_bridge 'false' option ifname 'ge00' option proto 'pppoe' option ipv6 '1' option username 'xxxxx@aquiss.com' option password 'xxxxx' option mtu '1458' >> Recommended MTU: 1458 bytes >> >> I can make ipv6 work when connecting PC host "centaur" directly to the cable >> modem and running pppd. ping6 ipv6.google.com etc works fine. > The "cable" modem is running over ppp??? Sorry, I shouldn't have just glibly said "cable modem". It's actually a FTTC DSL modem, serving via PPPoE. When I was trying it directly from the PC, I set it up using pppoeconf under ubuntu. >> Reconnecting via the WNDR3800, everything ipv4 related works fine with >> "centaur" on the se00 subnet. >> >> I can also ping6 without problems from the WNDR3800: >> root@cerowrt:~# ping6 ipv6.google.com >> PING ipv6.google.com (2a00:1450:4009:80f::200e): 56 data bytes >> 64 bytes from 2a00:1450:4009:80f::200e: seq=0 ttl=53 time=15.576 ms >> 64 bytes from 2a00:1450:4009:80f::200e: seq=1 ttl=53 time=14.959 ms >> 64 bytes from 2a00:1450:4009:80f::200e: seq=2 ttl=53 time=15.156 ms >> 64 bytes from 2a00:1450:4009:80f::200e: seq=3 ttl=53 time=15.044 ms >> ^C >> --- ipv6.google.com ping statistics --- >> 4 packets transmitted, 4 packets received, 0% packet loss >> round-trip min/avg/max = 14.959/15.183/15.576 ms >> >> but ping6 can't get through from centaur on se00: > A traceroute6 would be better. Try it from various source addresses on > the router. From centaur on se00: root@centaur:/etc/network# traceroute6 ipv6.google.com traceroute to ipv6.l.google.com (2a00:1450:400b:c00::71) from 20xx:xxxx:xx55:ae02::f48, 30 hops max, 24 byte packets 1 20xx:xxxx:xx55:ae02::1 (20xx:xxxx:xx55:ae02::1) 0.498 ms !N 0.559 ms !N 0.438 ms !N From cerowrt using default interface: root@cerowrt:/etc/config# traceroute6 ipv6.google.com traceroute to ipv6.google.com (2a00:1450:4009:80e::200e), 30 hops max, 16 byte packets 1 fe80::f60f:1bff:fe17:8d00%pppoe-ge00 (fe80::f60f:1bff:fe17:8d00%pppoe-ge00) 8.742 ms 8.763 ms 8.595 ms 2 gi1-2.inx.dist.dsl.enta.net (2001:4d48:feed:58::a) 8.901 ms 8.512 ms 8.410 ms 3 te2-2.interxion.dsl.enta.net (2001:4d48:feed:4b::a) 8.825 ms 8.628 ms 8.749 ms 4 te2-3.interxion.core.enta.net (2001:4d48:feed:22::a) 9.024 ms 7.482 ms 9.070 ms 5 2001:4d48:ace::44 (2001:4d48:ace::44) 15.690 ms 17.611 ms 15.333 ms 6 2001:4d48:ace::43 (2001:4d48:ace::43) 15.427 ms 15.566 ms 16.255 ms 7 2001:4860:1:1:0:2114:0:5 (2001:4860:1:1:0:2114:0:5) 15.109 ms 14.715 ms 14.300 ms 8 2001:4860:1:1:0:2114:0:4 (2001:4860:1:1:0:2114:0:4) 14.467 ms 15.516 ms 14.986 ms 9 2001:4860::1:0:cd12 (2001:4860::1:0:cd12) 15.367 ms 15.571 ms 15.638 ms 10 2001:4860::8:0:87b7 (2001:4860::8:0:87b7) 14.824 ms 24.848 ms 15.119 ms 11 2001:4860::8:0:ac54 (2001:4860::8:0:ac54) 15.387 ms 29.964 ms 15.637 ms 12 2001:4860::1:0:ab9d (2001:4860::1:0:ab9d) 16.347 ms 16.363 ms 15.685 ms 13 2001:4860:0:1::1b27 (2001:4860:0:1::1b27) 16.147 ms 16.556 ms 15.459 ms 14 2001:4860:0:1::1755 (2001:4860:0:1::1755) 15.657 ms 15.828 ms 15.434 ms 15 lhr25s01-in-x200e.1e100.net (2a00:1450:4009:80e::200e) 15.515 ms 15.551 ms 15.457 ms From cerowrt but using se00 interface's address: root@cerowrt:/etc/config# traceroute6 -s 20xx:xxxx:xx55:ae02::1 ipv6.google.com traceroute to ipv6.google.com (2a00:1450:4009:80e::200e) from 20xx:xxxx:xx55:ae02::1, 30 hops max, 16 byte packets 1traceroute6: sendto: Operation not permitted > Disabling the firewall for ipv6 is sometimes helpful also, for debugging. I tried /etc/init.d/firewall stop but that disabled all traffic. What's the recommended way of temporarily enabling everything? > You might also want a reqprefix of 56 in the wan stanza. Already done. > We did not have much chance to test against any other prefix sizes > than 64, 60, and 48. > >> root@centaur:/etc/network# ping6 ipv6.google.com >> PING ipv6.google.com(lhr25s02-in-x200e.1e100.net) 56 data bytes >> From lhr25s02-in-x200e.1e100.net icmp_seq=1 Destination unreachable: No >> route >> From lhr25s02-in-x200e.1e100.net icmp_seq=2 Destination unreachable: No >> route >> From lhr25s02-in-x200e.1e100.net icmp_seq=3 Destination unreachable: No >> route >> From lhr25s02-in-x200e.1e100.net icmp_seq=4 Destination unreachable: No >> route >> ^C >> --- ipv6.google.com ping statistics --- >> 4 packets transmitted, 0 received, +4 errors, 100% packet loss, time >> 3024ms >> >> For your information, ipv6 routes on centaur are: >> root@centaur:/etc/network# ip -6 route >> 20xx:xxxx:xx55:ae10::f48 dev eth0 proto kernel metric 256 expires >> 84847sec pref medium >> 20xx:xxxx:xx55:ae10::/64 dev eth0 proto ra metric 100 pref medium >> 20xx:xxxx:xx55:ae00::/56 via fe80::2cb0:5dff:fea6:94ad dev eth0 proto ra >> metric 100 pref medium >> fe80::/64 dev eth0 proto kernel metric 256 pref medium >> default via fe80::2cb0:5dff:fea6:94ad dev eth0 proto static metric 100 >> pref medium >> >> and on the router are: >> root@cerowrt:~# ip -6 route >> default from :: via fe80::f60f:1bff:fe17:8d00 dev pppoe-ge00 proto static >> metric 1024 >> default from 20:xx:xxxx:xx00:55ae::/64 via fe80::f60f:1bff:fe17:8d00 dev >> pppoe-ge00 proto static metric 1024 > you should also have had a default from > > 20xx:xxxx:xx55:ae00::/56 > > I think. > > ip -6 route add default from > >> 20xx:xxxx:xx55:ae00::/64 dev gw00 proto kernel metric 256 >> 20xx:xxxx:xx55:ae01::/64 dev gw10 proto kernel metric 256 >> 20xx:xxxx:xx55:ae02::/64 dev sw00 proto kernel metric 256 >> 20xx:xxxx:xx55:ae03::/64 dev sw10 proto kernel metric 256 >> 20xx:xxxx:xx55:ae10::/60 dev se00 proto kernel metric 256 > This appears wrong to me in that ae10 should have been a /64 I changed the "config interface 'se00'" option ip6assign back from '60' to '64'. Did not affect the routing problem. (I had earlier changed it to '60' to see if it made any difference.) >> unreachable 20xx:xxxx:xx55:ae00::/56 dev lo proto static metric >> 2147483647 error -128 >> fe80::/64 dev se00 proto kernel metric 256 >> fe80::/64 dev ifb0 proto kernel metric 256 >> fe80::/64 dev sw10 proto kernel metric 256 >> fe80::/64 dev sw00 proto kernel metric 256 >> fe80::/64 dev gw10 proto kernel metric 256 >> fe80::/64 dev gw00 proto kernel metric 256 >> fe80::/64 dev ge00 proto kernel metric 256 >> fe80::/10 dev pppoe-ge00 metric 1 >> fe80::/10 dev pppoe-ge00 proto kernel metric 256 >> >> I'm stumped. Can anybody help? >> >> regards, Simon >> >> _______________________________________________ >> Bloat mailing list >> Bloat@lists.bufferbloat.net >> https://lists.bufferbloat.net/listinfo/bloat >> >