---
title: "rtl51: emulating Realtek switch firmware on a laptop"
url: https://awesomerea.org/resources/rtl51-case/
updated: 2026-11-29
type: resource
---

# rtl51: emulating Realtek switch firmware on a laptop

> Emulates the DW8051 SoC and L2 switch fabric of Realtek RTL8372 and RTL8373 switches, booting unmodified vendor firmware in about two seconds with a serial console, Web UI, VLAN and STP forwarding, UDP port tunnels and packet capture.

- Type: Case study
- Targets: Firmware
- Category: Firmware tools
- Relationship: Foundation tool
- Sources reviewed: 2026-11-29
- Added to the catalog: 2026-11-29
- Original resource: <https://github.com/brennoo/rtl51>
- Primary source: <https://github.com/brennoo/rtl51/blob/8150e4a766554d75ded37a486afc9dc8350c5e38/README.md>
- Catalog page: <https://awesomerea.org/resources/rtl51-case/>
- Record JSON: <https://awesomerea.org/resources/rtl51-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/rtl51-case/index.md)

## Requirements & limits

- **Prerequisites:** Takes a firmware image from a SPI flash dump or the vendor web-upgrade file; no hardware is needed to run it.
- **Scope:** Runs without root or TAP devices, with a Wireshark-readable packet capture of the emulated switch.
- **License:** MIT-licensed.

## Primary sources

1. <https://github.com/brennoo/rtl51/blob/8150e4a766554d75ded37a486afc9dc8350c5e38/README.md>

## More in Firmware and hardware

- [free60: reviving an abandoned 360-degree camera without its app](https://awesomerea.org/resources/free60-camera-case/index.md) · Case study
- [Binwalk](https://awesomerea.org/resources/binwalk/index.md) · Tool
- [unblob](https://awesomerea.org/resources/unblob/index.md) · Tool
- [Ghidra Firmware Utilities](https://awesomerea.org/resources/ghidra-firmware-utils/index.md) · Tool
- [EMBA](https://awesomerea.org/resources/emba/index.md) · Tool
- [Firmware Analysis and Comparison Tool (FACT)](https://awesomerea.org/resources/fact-core/index.md) · Tool

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
