Enabling LAN IPv6

Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page 1, 2, 3, 4, 5  Next
Author Message
PaulGo
DD-WRT User


Joined: 01 Dec 2021
Posts: 289
Location: Maryland, United States

PostPosted: Sat Dec 24, 2022 17:36    Post subject: Enabling LAN IPv6 Reply with quote
Previous to this build 51043, I did not usually do a reset on my R7000P router and with the build updates I maintained IPv6 WAN and LAN. With this build, I decided to start fresh and did a reset. I obtained a WAN IPv6 address, but no WAN IPv6 address. This is both with Verizon FiOS and Comcast Xfinity. I did a Google Search and found this article which allowed me to get a LAN IPv6 address.

https://sites.google.com/view/chewkeanho/guides/dd-wrt/setup-dhcpv6-with-prefix-delegations

I slightly modified the script to change the DNS:

Services
Dnsmasq Infrastructure
Additional Options:

no-resolv
no-negcache
server=1.1.1.1
server=1.0.0.1
server=2606:4700:4700::1111
server=2606:4700:4700::1001
local=/rover2155.local/
expand-hosts
domain-needed
dhcp-range=::1000,::FFFF,constructor:br0,ra-stateless,ra-names,12h
ra-param=br0,10,300
enable-ra
Sponsor
Wildlion
DD-WRT Guru


Joined: 24 May 2016
Posts: 1407

PostPosted: Sun Dec 25, 2022 20:53    Post subject: Reply with quote
That post basically does a manual setting on ipv6, based on teh pictures it disables all of the ipv6 settings... and puts them into dnsmasq... while not wrong ... just makes it more complicated.

The intent of IPv6 is to have one address per device so your router should only have one address. You can setup NAT using IPv6 but DD-WRT does not support it.

Are any of your LAN clients getting IPv6 addresses? It looks a though you are doing stateless configuration but did you ask for a prefix delegation?

suggest you also reference:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=327021&postdays=0&postorder=asc&start=0
PaulGo
DD-WRT User


Joined: 01 Dec 2021
Posts: 289
Location: Maryland, United States

PostPosted: Sun Dec 25, 2022 21:30    Post subject: Reply with quote
As I mentioned previously, I was getting IPv6 with prefix delegation of 56 for Verizon and 64 for Comcast without have to do this. After the reset, IPv6 on the LAN stopped working for all my clients. I really am not that familiar with the script I am using. If you know of a simpler way of getting the LAN to obtain IPv6, I would be willing to try it.
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6858
Location: Romerike, Norway

PostPosted: Mon Dec 26, 2022 8:32    Post subject: Reply with quote
Does the router get a Global Scope address on br0?
PaulGo
DD-WRT User


Joined: 01 Dec 2021
Posts: 289
Location: Maryland, United States

PostPosted: Mon Dec 26, 2022 10:48    Post subject: Reply with quote
I tried looking up your question on Google but it didn't help. With my very limited understanding on the LAN BR0 it just shows a unique IPv6 address for each device.
Wildlion
DD-WRT Guru


Joined: 24 May 2016
Posts: 1407

PostPosted: Mon Dec 26, 2022 19:46    Post subject: Reply with quote
if you look at your ipv6 address they usually say <link> or <global> scope. I may be wrong but I think all <link> scopes start with fe80::

on the ipv6 page, you should be able to enable the ipv6, DHCPv6 client daemon, DHCPv6 server, and radvd
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6858
Location: Romerike, Norway

PostPosted: Mon Dec 26, 2022 19:52    Post subject: Reply with quote
The Global Scope Address start with the digit 2.

ifconfig br0

to see the addresses on the interface.
PaulGo
DD-WRT User


Joined: 01 Dec 2021
Posts: 289
Location: Maryland, United States

PostPosted: Mon Dec 26, 2022 21:22    Post subject: Reply with quote
I install Windows 10 subsystem for Linux and then Ubuntu.

I then tried running the command ipconfig bro
I got the following result:

root@Paul-HP:/mnt/c/WINDOWS/system32# ifconfig br0
br0: error fetching interface information: Device not found

Perhaps Windows ipconfig might help:
Host Name . . . . . . . . . . . . : xxxx
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : verizon.net

Ethernet adapter Ethernet:

Connection-specific DNS Suffix . : verizon.net
Description . . . . . . . . . . . : Realtek PCIe GbE Family Controller
Physical Address. . . . . . . . . : 00-23-5A-1E-A0-57
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : 2600:4040:4461:4800:bd9f:7e73:xxxx(Preferred)
Temporary IPv6 Address. . . . . . : 2600:4040:4461:4800:9ff:9fd:xxxx(Preferred)
Link-local IPv6 Address . . . . . : fe80::b51e:a39d:a6c1:xxxx%11(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.1.1xx(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Monday, December 26, 2022 3:03:07 PM
Lease Expires . . . . . . . . . . : Tuesday, December 27, 2022 3:03:04 PM
Default Gateway . . . . . . . . . : fe80::120c:6bff:fe5d:b3ea%11
192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DHCPv6 IAID . . . . . . . . . . . : 268444506
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-23-44-4D-93-00-xxxx-57
DNS Servers . . . . . . . . . . . : 2600:4040:4461:4800:120c:6bff:fe5d:b3ea
192.168.1.1
fe80::120c:6bff:fe5d:b3ea%11
NetBIOS over Tcpip. . . . . . . . : Enabled
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6410
Location: UK, London, just across the river..

PostPosted: Tue Dec 27, 2022 8:07    Post subject: Reply with quote
https://www.youtube.com/watch?v=ENU3NXm4OrI
https://www.youtube.com/watch?v=e9FfjDwFWxw

just to let you know that VPN and some restrictions/accelerations, do not work good with ipv6 ...so its not a shining gold as it looks like.. Rolling Eyes

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55179 WAP
TP-Link WR1043NDv2 -DD-WRT 55303 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55460 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55460 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55363 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6858
Location: Romerike, Norway

PostPosted: Tue Dec 27, 2022 18:49    Post subject: Reply with quote
You should have run the "ifconfig br0" on the router.

I see that your Windows client have a Global Scope Address, so it must be working.
PaulGo
DD-WRT User


Joined: 01 Dec 2021
Posts: 289
Location: Maryland, United States

PostPosted: Tue Dec 27, 2022 19:43    Post subject: Reply with quote
Per Yngve Berg wrote:
You should have run the "ifconfig br0" on the router.

I see that your Windows client have a Global Scope Address, so it must be working.


Initially I tried it oon the router command line but I did not get a response.
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6858
Location: Romerike, Norway

PostPosted: Wed Dec 28, 2022 11:15    Post subject: Reply with quote
SSH or Telnet the router.
Johnnyh12
DD-WRT Novice


Joined: 07 Jul 2014
Posts: 35

PostPosted: Fri Jan 27, 2023 4:35    Post subject: Reply with quote
I can't seem to get IPv6 working after doing a reset after the latest update. I'm on Comcast/Xfinity and had it working for the longest time. I tried the settings in the first post, but that doesn't seem to have done anything. I still only have an IPv4 address in the upper right of my router GUI. Anybody have IPv6 working with Xfinity?
PaulGo
DD-WRT User


Joined: 01 Dec 2021
Posts: 289
Location: Maryland, United States

PostPosted: Fri Jan 27, 2023 4:52    Post subject: Reply with quote
In addition to Verizon FiOS which has IPv6 with this script. I also am testing Comcast internet. Previously IPV6 worked with this script now it does not. In an older post I had another script that worked now it also doesn't work. Changes either in Comcast or DD-WRT must have contributed to this.

Last edited by PaulGo on Fri Jan 27, 2023 10:39; edited 1 time in total
Johnnyh12
DD-WRT Novice


Joined: 07 Jul 2014
Posts: 35

PostPosted: Fri Jan 27, 2023 5:07    Post subject: Reply with quote
PaulGo wrote:
In addition to Verizon FiOS which has IPv6 with this script. I also am testing Comcast internet. Previously IPV6 worked with this script now it does not. In an older post I had another script that worked now it also doesn't work. Changes either in Comcast or DD-WRT must have contacted to this.


So you still haven't been able to get it working? Crying or Very sad
Goto page 1, 2, 3, 4, 5  Next Display posts from previous:    Page 1 of 5
Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum