R7800 weird IPv6 behavior

Post new topic   Reply to topic    DD-WRT Forum Index -> Qualcomm Atheros based Hardware
Goto page Previous  1, 2
Author Message
dplotz
DD-WRT User


Joined: 07 Jan 2025
Posts: 155
Location: Bethel Park, PA, USA

PostPosted: Wed Jan 08, 2025 1:54    Post subject: Reply with quote
HalfBit wrote:
Does anyone understand more fully why adding all multicast, or promiscuous (ifconfig eth0 promisc) on eth0 would help continue to obtain the default IPv6 route from an ISP?


I was looking into this but can't find anything in the prefix delegation process that uses multicast. The only thing I can figure is that some ISPs (Verizon in my case) are doing something non-standard.

_________________
Formerly dpp3530
Linksys MR7350
Gateway, 2 wired APs, NSS-ECM , Clock 1440MHz
VAPs on wlan0 and wlan1 for guest/IOT devices
IPv4 & IPv6 (Prefix Delegation)
Static Leases & DHCP
SmartDNS (using NextDNS, Cloudflare), DNSMasq
Wireguard and OpenVPN server
2.4GHz: dd-wrt, N/G-Mixed, ACK Timing 1350, WPA3 SAE & WPA2 w/AES
5GHz: dd-wrt, AX/AC/N Mixed, ACK Timing 1350, WPA3 SAE & WPA2 w/AES
Verizon Fios, 500/500Mbps
Sponsor
Per Yngve Berg
DD-WRT Guru


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

PostPosted: Wed Jan 08, 2025 4:41    Post subject: Reply with quote
IPv6 is dependent of Multicast to function.
HalfBit
DD-WRT Guru


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

PostPosted: Thu Jan 09, 2025 21:21    Post subject: Reply with quote
I understand the IPv6 depends on Multicast. What I don't understand is by default (after a reboot) my eth0 interface has MULTICAST, specifically:
Code:
:~# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr B0:39:56:XX:XX:XX
          inet addr:68.X.X.X  Bcast:68.X.X.X  Mask:255.255.255.128
          inet6 addr: 2600:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX/128 Scope:Global
          inet6 addr: fe80::XXXX:XXXX:XXXX:XXXX/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:49707993 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9197066 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:61531624858 (57.3 GiB)  TX bytes:5130031005 (4.7 GiB)
          Interrupt:41


Unless I run ifconfig eth0 allmulti, it fails to renew the IPv6 default route, and therefore IPv6 dies on my network.

That's the part I'm trying to figure out. Why does MULTICAST alone on eth0 not work, but with ALLMULTI (or PROMISCUOUS) it does?

_________________
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
dplotz
DD-WRT User


Joined: 07 Jan 2025
Posts: 155
Location: Bethel Park, PA, USA

PostPosted: Thu Jan 09, 2025 21:54    Post subject: Reply with quote
And why is this an issue only on the R7800s?
_________________
Formerly dpp3530
Linksys MR7350
Gateway, 2 wired APs, NSS-ECM , Clock 1440MHz
VAPs on wlan0 and wlan1 for guest/IOT devices
IPv4 & IPv6 (Prefix Delegation)
Static Leases & DHCP
SmartDNS (using NextDNS, Cloudflare), DNSMasq
Wireguard and OpenVPN server
2.4GHz: dd-wrt, N/G-Mixed, ACK Timing 1350, WPA3 SAE & WPA2 w/AES
5GHz: dd-wrt, AX/AC/N Mixed, ACK Timing 1350, WPA3 SAE & WPA2 w/AES
Verizon Fios, 500/500Mbps
HalfBit
DD-WRT Guru


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

PostPosted: Thu Jan 09, 2025 23:16    Post subject: Reply with quote
dplotz wrote:
And why is this an issue only on the R7800s?

Yes, precisely. What other information can I provide that might help with this? I'm willing to do what I can to help troubleshoot this.

I don't see the same problem on my R7000, so I'm not seeing evidence that it is an ISP issue.

_________________
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
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 16145
Location: Texas, USA

PostPosted: Fri Jan 10, 2025 3:24    Post subject: Reply with quote
Is it only on Linux 6.x builds? Does OpenWRT kernel 6.x builds have the same problem?
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
RSS feed for DD-WRT releases (2025)
RSS feed for DD-WRT releases (2024)
RSS feed for DD-WRT releases (2023)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
dplotz
DD-WRT User


Joined: 07 Jan 2025
Posts: 155
Location: Bethel Park, PA, USA

PostPosted: Fri Jan 10, 2025 3:49    Post subject: Reply with quote
kernel-panic69 wrote:
Is it only on Linux 6.x builds? Does OpenWRT kernel 6.x builds have the same problem?
I don't have OpenWRT to try, but it started in r56326, which was a K6 build. I should add that it only happens when NSS cores are being used (NSS-ECM, NSS-SFE, or NSS-ECM-SFE), with Shortcut Forwarding disabled or set to SFE, no issue. NSS works if (Block) Multicast Communication is unchecked in the Security tab or if as @HalfBit said, you enable promiscious mode. Otherwise the one line in the routing table is missing as I said in the first post on this thread.
_________________
Formerly dpp3530
Linksys MR7350
Gateway, 2 wired APs, NSS-ECM , Clock 1440MHz
VAPs on wlan0 and wlan1 for guest/IOT devices
IPv4 & IPv6 (Prefix Delegation)
Static Leases & DHCP
SmartDNS (using NextDNS, Cloudflare), DNSMasq
Wireguard and OpenVPN server
2.4GHz: dd-wrt, N/G-Mixed, ACK Timing 1350, WPA3 SAE & WPA2 w/AES
5GHz: dd-wrt, AX/AC/N Mixed, ACK Timing 1350, WPA3 SAE & WPA2 w/AES
Verizon Fios, 500/500Mbps
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 13660
Location: Netherlands

PostPosted: Fri Jan 10, 2025 8:02    Post subject: Reply with quote
One of my R7800 is running Openwrt and does not have this problem.
_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Per Yngve Berg
DD-WRT Guru


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

PostPosted: Fri Jan 10, 2025 8:19    Post subject: Reply with quote
I can confirm that there where connection issues and Reboots with the early builds that had the NSS Cores Enabled. Fixed in later builds.
HalfBit
DD-WRT Guru


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

PostPosted: Sat Jan 11, 2025 18:15    Post subject: Reply with quote
dplotz wrote:
I don't have OpenWRT to try, but it started in r56326, which was a K6 build. I should add that it only happens when NSS cores are being used (NSS-ECM, NSS-SFE, or NSS-ECM-SFE), with Shortcut Forwarding disabled or set to SFE, no issue. NSS works if (Block) Multicast Communication is unchecked in the Security tab or if as @HalfBit said, you enable promiscious mode. Otherwise the one line in the routing table is missing as I said in the first post on this thread.

Good call. My R7800 can't renew the IPv6 default route during these conditions:
    1. about 30 minutes after a reboot and eth0 has the default UP BROADCAST RUNNING MULTICAST configured/enabled, or
    2. with NSS cores (NSS-ECM, NSS-SFE, or NSS-ECM-SFE) enabled, or
    3. with Multicast filtering (Multicast Communication) enabled (checked) which I believe is also default

The IPv6 default route is perpetuated when:
    1. I have ifconfig eth0 allmulti in my startup commands, or
    2. I disable NSS cores (NSS-ECM, NSS-SFE, or NSS-ECM-SFE), or
    3. I disabled (uncheck) Multicast filtering (Multicast Communication)
kernel-panic69 wrote:
Is it only on Linux 6.x builds? Does OpenWRT kernel 6.x builds have the same problem?

What additional information can I provide to troubleshoot, diagnose, or otherwise help the community figure this out? I've never tried OpenWRT, but is there a specific DDWRT build with a different kernel version you'd like me to flash and compare? I have two R7800s so I'm willing to do anything I can. One limitation is that I don't have a serial connection.
egc wrote:
One of my R7800 is running Openwrt and does not have this problem.

What do you do to mitigate this issue on your R7800(s) running DDWRT?

Per Yngve Berg wrote:
I can confirm that there where connection issues and Reboots with the early builds that had the NSS Cores Enabled. Fixed in later builds.

What version are you referring to, if you remember? Do you have a R7800? If so, what do you do to mitigate this issue on yours?

Side note for all of you. I was surprised to see that TCPDUMP was removed from the builds. Is there a guide for ENTWARE on R7800s that you all would recommend in case I need TCPDUMP to help figure out this issue?

_________________
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
Goto page Previous  1, 2 Display posts from previous:    Page 2 of 2
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