Managing the Unmanaged Switch

· design · Source ↗

TLDR

  • The TP-Link TL-SG108 unmanaged switch shares its Realtek RTL8370N chip with managed siblings; the only real difference is a larger SPI flash and different firmware.

Key Takeaways

  • RTL8370N powers both cheap unmanaged and “web smart” managed 5-8 port Gigabit switches; management features are a software lock, not a hardware difference.
  • The TL-SG108 ships with a 512KiB SPI flash that is too small for a web UI; swapping to a 32Mbit GigaDevice GD25Q32 and flashing Netgear GS308Ev4 firmware enables VLAN management.
  • MAC address and 16-char serial number sit at flash offset 0x1fc000 with no checksum, making both trivially writable to avoid L2 conflicts across multiple reflashed units.
  • The Araknis AN-110 “Unmanaged+” switch also uses RTL8370N with the same MAC offset, yet ships without VLAN support despite the chip supporting it.
  • Author verdict: the hack is not worth it for new purchases (TL-SG108E costs ~$5 more); buy a used OpenWrt-compatible managed switch instead.

Hacker News Comment Review

  • Power consumption is the main practical objection: older used managed switches can idle at 10x the wattage of a cheap Realtek unmanaged unit, which matters for always-on home lab gear.
  • The rtl838x/rtl839x family is the better OpenWrt target for anyone wanting a supported managed switch at low cost; rtl8370n support is more fragile.
  • Commenters flagged a known hardware defect in the TL-SG108E where non-VLAN traffic leaks across all ports regardless of VLAN config, undermining the main use case for reflashing.

Notable Comments

  • @mindslight: argues the web UI on low-end managed switches is a liability and suggests writing minimal custom 8051 firmware that accepts a binary chip config over the network instead.
  • @walrus01: practical alternative for cheap managed setups – one managed non-PoE switch upstream with a dumb switch downstream aggregating cameras or similar fixed devices.

Original | Discuss on HN