How to allocate IPv6 to devices connected to a downstream router running OpenWRT?

  • Thread starter Thread starter HC1337
  • Start date Start date
  • Replies Replies 61
  • Views Views 7,999
@HC1337 the /128 PD on the WAN is the v6 subnet mask equal to 255.255.255.0 in IPv4 i.e. a single host. The /64 on the LAN is the subnet picked up by the LAN via the WAN from RA. Set the router to RA only, turn off DHCPv6 as I suggested above and retry.
 
You mean the Jio router/ONT?
As far as I know Jio doesn't allow bridge mode. So if that's your primary router than yes you need to make any changes only on that device.
 
Last edited by a moderator:
I'm trying to get this fixed on Archer A6 running OpenWRT, before it was fine with just the Bridge Mode under IPv6 settings in the TP-Link Stock Firmware, now in OpenWRT, I do get IPv6 but after sometime the clients just drop it, the router still gets IPv6 though. In OpenWRT everything is set to relay mode.
 
@HC1337 Firstly bro, have you made the changes and tested? If it's still not working you need to understand that OpenWRT is a open source development firmware and all bets are off so far as the reliability of each model's firmware is concerned. I use DD-WRT and XVortex (Merlin based) on 2 of my routers but certainly not as my primary ones. They function as APs. The only 3rd party firmware I found reliable is Merlin for Asus routers which itself is a optimized/tweaked version of Asus' factory firmware.

So, there are 3 things you can consider doing:
a) Continue to experiment and check which settings work with Jio. Try and replicate your TP-Link firmware settings in OpenWRT.
b) Check on OpenWRT forums similar posts and suggested solutions
c) Downgrade to TP link firmware and achieve your goal
 
Last edited:
I don't quite get what changes you are suggesting here for now, I'm really new to OpenWRT. It works, IPv6 works but only for a limited time (always varies), and the client which had the IPv6 address suddenly loses it, and there goes the connectivity with it, IPv4 still works. I'm not really concerned about reliability here, but I have to say it is way better than the Stock Firmware (It used to randomly reboot and slow down, have ping spikes, also took way longer to boot from a cold start), only problem I have now is the clients losing IPv6 connectivity after sometime.

But overall, I'm really happy with what OpenWRT has to offer and I will be tinkering with it in the coming days for a long time.

As for your 3 suggestions, yes I have found some posts on OpenWRT forums and have tried some of them with no success, will be doing more in the future.

Also, what does your network setup look like? If you don't mind sharing. Thanks.
 
My network is a bit different - my main router is a retired PC running pfSense and dual boots OPNSense that I experiment with. The home is wired with CAT6 and I use my AC wifi routers only as APs. I prefer wired to wireless any time. So my main desktop is on wired LAN though it has a built in Wireless AX adapter. Any tests are done via the desktop...wireless by it's nature is convenient but not stable at least in my home.

As for issue you face I am really not sure what to make of it. Why would a device drop a v6 address and not a v4. Assuming all these issues are on a wifi?
 
I would assume any modern PC (even lowend) would be able to act as a router?

So from PC you have a switch and every AP is connected to the switch? Also, is it all 1Gbps or have you any 10Gbps equipment?
 
@HC1337 Did you try changing the DNS? Jio's IPv6 DNS is really crappy and the browser reverts to IPv4. Try using Cloudflare/ Google ipv6 DNS setup on your devices.

I am using OpenWrt with ipv6 relay and it works wonderfully (except for on my MacBook). I am having trouble with IMGUR, else I would have shared screenshots of my setup.
 
Yes, any old PC with a minimum of an Intel dual core from 2006-2008 onwards with 4 GB RAM or higher can do the job. My PC has 2 Intel LAN cards and 1 internal/mobo LAN port handle the dual WAN and LAN connectivity. LAN is connected to the rest of the residence via switches, CAT6 cable and then to APs. pfSense does everything I need (and much more) so I will probably never go back to consumer routers, even with dual WAN capability like my Asus router, to do this job.

I haven't upgraded to 10 Gig as the adapters and switches are still expensive. But it is a project that's earmarked for the future. Do I need 10G? Certainly not, 1G is more than enough. :)
 
Back