@eduperez thank you I have read both Bridged AP and Dumb AP OpenWRT guides but they are slightly out of date and I am also having trouble translating them to the R7800 specifically.
@JW0914 thank you. Your referred post is very helpful. Smart (managed) switch is what I'll target.
What I want is to have this post layout the exact physical and logical configuration for the R7800 so that it can serve as a reference. I amstill not clear in my head the exact changes I need to make, I will state what I know, I very much appreciate your and anyone's help, TIA:
The R7800 has: https://wikidevi.com/wiki/Netgear_R7800
ETH chip1: Qualcomm Atheros IPQ8065
Switch: Qualcomm Atheros QCA8337
LAN speed: 10/100/1000
LAN ports: 4
WAN speed: 10/100/1000
WAN ports: 1
Switch: (in luci) - are these 0-6 in /etc/config/network "switch" section?
CPU (eth0) = Port 0 = CPU WAN - Upstream HW switch?
CPU (eth1) = Port 1 = CPU LAN - Upstream HW switch?
LAN 1 = Port 2
LAN 2 = Port 3
LAN 3 = Port 4
LAN 4 = Port 5
WAN = Port 6
Default LEDE Switch / VLAN config:
option device 'switch0'
option vlan '1'
option ports '1 2 3 4 6'
option device 'switch0'
option vlan '2'
option ports '5 0'
So create an interace lan
What VLAN config do I need?
option device 'switch0’
option vlan 1
option ports ‘0t 1t 2 3 4 5 6’
I would really like to accomplish this entire config in luci for ease of future reference.
@JW0914 I am trying to follow your example, but I am a little lost.
configure a logcial interface 'lan'
Should I disable WAN
I understand that the R7800 has a VLAN-capable switch, and that I need at least one VLAN to "reach" the CPU. As it is not a software VLAN, that I do not need to bridge LAN and WAN?
"Newer devices with embedded switches (like Netgear R7800) use the DSA switch driver, that creates a distinct network interface for each switch port as if they didn't have a switch at all."
"If needed, you have to use OS-software based VLAN configuration"
Are OS-level VLANS the same as Driver level VLANS? Am I meant to follow instructions from this section: https://lede-project.org/docs/user-guide/switch_configuration#creating_driver-level_vlans
root@LEDE:~# ls -l /sys/class/net
lrwxrwxrwx 1 root root 0 Jan 1 1970 eth0 -> ../../devices/platform/soc/37200000.ethernet/net/eth0
lrwxrwxrwx 1 root root 0 Jan 1 1970 eth1 -> ../../devices/platform/soc/37400000.ethernet/net/eth1