I'm running an x86 router with OpenWRT ((git-16.018.33482-3201903) / OpenWrt Chaos Calmer 15.05) and I'm having issues with IPv6.
The router can see and talk to IPv6 sites on the internet just fine:
root@Router:~# traceroute6 www.google.com
traceroute to www.google.com (2607:f8b0:400f:803::2004) from 2001:470:1f16:174::2, 30 hops max, 24 byte packets
1 anaerin-1.tunnel.tserv1.ywg1.ipv6.he.net (2001:470:1f16:174::1) 84.5 ms 84.347 ms 83.572 ms
2 ge2-20.core1.ywg1.he.net (2001:470:0:2b8::1) 91.215 ms 84.23 ms 90.422 ms
3 10ge1-6.core1.msp1.he.net (2001:470:0:2dd::1) 111.456 ms 100.77 ms 100.237 ms
4 100ge7-1.core1.chi1.he.net (2001:470:0:18e::1) 99.979 ms 99.966 ms 100.152 ms
5 eqixchi-v6.google.com (2001:504:0:4:0:1:5169:1) 100.005 ms 99.175 ms 100.148 ms
6 2001:4860::1:0:aa79 (2001:4860::1:0:aa79) 100.894 ms 101.004 ms 100.133 ms
7 2001:4860::8:0:9150 (2001:4860::8:0:9150) 119.603 ms 119.419 ms 120.486 ms
8 2001:4860::8:0:b0e2 (2001:4860::8:0:b0e2) 118.673 ms 118.611 ms 118.686 ms
9 2001:4860::8:0:79e5 (2001:4860::8:0:79e5) 119.624 ms 118.629 ms 118.599 ms
10 2001:4860::1:0:8831 (2001:4860::1:0:8831) 118.753 ms 119.319 ms 118.579 ms
11 2001:4860:0:1::1221 (2001:4860:0:1::1221) 119.669 ms 119.517 ms 118.664 ms
12 den03s10-in-x04.1e100.net (2607:f8b0:400f:803::2004) 119.542 ms 119.466 ms 118.685 ms
root@Router:~#
But my clients aren't getting issued IPv6 addresses:
Robert@ANAERIN-PC C:\Users\Robert
> ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : Anaerin-PC
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : lan
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . : lan
Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller
Physical Address. . . . . . . . . : 74-D0-2B-96-1A-8B
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::747b:52e9:a206:ca3b%13(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.0.10(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : March 8, 2016 4:05:49 PM
Lease Expires . . . . . . . . . . : March 14, 2016 10:53:48 PM
Default Gateway . . . . . . . . . : 192.168.0.1
DHCP Server . . . . . . . . . . . : 192.168.0.1
DHCPv6 IAID . . . . . . . . . . . : 57987115
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1A-F9-7C-41-74-D0-2B-96-1A-8B
DNS Servers . . . . . . . . . . . : 192.168.0.1
NetBIOS over Tcpip. . . . . . . . : Disabled
ifstatus wan6 gives me:
root@Router:~# ifstatus wan6
{
"up": true,
"pending": false,
"available": true,
"autostart": true,
"dynamic": false,
"uptime": 446,
"l3_device": "6in4-wan6",
"proto": "6in4",
"updated": [
"addresses",
"routes",
"prefixes"
],
"metric": 0,
"delegation": true,
"ipv4-address": [
],
"ipv6-address": [
{
"address": "2001:470:1f16:174::2",
"mask": 64
}
],
"ipv6-prefix": [
{
"address": "2001:470:3074::",
"mask": 48,
"class": "wan6",
"assigned": {
"lan": {
"address": "2001:470:3074::",
"mask": 60
}
}
}
],
"ipv6-prefix-assignment": [
],
"route": [
{
"target": "::",
"mask": 0,
"nexthop": "::",
"source": "2001:470:3074::\/48"
},
{
"target": "::",
"mask": 0,
"nexthop": "::",
"source": "2001:470:1f16:174::2\/64"
}
],
"dns-server": [
],
"dns-search": [
],
"inactive": {
"ipv4-address": [
],
"ipv6-address": [
],
"route": [
],
"dns-server": [
],
"dns-search": [
]
},
"data": {
}
}
And /etc/config/network reads:
root@Router:~# 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 interface 'lan'
option ifname 'eth0'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.0.1'
option netmask '255.255.255.0'
option ip6assign '60'
config interface 'wan'
option ifname 'eth1'
option proto 'dhcp'
option delegate '0'
config interface 'wan6'
option _orig_ifname 'eth1'
option _orig_bridge 'false'
option proto '6in4'
option peeraddr '184.105.255.26'
option ip6addr '2001:470:1f16:174::2/64'
option ip6prefix '2001:470:3074::/48'
option tunnelid '325727'
option username '<REMOVED>'
option updatekey '<REMOVED>'
config globals 'globals'
option ula_prefix 'fd56:0da3:9c31::/48'
root@Router:~#
And /etc/config/dhcp reads:
root@Router:~# cat /etc/config/dhcp
config dnsmasq
option domainneeded '1'
option boguspriv '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 localservice '1'
option filterwin2k '1'
option nonegcache '1'
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '150'
option leasetime '12h'
option ra 'relay'
option dhcpv6 'relay'
option ndp 'relay'
config dhcp 'wan'
option interface 'wan'
option ignore '1'
config dhcp 'wan6'
option ra 'relay'
option dhcpv6 'relay'
option ndp 'relay'
option master '1'
config odhcpd 'odhcpd'
option maindhcp '0'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/sbin/odhcpd-update'
config host
option name 'Anaerin-PC'
option mac '74:d0:2b:96:1a:8b'
option ip '192.168.0.10'
So everything should be fine, right? What am I missing?
(Last edited by Anaerin on 14 Mar 2016, 21:06)