Author
Message
eugene1973 DD-WRT User Joined: 21 May 2017 Posts: 186
Back to top
Sponsor
Per Yngve Berg DD-WRT Guru Joined: 13 Aug 2013 Posts: 6870 Location: Romerike, Norway
Posted: Wed Aug 08, 2018 17:33 Post subject:
Here is my dhcp6c config:
interface eth0 {
send rapid-commit;
send ia-pd 1;
request domain-name-servers, domain-name;
};
id-assoc pd 1 {
prefix ::/48 infinity;
prefix-interface br0 {
sla-id 0;
sla-len 16;
};
prefix-interface ath1 {
sla-id 1;
sla-len 16;
};
prefix-interface eth1.3 {
sla-id 2;
sla-len 16;
};
};
DNSMasq:
quiet-dhcp
quiet-dhcp6
quiet-ra
enable-ra
dhcp-range=::10,::200,constructor:br0,ra-names,slaac,64,24h
dhcp-range=::10,::200,constructor:ath1,ra-names,slaac,64,24h
dhcp-range=::10,::200,constructor:eth1.3,ra-names,slaac,64,24h
Back to top
probity DD-WRT Novice Joined: 02 Aug 2018 Posts: 25
Posted: Wed Aug 08, 2018 19:21 Post subject:
eugene1973
Honestly I think that Radvd should be enabled.
I wish I had it enabled, but my router cannot get IPv6 from ISP then. I don't know why.
Using prefixing is important too.
Maybe if you just add a route from st dev on dd-wrt box to st/sp dev on gateway it will go global.
How is it possible to provide that? I do need step-by-step instructions or at least the link where I can read more about it. I quite far from Linux. I'm not an expert, sorry about that.
This talks about SLAAC and disabling a broadcast filter.
Yes, but they are talking about Aruba Instant Access Points, aren't they?
Per Yngve Berg
Thank you for sharing your configs!
I cannot see you have posted the output of 'ifconfig' on the router.
I must have missed your request, sorry. Here is it:
Code: ath0 Link encap:Ethernet HWaddr A0:40:A0:7C:XX:XX
inet6 addr: fe80::a240:a0ff:fe7c:XXXX/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:165 errors:0 dropped:0 overruns:0 frame:0
TX packets:3557 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:24088 (23.5 KiB) TX bytes:1041282 (1016.8 KiB)
ath1 Link encap:Ethernet HWaddr A0:40:A0:7C:XX:XX
inet6 addr: fe80::a240:a0ff:fe7c:XXXX/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8809 errors:0 dropped:0 overruns:0 frame:0
TX packets:12973 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1260137 (1.2 MiB) TX bytes:11899435 (11.3 MiB)
br0 Link encap:Ethernet HWaddr A0:40:A0:7C:XX:XX
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::a240:a0ff:fe7c:XXXX/64 Scope:Link
inet6 addr: 2a00:4580:100:2f70:XXX:ff:fe00:0/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:79536 errors:0 dropped:408 overruns:0 frame:0
TX packets:48753 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:76588859 (73.0 MiB) TX bytes:18297741 (17.4 MiB)
br0:0 Link encap:Ethernet HWaddr A0:40:A0:7C:XX:XX
inet addr:169.254.XXX.X Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
eth0 Link encap:Ethernet HWaddr A0:40:A0:7C:XX:XX
inet6 addr: fe80::a240:a0ff:fe7c:c825/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:32325 errors:0 dropped:30 overruns:0 frame:0
TX packets:61371 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:13005462 (12.4 MiB) TX bytes:74625419 (71.1 MiB)
Interrupt:255
eth1 Link encap:Ethernet HWaddr A0:40:A0:7C:XX:XX
inet6 addr: fe80::a240:a0ff:fe7c:XXXX/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:74949 errors:0 dropped:78 overruns:0 frame:0
TX packets:40656 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:77122915 (73.5 MiB) TX bytes:8190261 (7.8 MiB)
Interrupt:2
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MULTICAST MTU:65536 Metric:1
RX packets:28 errors:0 dropped:0 overruns:0 frame:0
TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2680 (2.6 KiB) TX bytes:2680 (2.6 KiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:XX.XXX.XXX.XX P-t-P:217.14.XXX.XX Mask:255.255.255.255
inet6 addr: fe80::44da:ea42:XXX:XX/10 Scope:Link
UP POINTOPOINT RUNNING MULTICAST MTU:1492 Metric:1
RX packets:32095 errors:0 dropped:0 overruns:0 frame:0
TX packets:61183 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:12280024 (11.7 MiB) TX bytes:73272409 (69.8 MiB)
Back to top
eugene1973 DD-WRT User Joined: 21 May 2017 Posts: 186
Posted: Wed Aug 08, 2018 23:03 Post subject:
Tell me what you see that says ipv6 doesn't work when you turn it on. Turn it on and paste what you see, then repaste the ifconfig -a. Also paste in "ip -6 address show".
Back to top
probity DD-WRT Novice Joined: 02 Aug 2018 Posts: 25
Posted: Thu Aug 09, 2018 12:56 Post subject:
eugene1973
Now when I'm enabling Radvd my router is able to get IPv6 address from ISP, but little bit later (5 minutes after rebooting).
Here is my ifconfig output:
Code: ath0 Link encap:Ethernet HWaddr A0:40:A0:7C:ХХ:ХХ
inet6 addr: fe80::a240:a0ff:fe7c:ХХХХ/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5859 errors:0 dropped:0 overruns:0 frame:0
TX packets:12943 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:941073 (919.0 KiB) TX bytes:5608566 (5.3 MiB)
ath1 Link encap:Ethernet HWaddr A0:40:A0:7C:ХХ:ХХ
inet6 addr: fe80::a240:a0ff:fe7c:ХХХХ/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6661 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:771147 (753.0 KiB)
br0 Link encap:Ethernet HWaddr A0:40:A0:7C:ХХ:ХХ
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::a240:a0ff:fe7c:ХХХХ/64 Scope:Link
inet6 addr: 2a00:4580:100:2f70:200:ff:ХХХХ:0/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2702653 errors:0 dropped:3591 overruns:0 frame:0
TX packets:2921855 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1824433263 (1.6 GiB) TX bytes:3146297779 (2.9 GiB)
br0:0 Link encap:Ethernet HWaddr A0:40:A0:7C:ХХ:ХХ
inet addr:169.254.ХХХ.Х Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
eth0 Link encap:Ethernet HWaddr A0:40:A0:7C:ХХ:ХХ
inet6 addr: fe80::a240:a0ff:fe7c:ХХХХ/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2889864 errors:0 dropped:3 overruns:0 frame:0
TX packets:2911873 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3158390234 (2.9 GiB) TX bytes:1893266522 (1.7 GiB)
Interrupt:255
eth1 Link encap:Ethernet HWaddr A0:40:A0:7C:ХХ:ХХ
inet6 addr: fe80::a240:a0ff:fe7c:ХХХХ/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2951051 errors:0 dropped:69 overruns:0 frame:0
TX packets:2915474 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1875090372 (1.7 GiB) TX bytes:3141477505 (2.9 GiB)
Interrupt:2
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MULTICAST MTU:65536 Metric:1
RX packets:65 errors:0 dropped:0 overruns:0 frame:0
TX packets:65 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6020 (5.8 KiB) TX bytes:6020 (5.8 KiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:ХХ.ХХХ.ХХХ.ХХ P-t-P:217.14.ХХХ.ХХ Mask:255.255.255.255
inet6 addr: fe80::1893:933:6ac2:ХХХХ/10 Scope:Link
UP POINTOPOINT RUNNING MULTICAST MTU:1492 Metric:1
RX packets:2547716 errors:0 dropped:5 overruns:0 frame:0
TX packets:2627562 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:2649611000 (2.4 GiB) TX bytes:1740542011 (1.6 GiB)
Here is my ifconfig -a output:
Code: ath0 Link encap:Ethernet HWaddr A0:40:A0:7C:ХХ:ХХ
inet6 addr: fe80::a240:a0ff:fe7c:XXXX/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:509 errors:0 dropped:0 overruns:0 frame:0
TX packets:2779 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:941073 (919.0 KiB) TX bytes:5608566 (5.3 MiB)
ath1 Link encap:Ethernet HWaddr A0:40:A0:7C:XX:XX
inet6 addr: fe80::a240:a0ff:fe7c:XXXX/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:2337 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:771147 (753.0 KiB)
br0 Link encap:Ethernet HWaddr A0:40:A0:7C:XX:XX
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::a240:a0ff:fe7c:XXXX/64 Scope:Link
inet6 addr: 2a00:4580:100:2f70:200:XX:XXXX:0/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:294843 errors:0 dropped:536 overruns:0 frame:0
TX packets:350927 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1824433263 (1.6 GiB) TX bytes:3146297779 (2.9 GiB)
br0:0 Link encap:Ethernet HWaddr A0:40:A0:7C:XX:XX
inet addr:169.254.255.1 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
eth0 Link encap:Ethernet HWaddr A0:40:A0:7C:XX:XX
inet6 addr: fe80::a240:a0ff:fe7c:XXXX/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:340412 errors:0 dropped:3 overruns:0 frame:0
TX packets:282981 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3158390234 (2.9 GiB) TX bytes:1893266522 (1.7 GiB)
Interrupt:255
eth1 Link encap:Ethernet HWaddr A0:40:A0:7C:XX:XX
inet6 addr: fe80::a240:a0ff:fe7c:XXXX/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:298045 errors:0 dropped:68 overruns:0 frame:0
TX packets:350539 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1875090372 (1.7 GiB) TX bytes:3141477505 (2.9 GiB)
Interrupt:2
ip6tnl0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
NOARP MTU:1452 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MULTICAST MTU:65536 Metric:1
RX packets:39 errors:0 dropped:0 overruns:0 frame:0
TX packets:39 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6020 (5.8 KiB) TX bytes:6020 (5.8 KiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:XX.XXX.XXX.XX P-t-P:217.14.XX.XX Mask:255.255.255.255
inet6 addr: fe80::85fa:5f3:f9ec:XXXX/10 Scope:Link
UP POINTOPOINT RUNNING MULTICAST MTU:1492 Metric:1
RX packets:339969 errors:0 dropped:0 overruns:0 frame:0
TX packets:282531 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:2649611000 (2.4 GiB) TX bytes:1740542011 (1.6 GiB)
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
teql0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Here is my ip -6 address show output:
Code: 1: lo: mtu 65536
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: mtu 1500 qlen 1000
inet6 fe80::a240:a0ff:fe7c:XXXX/64 scope link
valid_lft forever preferred_lft forever
3: eth1: mtu 1500 qlen 1000
inet6 fe80::a240:a0ff:fe7c:XXXX/64 scope link
valid_lft forever preferred_lft forever
9: br0: mtu 1500
inet6 2a00:4580:100:2f70:200:XX:XXXX:0/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::a240:a0ff:fe7c:XXXX/64 scope link
valid_lft forever preferred_lft forever
19: ath0: mtu 1500
inet6 fe80::a240:a0ff:fe7c:XXXX/64 scope link
valid_lft forever preferred_lft forever
20: ath1: mtu 1500
inet6 fe80::a240:a0ff:fe7c:XXXX/64 scope link
valid_lft forever preferred_lft forever
21: ppp0: mtu 1492 qlen 3
inet6 fe80::1893:933:6ac2:XXX/10 scope link
valid_lft forever preferred_lft forever
I hope it will help somehow.
Also about Radvd. I guess Radvd Custom has to enabled and has some config as well, right? If yes, could you share your config with me, please?
Back to top
Per Yngve Berg DD-WRT Guru Joined: 13 Aug 2013 Posts: 6870 Location: Romerike, Norway
Back to top
eugene1973 DD-WRT User Joined: 21 May 2017 Posts: 186
Posted: Fri Aug 10, 2018 5:01 Post subject:
About your code:
local=/local/
expand-hosts
interface=br0
dhcp-range=::,constructor:br0,ra-stateless,1400
enable-ra
quiet-ra
quiet-dhcp
quiet-dhcp6
You opened the br0 interface. Fine, that works. Next, your dhcp range seems fine
but it only calls a low, try a high, and
don't make it the default route. Thats
probably why it takes so long. Use the
bounds of you lowest numbered address,
2xxx::1 . The high should be fe80:ffff:ffff
:ffff:ffff:ffff:ffff:ffff. See next post.
Back to top
eugene1973 DD-WRT User Joined: 21 May 2017 Posts: 186
Posted: Fri Aug 10, 2018 5:11 Post subject:
Since you have pppoe dhcp still tunnels through. You are using dhcp addressing. Just like everyone else. Yes change mtu. 1472 is always best. Ipv4 loves 1472. Think about addressing the other devs because it will all prune. Think about adding ra managed along with ra stateless, or also stateful. Probably ra stateful and managed is best. These will help you get external pings. Also get rid of that "quiet" crap. You want to be ON the ipv6 network. There is much more to add. Better look at other examples, to add other important stuff. Last edited by eugene1973 on Fri Aug 10, 2018 5:21; edited 1 time in total
Back to top
eugene1973 DD-WRT User Joined: 21 May 2017 Posts: 186
Posted: Fri Aug 10, 2018 5:14 Post subject:
I don't think you have to specify any pppoe addressing but I'm not sure. Pppoe uses different addressing, keep that in mind. Look up which. Isp says you're ok with regular dhcp, then ok maybe you are maybe you aren't. fe81 is a common tunnel address. fe80 isn't.
Back to top
Per Yngve Berg DD-WRT Guru Joined: 13 Aug 2013 Posts: 6870 Location: Romerike, Norway
Posted: Fri Aug 10, 2018 5:16 Post subject:
Yours: dhcp-range=::,constructor:br0,ra-stateless,1400
Mine: dhcp-range=::10,::200,constructor:br0,ra-names,slaac,64,24h
Back to top
probity DD-WRT Novice Joined: 02 Aug 2018 Posts: 25
Posted: Fri Aug 10, 2018 16:39 Post subject:
Well, I've tried the next steps:
1. I've removed this
Code: quiet-ra
quiet-dhcp
quiet-dhcp6
2. I've changed MTU for Ipv4 to 1472 - much better, the connection to ISP get established almost immediately after rebooting.
3. I've read carefully that topic you sent and tried follow advices from there as well.
4. I've changed the bounds for dhcp range.
4. I've tried with ra-stateless a lot and even with ra-advrouter (just in case).
Despite all these steps I'm still getting the same result. Even on the router:
Code: PING google.com (2a00:1450:4011:80d::1004): 56 data bytes
ping: sendto: Network unreachable
Back to top
Per Yngve Berg DD-WRT Guru Joined: 13 Aug 2013 Posts: 6870 Location: Romerike, Norway
Posted: Fri Aug 10, 2018 18:09 Post subject:
What does the routing table look like?
route -A inet6
Back to top
eugene1973 DD-WRT User Joined: 21 May 2017 Posts: 186
Posted: Sat Aug 11, 2018 0:52 Post subject:
I don't know how to publish ipv6 addresses yet. Hope I helped. If you ever get a chance to look in Windows and do an "ipconfig /all", I think it is. You will see that a flag exists in the readings that says published. I assume it means published in it's own local area, but not necessarily on the local lan. That's why a computer can ping itself. I think it works the same on the external(internet). The gateway must advertise and publish the address. The most likely culprit to do this is dhcpv6/ipv6 client. As opposed to dhcpv6 server. You must find the ipv6/dhcpv6 client settings to do this. You may not be able to do this at all without a static address from your ISP. If you are trying to publish your in addresses. You should certainly be able to do so for other websites/addresses. Last edited by eugene1973 on Sat Aug 11, 2018 0:57; edited 1 time in total
Back to top
eugene1973 DD-WRT User Joined: 21 May 2017 Posts: 186
Posted: Sat Aug 11, 2018 0:54 Post subject:
I saw you ifconfig -a, your br0 has the Bcast flag. As do some others. Don't worry about that article. Let me know if you see no Windows flag that says publish.
Back to top
eugene1973 DD-WRT User Joined: 21 May 2017 Posts: 186
Posted: Sat Aug 11, 2018 1:06 Post subject:
Don't forget, ask your ISP if you get an IP address higher or a little lower than 2a00 , Most people get three address ranges. I get fe80 , 2001 , and 2601 . Actually fe80 is already yours. But you get that traffic range.
Back to top