Feature Request: Naming Network Adapters
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.
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.
Is there a way to make it so that you can set the name before it is created?
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.