Hello,
I have a QNAP QSW-M2108-2S switch and I found that it runs some sort of openwrt out of the box. I am wondering if it could be used as a router as well.
The switch has 8 2,5gbit/s RJ45 ports in copper and 2 SFP+ ports at 10GbE. It does have a serial port for the console, that allow to access the LEDE prompt, as well.
Does anyone have already tried to combine switch and router functionality on this machine? Maybe on a different hardware?
In order to try, I think I found the list all ethernet ports in file /usr/var/iss.log:
xcat3PhyAQR412CAddrInit_QSW2108M() devNum = 0
port = 0, phyaddr= 0x0
port = 4, phyaddr= 0x1
port = 8, phyaddr= 0x2
port = 12, phyaddr= 0x3
port = 16, phyaddr= 0x4
port = 20, phyaddr= 0x5
port = 24, phyaddr= 0x6
port = 25, phyaddr= 0x7
internalXGPortConfig().....devNum = 0x0 portNum= 0x1a ,
internalXGPortConfig().....devNum = 0x0 portNum= 0x1b ,
[...]
Then, I found the pppoe parameters required by my ISP. But here I am at loss: shoud i define a switch device in /etc/config/network, then a vlan, then my wan interface? How do i specify the port?
Thank you very much,
Giuseppe