I am struggling with the IPv6 home set-up. I don’t understand networking much to be honest.
My ISP informed me last year he is IPv6 fully capable.
I did not manage to set it up in my router since then. I told them, but they don’t care much since almost all web is Dual-stack / IPv4 capable.
So, they only came once to check if the problem is on their side: they claim it is not and that either my operating systems (Windows 10 Pro, Linux Mint 19.0 Cinnamon, Android 7.0) and their settings are the problems, or the router is badly set-up.
Since I am sure to have the IPv6 enabled in all of the mentioned systems, I come to realize that maybe my router is old, please understand it as no more supported, the model is: TP-Link Archer C5 v1.2 with firmware dated 2015-04-28.
Somehow sometimes, even early today I was able to get a set-up from DHCPv6 as follows:
IP: 2a02:768:7c00:14a:32b5:c2ff:feb9:c8f3/64 Gateway: fe80::225:90ff:fef5:7c13 DNS1: 2a02:768:0:1010::3 DNS2: 2a02:768:0:1010::2
The question (original)
Is such setting as above even technically correct, I mean I see the gateway as probably local-only address, is that the problem due to which I cannot browse IPv6-only sites?
UPDATE – OpenWrt
I am entirely new to OpenWrt. Please guide me. Thank you.
I have managed to upload OpenWrt 18.06.1 into my router and also made both the Wifi 5G and 2.4G working, with a public static IPv4 address.
- Model: TP-Link Archer C5 v1
- Architecture: Qualcomm Atheros QCA9558 ver 1 rev 0
- Firmware Version: OpenWrt 18.06.1 r7258-5eb055306f / LuCI openwrt-18.06 branch (git-18.228.31946-f64b152)
- Kernel Version: 4.9.120
I am able to SSH to the router as
root. Here are the most basic information.
# cat /etc/config/network config interface 'loopback' option ifname 'lo' option proto 'static' option ipaddr '127.0.0.1' option netmask '255.0.0.0' config globals 'globals' option ula_prefix 'fd62:320d:015a::/48' config interface 'lan' option type 'bridge' option ifname 'eth1.1' option proto 'static' option ipaddr '192.168.0.1' option netmask '255.255.255.0' option ip6addr '2a02:768:7c00:14a:32b5:c2ff:feb9:c8f3/64' option ip6gw 'fe80::225:90ff:fef5:7c13' config interface 'wan' option ifname 'eth0.2' option proto 'static' option ipaddr '10.7.113.62' option netmask '255.255.255.252' option gateway '10.7.113.61' option dns '18.104.22.168 10.255.255.10' config interface 'wan6' option ifname 'eth0.2' option proto 'static' config switch option name 'switch0' option reset '1' option enable_vlan '1' config switch_vlan option device 'switch0' option vlan '1' option ports '2 3 4 5 0t' config switch_vlan option device 'switch0' option vlan '2' option ports '1 6t'
# cat /etc/config/dhcp config dnsmasq option domainneeded '1' option localise_queries '1' option rebind_protection '1' option rebind_localhost '1' option local '/lan/' option domain 'lan' option expandhosts '1' option authoritative '1' option readethers '1' option leasefile '/tmp/dhcp.leases' option resolvfile '/tmp/resolv.conf.auto' option nonwildcard '1' option localservice '1' config dhcp 'lan' option interface 'lan' option start '100' option limit '150' option dhcpv6 'server' option ra 'server' option force '1' option ra_management '1' option leasetime '15m' option ra_default '1' config dhcp 'wan' option interface 'wan' option ignore '1' option ra 'server' option dhcpv6 'server' option ra_management '1' list dns '2a02:768:0:1010:0:0:0:3' list dns '2a02:768:0:1010:0:0:0:2' config odhcpd 'odhcpd' option maindhcp '0' option leasefile '/tmp/hosts/odhcpd' option leasetrigger '/usr/sbin/odhcpd-update' option loglevel '4'
To answer the comment:
can you ping ipv6.google.com ? the ip addresses look logical. Its also worth mentioning what your ISP settings are – I had to find mine on their forums back in the day and the settings varied based on whether you’re on cable or fibre. Some local knowledge might be useful here.
- Not able to
ping6. 100% packet loss.
- ISP settings – see below.
I am on normal cable = ethernet = about 20/10 Mbit/s.
Ask me anything.
Current statuss from GUI:
I have tried to use DHCPv6 without success. That is why I posted this question.
- Name: Starnet s.r.o.
ASN: 44489, see here
IPv6 assignment: They told me they use the Native IPv6 using DHCPv6.
I have been informed by the ISP, they assign prefixes automatically through DHCPv6, and that no static configuration is possible at this point.
So, I removed all of the static settings and turned on DHCPv6 with a forced request for a 64 prefix.
Before I hit apply for enabling the DHCPv6 in WAN6 section, it looked like:
network.wan6.proto=dhcpv6 network.wan6.reqaddress=force network.wan6.reqprefix=64
This did not change a thing, what’s more, the IPv6 uplink is greyed out as Not configured.
In light of the fact they want an enormous amount of money without any guarantee that their technician would solve the problem in my place, I’m hereby putting one juicy bounty on this question.
I will try to edit this question in order for it to be clearer anytime you ask me a new question.
I browse the OpenWrt interface each day for 3 days, but maybe just maybe I found something new (to me at least), it is called VLANs, and I don’t know what is its purpose, so I am posting it:
I have found they do have some not really valuable information on their website:
Which you can easily Google translate for instance.
Another thing confirmed, I have found on their Facebook page:
The prefix is 64. And they plan on making 56 also.
At the current setting, and directly from LuCI (GUI) interface, when I try to
ipv6.google.com, I get:
PING ipv6.google.com (2a00:1450:400d:805::200e): 56 data bytes ping6: sendto: Permission denied
I have found the following bug report of my exact version:
The person suggests downgrading to 22.214.171.124 solves the IPv6 issue, could anyone competent have a look at that bug report for me, I don’t really understand it.
The bug report is absolutely correct, I do not understand why it is not assigned or why it has very low priority, but I was able to get IPv6 address prefix on 17.x firmware:
I don’t have internet connection from the 17.x firmware, just able to ping and ping6 directly from the router, please help me out to figure this out.