Duplicate IPv6 bridge address 4a0:6976:8fa7:efc:1::1 on br-timur and br-ashraf — needs root-cause analysis #164
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_skills#164
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Observed
On dev box (138.201.206.39, 2026-04-29), the same per-user mycelium bridge IP is currently configured on two different bridge interfaces:
4a0:6976:8fa7:efc:1::1/64(slot 1 of the per-user mycelium /64 ladder) is allocated to BOTHtimurandashraf.Possible causes (none confirmed)
mycelium_alloc_prefix64allocator collision — the per-user prefix allocator intools/modules/installers/multiuser.nucould return the same slot to twomulti_user_addcalls if its "find next free slot" logic has a fallback on RPC failure (or a race when two adds run concurrently).multi_user_delcleanup gap — when a user is removed, the bridge interface might be torn down but the IP address left attached (e.g., to a residual netns or another bridge), then a freshmulti_user_addreuses the slot, creating the duplicate.ip addr addoutside the normal lifecycle.I've not isolated which of these is the root cause. Filing as observation + hypothesis so the maintainer can pick the right diagnostic.
Diagnostic next steps
bridge link showto see what's plumbed into each bridgetimurandashrafcreated?journalctl/ shell history /~/hero/cfg/multi_user_*.logif anymycelium_alloc_prefix64and check whether its slot-iteration logic can ever return a value that's still attached at the OS level (i.e., does it consultip -6 addror only an internal registry?)multi_user_del— does itip addr delbeforeip link del?Why this matters
:1::1could egress via either bridgeEADDRINUSEissue (lhumina_code/hero_livekit#31), though that was Pion auto-enumeration, not a literal duplicateWorkaround (until root cause is found)
Manual cleanup:
This just patches the symptom — the underlying allocator/cleanup bug will hit again on the next
multi_user_add/multi_user_delcycle.