Skip to content

Conversation

madpilot78
Copy link
Contributor

I'm using dnsmasq to assign IPs to machines. It can also send router advertisement messages allowing to use SLAAC in VMs to get IPv6 addresses.

AFAIK these advertisement messages MUST be sent using link local IPv6 addresses to be conformant, otherwise OSes ignore them.

In FreebSD bridge(4) interfaces by default have no link local addresses.

Adding the auto_linklocal causes the interface to autoassign a valid link local address, so SLAAC works properly.

I suggest enabling this unconditionally, I don't see any ill effects this could cause, considering the bridge is used as a swtich.

NOTE: I used to have the same PR active on the old repository, I'm sending it again here, hoping it can be evaluated.

I'm using dnsmasq to assign IPs to machines. It can also send router advertisement messages allowing to use SLAAC in VMs to get IPv6 addresses.

AFAIK these advertisement messages MUST be sent using link local IPv6 addresses to be conformant, otherwise OSes ignore them.

In FreebSD bridge(4) interfaces by default have no link local addresses.

Adding the auto_linklocal causes the interface to autoassign a valid link local address, so SLAAC works properly.

I suggest enabling this unconditionally, I don't see any ill effects this could cause, considering the bridge is used as a swtich.

NOTE: I used to have the same PR active on the old repository, I'm sending it again here, hoping it can be evaluated.
@metalefty
Copy link
Member

ref. churchers/vm-bhyve#511

@metalefty
Copy link
Member

Looks reasonable.

@metalefty metalefty mentioned this pull request Sep 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants