EDUP EP-RT2960 AX1800 - Is it vlan capable?

OpenWRT newbie alert.

I just bought a EDUP EP-RT2960 AX1800
And after goofing + recovery.

I now have it running OpenWRT 24.10.0
It will be deployed as an AP , aka ... "pure wifi/lan bridging" , no use for WAN port.

I haven't had much time to play around yet (see above)
I was wondering if this box is vlan capable ?

I had a look at the wiki , and have run a few commands

1:

root@sv-owrt-01:~# ls -l /sys/class/net
lrwxrwxrwx    1 root     root             0 May 12 22:41 br-lan -> ../../devices/virtual/net/br-lan
lrwxrwxrwx    1 root     root             0 Jan  1  1970 eth0 -> ../../devices/platform/1e100000.ethernet/net/eth0
lrwxrwxrwx    1 root     root             0 Jan  1  1970 lan1 -> ../../devices/platform/1e100000.ethernet/mdio_bus/mdio-bus/mdio-bus:1f/net/lan1
lrwxrwxrwx    1 root     root             0 Jan  1  1970 lan2 -> ../../devices/platform/1e100000.ethernet/mdio_bus/mdio-bus/mdio-bus:1f/net/lan2
lrwxrwxrwx    1 root     root             0 Jan  1  1970 lan3 -> ../../devices/platform/1e100000.ethernet/mdio_bus/mdio-bus/mdio-bus:1f/net/lan3
lrwxrwxrwx    1 root     root             0 Jan  1  1970 lo -> ../../devices/virtual/net/lo
lrwxrwxrwx    1 root     root             0 Jan  1  1970 wan -> ../../devices/platform/1e100000.ethernet/net/wan
root@sv-owrt-01:~# 

2: DSA

root@sv-owrt-01:~# grep -sq DEVTYPE=dsa /sys/class/net/*/uevent

root@sv-owrt-01:~# cat /sys/class/net/*/uevent
DEVTYPE=bridge
INTERFACE=br-lan
IFINDEX=7
OF_NAME=mac
OF_FULLNAME=/ethernet@1e100000/mac@0
OF_COMPATIBLE_0=mediatek,eth-mac
OF_COMPATIBLE_N=1
INTERFACE=eth0
IFINDEX=2
DEVTYPE=dsa
OF_NAME=port
OF_FULLNAME=/ethernet@1e100000/mdio-bus/switch@1f/ports/port@3
OF_COMPATIBLE_N=0
INTERFACE=lan1
IFINDEX=6
DEVTYPE=dsa
OF_NAME=port
OF_FULLNAME=/ethernet@1e100000/mdio-bus/switch@1f/ports/port@2
OF_COMPATIBLE_N=0
INTERFACE=lan2
IFINDEX=5
DEVTYPE=dsa
OF_NAME=port
OF_FULLNAME=/ethernet@1e100000/mdio-bus/switch@1f/ports/port@1
OF_COMPATIBLE_N=0
INTERFACE=lan3
IFINDEX=4
INTERFACE=lo
IFINDEX=1
OF_NAME=mac
OF_FULLNAME=/ethernet@1e100000/mac@1
OF_COMPATIBLE_0=mediatek,eth-mac
OF_COMPATIBLE_N=1
INTERFACE=wan
IFINDEX=3
root@sv-owrt-01:~# 

Can anyone determine if it's capable from the above ??

Another thing (nuisance) :
Whenever i reboot the router it changes the LAN MAC Address :roll_eyes:
Is that a "Router/uboot feature" or an OpenWRT "feature" ?

While that might be nice for some, i read about security.
It's a nuisance if you as i, prefer to set ip via "Mac locked dhcp".

Can i disable it, at least for LAN ?

Or is there a hint to set a "static" MAC - "Locally administered will be ok".

/Bingo

most likely a "bug feature".

you can override it in the interfaces -> devices settings, to get it to match the label.

1 Like

It is an MT7621 chip, those were one of the first to be converted to DSA and it has full VLAN support.

2 Likes

Thank you ... It seems to be that chip.

|Model|SIM SIMAX1800T|
|Architecture|MediaTek MT7621 ver:1 eco:3|
|Target Platform|ramips/mt7621|

I can see that the same mac is (was) set for 4 devices:

br-lan
eth0
lan1
lan2
lan3

I have now changed the mac to static on the bridge.
Should i give the other interfaces the same "static mac" as the bridge has gotten ?

Any hints on the eth0 and Lan relations , for this chip ?

I mean i "suppose" lan1..lan3 might be switch ports (L2)

So eth0 is the ether if (L3) , and might be inside the MCU/SOC.
This would make this a "classic L2/L3 setup" I think.
L2 ports forwarding packets to an "upstream L3 IF".

I just don't know why they all have the same MAC , unless it's inheritance from the bridge or eth0 if. And i just tried to change the bridge mac, it didn't change the other.

/Bingo