illarionov / OpenRRCP

OpenRRCP is an open-source cross-platform RRCP-based toolset, that is able to configure and fetch status from such ethernet switches.
https://sourceforge.net/apps/trac/openrrcp/wiki
GNU General Public License v2.0
8 stars 4 forks source link

Add Zyxel GS-108B support #3

Closed samm-git closed 6 years ago

samm-git commented 7 years ago

Hi, first of all - thank you for your work, i found your project when tried to find why my switch sends 0x8899 packets every second or so. So i found that it is RRCP broadcast message and very intestested if i can convert this switch to the managed one. I already removed cooling plate from the chip and found that it is RTL8370N inside, which seems to be not supported. Some other interesting info:

I tried to play with rtlping and other tools w/o any luck. Also i did not found datasheet for the RTL8370N on the net, only some sources with registry description in the driver. I do not have any experience with RRCP so not sure what to do next. Could you please advise me something to make it manageable ?

akosiaris commented 7 years ago

Hello, just adding that I 've seen similar packets as well. I have no idea what the switches (except that the MAC address is Zyxel) in the network are. I just have access to linux box and run tcpdump to debug a different problem). Looking at the packets it seems that the "protocol" (first byte after the ethertype) field in the packet is 23. Which is not a documented value for that field, at least in the documentation I 've been able to find up to now.

http://openrrcp.org.ru/download/datasheets/RTL8316B_Datasheet_1.0.pdf says RRCP = 01, REP = 02, network loop detection = 03. Of course that datasheet if for RTL8316B so if indeed Zyxel uses RTL8370N it might differ. But the datasheets for 8326, 8326S, 8324P specify the same values so I am inclined to believe they don't change. Even 8324 which according to the datasheet does not have RRCP support, has REP and network loop detection with the same values.

That being said, I 've been unable to find a datasheet for RTL8370N. http://www.realtek.com/products/productsView.aspx?Langid=1&PNid=18&PFid=43&Level=5&Conn=4&ProdID=270 says that Loop detection is supported but says nothing about RRCP or REP.

According to https://kb.zyxel.com/KB/searchArticle!viewDetail.action?articleOid=012022&lang=EN it's loop detect. But the number this goes against the above document (23 != 03). Not that this says much. All in all, my impression is that this chipset does not support fulRRCP but just the network loop detection function. I 'd love to be proved wrong though.

samm-git commented 6 years ago

Thank you for reply, probably not possible :( closing for now.