DSA on Netgear R7800?

I am running two Netgear R7800 routers, one running 21.02.1 and the other on 21.02.0.

I currently have switch_vlan in config which now seems to be replaced by bridge-vlan, so I'm keen to move to the 'new' way of doing things.

However the DSA guides show that I should have lan0, lan1, etc available yet I only have eth0 and eth1.

Looking at /etc/board.d/99-default_network I can see why, as it includes:

ucidef_set_interface_lan 'eth0'
[ -d /sys/class/net/eth1 ] && ucidef_set_interface_wan 'eth1'

But looking at the code for 21.02.1 I can see that the config should be different (from https://github.com/openwrt/openwrt/blob/v21.02.1/target/linux/ipq806x/base-files/etc/board.d/02_network):

netgear,r7800 |\
tplink,c2600)
	ucidef_add_switch "switch0" \
		"1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "6@eth1" "5:wan" "0@eth0"

So, should the R7800 support DSA? How should one even tell if it is supported on a given device? Why am I getting eth0/1 rather than lan0/1/2/3? Is there anything I can do to resolve this?

DSA for ipq806x has not been merged into master yet (much less the stable builds that you are using). See PR 4036. I've found that DSA is functional and stable on the r7500v2, but apparently there is some addition work needed before DSA will be merged (for example: PRs 4716 & 4717)

HTH

That really does, thank you. I had looked for a list of supported platforms but couldn't find one, nor a way to interrogate* the running system for support. Is the right answer to search the PRs?

asterix=fixed typo

For the stable builds, refer to the 21.02.0 release notes:

  • add DSA support for the platform/device (like the mentioned PR)
  • build or download, and install a firmware image with DSA support
  • configure the device starting from default settings, or at least avoid restoring the network configuration, which is incompatible between swconfig and DSA.

If you want to test the code under development and perhaps report your findings, then yes.
Otherwise, stay with snapshot or even stable releases.

2 Likes

You did what I would do which is ask on the forums. IRC can be good as well, but that is hit or miss depending on who is on.

FWIW, I follow openwrt development for ipq806x fairly closely and I still have trouble knowing what feature is available and working (e.g. i'm pretty sure airtime fairness is not enabled on my r7500v2 but likely is working on the r7800).

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.