DMXRouter icon indicating copy to clipboard operation
DMXRouter copied to clipboard

Feature Request: Naming Network Adapters

Open gawad1234 opened this issue 5 months ago • 3 comments

Hello!

Is there a way that it could be changed so that you can change the name of the virtuial network adapter? Once you change it currently it is breaking the vlan adapters.

gawad1234 avatar Jul 01 '26 16:07 gawad1234

Hi, and thanks for reporting this!

Short answer: the adapter name isn't user-configurable at the moment, and that's exactly why renaming it breaks the VLAN adapters.

DMXRouter identifies the virtual adapter by its name in order to enforce the VLAN isolation safely, and that name is referenced in a lot of places across the codebase. So once you rename the adapter, DMXRouter can no longer find it and the isolation binding breaks.

Making the name freely configurable is a bigger change than it looks, precisely because of how many places rely on it, so it isn't something I'm planning for the near term — but I appreciate the suggestion.

fiverecords avatar Jul 03 '26 17:07 fiverecords

Is there a way to make it so that you can set the name before it is created?

gawad1234 avatar Jul 06 '26 12:07 gawad1234

Good question — but setting the name at creation runs into the same wall, and here's the honest reason why.

The adapter name isn't just a label in DMXRouter: it's the safety mechanism itself. The VLAN ID is parsed straight out of the name (VLAN200_DMXRouter → tag 200), the fixed pattern is how DMXRouter recognises which adapters it owns — including ones created by older versions — and, most importantly, every destructive operation (cleaning up VLANs, reconciling after a profile load) is strictly scoped to adapters matching that pattern. That's the guarantee that DMXRouter will never touch a network adapter it didn't create, no matter what else is on your machine.

A user-chosen name, even one set at creation time, would mean replacing that pattern test with stored state — and weakening the one guardrail around the destructive side of the VLAN manager, for what is ultimately a cosmetic gain. So this one is a deliberate design decision rather than a missing feature, and I'm going to close it here.

Thanks for pushing on it though — it's a fair question, and it deserved a real answer.

fiverecords avatar Jul 20 '26 15:07 fiverecords