Realtek Remote Control Protocol
The Realtek Remote Control Protocol (RRCP), developed by Realtek, is an Application layer protocol, running directly over Ethernet frames. The main idea behind this protocol is to allow direct access to the Ethernet switch controller's internal register over an Ethernet network itself. This approach allows to avoid cost of including a processor, RAM, Flash memory, etc. in a managed Ethernet switch. Instead, all "intelligence" is targeted to reside in a nearby computer, running special RRCP-aware Ethernet switch management software.
Packet types
All packets are transmitted as Ethernet frames with EtherType 0x8899.[1] Details on the RRCP protocol are listed in the datasheets of some chipsets with RRCP support: RTL8324BP [2] and RTL8326.[3] [4]
Hello
Used to initiate scan for RRCP-capable switches in a network segment, and to fetch some their parameters.
Hello reply
Is sent by an RRCP-capable switch as a response to a valid "Hello" packet. Contains some their parameters, such as IDs, and MAC addresses.
Get
Used to fetch value from internal switch controller's register.
Get reply
Is sent by an RRCP-capable switch as a response to a valid "Get" packet. Contains requested register number and value, that was read from it.
Set
Used to set an internal switch controller's register to a certain value. Contains register number and a value to be written to register. No acknowledgment is generated by a switch.
Loop Detect packet
Is not a part of RRCP protocol itself, but is closely associated, being an underlying mechanism for a simplified Spanning tree protocol substitute in RRCP-capable switch controllers. [5]
Echo request
Is not a part of RRCP protocol itself, but is closely associated, being an underlying mechanism for a Layer-2 analog of ICMP Echo request (Type 8) message in RRCP-capable switch controllers.
Echo reply
Is not a part of RRCP protocol itself, but is closely associated, being an underlying mechanism for a Layer-2 analog of ICMP Echo reply (Type 0) message in RRCP-capable switch controllers.
Hardware
Currently, RRCP protocol is officially working on Realtek's RTL8316BP, RTL8318P and RTL8324P switch controller chips. Unofficially, it also found to be working on RTL8316B, RTL8324, RTL8326 and RTL8326S.
Software
- There are two software suites that are able to communicate with RRCP-capable switches. First is Realtek's own WinSmart utility and Vendor-derived variants from it. Second is the OpenRRCP open-source project. Additionally, both Wireshark and tcpdump have interpreters for RRCP packets.
External links
References
- ^ "OpenRRCP Wiki". 2010-12-30. Retrieved 2012-08-13.
- ^ "RTL8324 data sheet" (PDF). 2005-03-21. Retrieved 2012-08-13.
- ^ "RTL8326 data sheet" (PDF). 2003-11-27. Retrieved 2012-08-13.
- ^ Jakum, Andreas. "aj's blog". Wordpress. Retrieved 2020-06-05.
- ^ Ajo, Miguel Angel. "RTL8305SC based ethernet switch". Retrieved 2019-06-05.