IPV6 default route disappearing

Post new topic   Reply to topic    DD-WRT Forum Index -> Qualcomm Atheros based Hardware
Author Message
MV_ddwrt19
DD-WRT Novice


Joined: 23 Feb 2019
Posts: 10

PostPosted: Sat Feb 23, 2019 19:55    Post subject: IPV6 default route disappearing Reply with quote
Hi all,

can someone please help with the IPV6 issue I'm having. My config:
R7800 with Firmware: DD-WRT v3.0-r38835M kongat (02/18/19)

I've enabled IPV6:
Setup-IPV6: IPVT enable, DHCPv6 with Prefix Delegation
Prefix length: 64
DNSs both blank
MTU default 1452
Dhcp6c custom, Dhcp6s, Radvd - disabled

Services-Dnsmasq:
Dnsmasq - enabled
Cache DNSSEC data - disabled
Validate DNS Replies (DNSSEC) - disabled
Check unsigned DNS replies - disabled
Local DNS - enabled
No DNS Rebind - enabled
Query DNS in Strict Order - enabled
Add Requestor MAC to DNS Query - disabled

Additional Dnsmasq Options:
local=/local/
expand-hosts
server=2606:4700:4700::1111
server=2606:4700:4700::1001
interface=br0
dhcp-range=::1000,::FFFF,constructor:br0,ra-stateless,12h
dhcp-option=option6:dns-server,[::]
ra-param=br0,10,300
enable-ra

This config get the router and devices on my LAN IPV6 addresses. IPV6 test sites all test ok but in a few minutes the same IPV6 test site report no IPV6 support.

After some research, i found this site: https://rsalveti.wordpress.com/2016/07/27/netgear-r7000-dd-wrt-ipv6-and-the-lack-of-a-stable-gateway/
that talks about this exact behaviour.

So, I SSH and check ip -6 route and when IPV6 is working I see that the default route is there:
default via fe80::29e:1eff:fe59:9022 dev eth0 metric 1024 expires 170sec

But then, in a few minutes the default route drops and ip -6 route becomes this:
2601:586:c403:1722::/64 dev br0 metric 256
fe80::/64 dev br0 metric 256
fe80::/64 dev eth1 metric 256
fe80::/64 dev ath0 metric 256
fe80::/64 dev ath1 metric 256
fe80::/64 dev ath1.1 metric 256
fe80::/64 dev eth0 metric 256
unreachable default dev lo metric -1 error -101
ff00::/8 dev br0 metric 256
ff00::/8 dev eth1 metric 256
ff00::/8 dev ath0 metric 256
ff00::/8 dev ath1 metric 256
ff00::/8 dev ath1.1 metric 256
ff00::/8 dev eth0 metric 256
unreachable default dev lo metric -1 error -101

From the site I mentioned, I run this to determine if my ISP (Comcast) broadcasts the default route:
tcpdump -vvvv -ttt -i eth0 icmp6 and 'ip6[40] >= 133 && ip6[40] <= 134'

which in a second comes up with this:
00:00:03.132041 IP6 (class 0xe0, hlim 255, next-header ICMPv6 (5Cool payload length: 160) fe80::29e:1eff:fe59:9022 > ff02::1: [icmp6 sum ok] ICMP6, router advertisement, length 160
hop limit 64, Flags [managed, other stateful], pref medium, router lifetime 1800s, reachable time 3600000s, retrans time 0s
source link-address option (1), length 8 (1): 00:9e:1e:59:90:22
0x0000: 009e 1e59 9022
mtu option (5), length 8 (1): 1500
0x0000: 0000 0000 05dc
prefix info option (3), length 32 (4): 2001:558:40c0:80::/64, Flags [none], valid time 604800s, pref. time 302400s
0x0000: 4000 0009 3a80 0004 9d40 0000 0000 2001
0x0010: 0558 40c0 0080 0000 0000 0000 0000
prefix info option (3), length 32 (4): 2001:558:5014:84::/64, Flags [none], valid time 604800s, pref. time 302400s
0x0000: 4000 0009 3a80 0004 9d40 0000 0000 2001
0x0010: 0558 5014 0084 0000 0000 0000 0000
prefix info option (3), length 32 (4): 2001:558:6030:7a::/64, Flags [none], valid time 604800s, pref. time 302400s
0x0000: 4000 0009 3a80 0004 9d40 0000 0000 2001
0x0010: 0558 6030 007a 0000 0000 0000 0000
prefix info option (3), length 32 (4): 2001:558:801e:88::/64, Flags [none], valid time 604800s, pref. time 302400s
0x0000: 4000 0009 3a80 0004 9d40 0000 0000 2001
0x0010: 0558 801e 0088 0000 0000 0000 0000

So, the broadcast is there! Also, as soon as I run this command, the default route re-appears in ip -6 route and IPV6 works again. But, after a few minutes stops.

For now, I added the default route manually but that's not a good solution as its IP might change.

Can anyone help determining why the IPV6 default route drops?
Sponsor
MV_ddwrt19
DD-WRT Novice


Joined: 23 Feb 2019
Posts: 10

PostPosted: Fri Mar 29, 2019 1:02    Post subject: Reply with quote
All needed for this issue to be resolved was to disable (uncheck) "Filter Multicast" on Security/Firewall page
mac913
DD-WRT Guru


Joined: 02 May 2008
Posts: 1851
Location: Canada

PostPosted: Fri Mar 29, 2019 1:40    Post subject: Reply with quote
Incase IPv6 stops working...

I ran into the same problem,read my Post...
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=313047&start=2&highlight=r7800+rdisc6

More likely you need the "rdisc6" file, like the site you found, read the whole article again. I have attached the file just unzip it.

Since the article was written for an R7000 the WAN port is vlan2. My cron runs every 15min on the R7800...

*/15 * * * * root /your-directory/rdisc6 -1 -q eth0



rdisc6.zip
 Description:

Download
 Filename:  rdisc6.zip
 Filesize:  5.99 KB
 Downloaded:  5 Time(s)


_________________
Home Network on PureFibre 500Mbit/s - 10GbE Copper Backbone
2x R7800 - Gateway & AP & 3xWireGuard - DDWRT r53562 Std k4.9

Off Site 1

R7000 - Gateway & AP & WireGuard - DDWRT r58389 Std
R7000 - Station Bridge - DDWRT r49626 Std

Off Site 2 - Wired Backbone

3x R7000 - Gateway+AP01 / AP02 / AP03 - DDWRT r58389 std
E2000 - Wired ISP IPTV PVR Blocker - DDWRT r35531


YAMon 3.4.6 | DNSCrypt-Proxy V2
stalonge
DD-WRT Guru


Joined: 21 Jul 2006
Posts: 1943
Location: Fortaleza Ce Brazil

PostPosted: Fri Mar 29, 2019 22:44    Post subject: Reply with quote
MV_ddwrt19 wrote:
All needed for this issue to be resolved was to disable (uncheck) "Filter Multicast" on Security/Firewall page


Thanks

you turn darkness to light

Very Happy Very Happy

_________________
DDwrt ...it rocks ....

1 R7800 61337 k6.1 AP
1 R7800 53562 Samba FTP K4.9 STATION
1 WZR1750 61337 AP Webserver Samba Wireguard
2 TP link Archer C7v5 58179 Cli
1 DD x86_64 58389 Gateway Samba Ftp Webserver wireguard
1 MR9000 61337 Gateway Samba Ftp Webserver wireguard
1 WRX36 61337 Gateway Ftp Webserver wireguard
HalfBit
DD-WRT Guru


Joined: 04 Sep 2009
Posts: 796
Location: AR, USA

PostPosted: Wed Jan 01, 2025 2:36    Post subject: Reply with quote
mac913 wrote:
Incase IPv6 stops working...

I ran into the same problem,read my Post...
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=313047&start=2&highlight=r7800+rdisc6

More likely you need the "rdisc6" file, like the site you found, read the whole article again. I have attached the file just unzip it.

Since the article was written for an R7000 the WAN port is vlan2. My cron runs every 15min on the R7800...

*/15 * * * * root /your-directory/rdisc6 -1 -q eth0

mac913, I know this is an old post, but I'm stuck. I copied the rdisc6 file to my USB on my R7800, installed the cron job to the correct directory, and even tried to execute the file with the options, and it returns:
Code:
# sh -x ./rdisc6 -1 -q eth0
./rdisc6: line 1: syntax error: unexpected word (expecting ")")

How should it be executed? How can I test that it brings in the default IPv6 route again?

_________________
R7800 Nighthawk - DD-WRT v3.0-r58850 std (Primary)
R7800 Nighthawk - DD-WRT v3.0-r58389 std (Cold Secondary)
▲ ACTIVE / INACTIVE ▼
R7000 Nighthawk - DD-WRT v3.0-r58850 std (Still works great after running for 10 years solid)
R7000 Nighthawk - DD-WRT v3.0-r58850 std (Cold Secondary)
R7000 Nighthawk - DD-WRT v3.0-r58389 std (Extra)
~~~~~~~~~~Dismantled for learning opportunities~~~~~~~~~~
WRT54Gv2
WRT54Gv8.2
~~~~~~~~~~Other Settings~~~~~~~~~
https://nextdns.io/?from=2d3sq39x
https://pi-hole.net/
https://github.com/DNSCrypt/dnscrypt-proxy
mac913
DD-WRT Guru


Joined: 02 May 2008
Posts: 1851
Location: Canada

PostPosted: Fri Jan 17, 2025 5:46    Post subject: Reply with quote
HalfBit wrote:
mac913 wrote:
Incase IPv6 stops working...

I ran into the same problem,read my Post...
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=313047&start=2&highlight=r7800+rdisc6

More likely you need the "rdisc6" file, like the site you found, read the whole article again. I have attached the file just unzip it.

Since the article was written for an R7000 the WAN port is vlan2. My cron runs every 15min on the R7800...

*/15 * * * * root /your-directory/rdisc6 -1 -q eth0

mac913, I know this is an old post, but I'm stuck. I copied the rdisc6 file to my USB on my R7800, installed the cron job to the correct directory, and even tried to execute the file with the options, and it returns:
Code:
# sh -x ./rdisc6 -1 -q eth0
./rdisc6: line 1: syntax error: unexpected word (expecting ")")

How should it be executed? How can I test that it brings in the default IPv6 route again?


I stopped using my ISP's IPv6 a number of years ago because of ISP issues with IPv6 and have been using tunnelbroker for IPv6 service.

I may give the ISP IPv6 another try. Try using Entware from my post https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=313047&start=3&highlight=ipv6

_________________
Home Network on PureFibre 500Mbit/s - 10GbE Copper Backbone
2x R7800 - Gateway & AP & 3xWireGuard - DDWRT r53562 Std k4.9

Off Site 1

R7000 - Gateway & AP & WireGuard - DDWRT r58389 Std
R7000 - Station Bridge - DDWRT r49626 Std

Off Site 2 - Wired Backbone

3x R7000 - Gateway+AP01 / AP02 / AP03 - DDWRT r58389 std
E2000 - Wired ISP IPTV PVR Blocker - DDWRT r35531


YAMon 3.4.6 | DNSCrypt-Proxy V2
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Qualcomm Atheros 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 cannot attach files in this forum
You cannot download files in this forum