Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore disable_ipv6 sysctl after removing a device from bridge or bond #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fblaese
Copy link

@fblaese fblaese commented Nov 15, 2024

If a device is added to a bond or bridge, the disable_ipv6 sysctl is set, so that no link local addresses are present on the slave devices.

However, the disable_ipv6 sysctl is not restored after removing the device from the bridge or bond. Therefore, no IPv6 link local addresses are added and autoconfiguration does not work.

Set the disable_ipv6 to '0' on device removal from bridge or bond.

If a device is added to a bond or bridge, the disable_ipv6 sysctl is
set, so that no link local addresses are present on the slave devices.

However, the disable_ipv6 sysctl is not restored after removing the
device from the bridge or bond. Therefore, no IPv6 link local addresses
are added and autoconfiguration does not work.

Set the disable_ipv6 to '0' on device removal from bridge or bond.

Signed-off-by: Fabian Bläse <fabian@blaese.de>
fblaese added a commit to FreifunkFranken/firmware that referenced this pull request Dec 20, 2024
If a device is added to a bond or bridge, the disable_ipv6 sysctl is
set, so that no link local addresses are present on the slave devices.

However, the disable_ipv6 sysctl is not restored after removing the
device from the bridge or bond. Therefore, no IPv6 link local addresses
are added and autoconfiguration does not work.

Set the disable_ipv6 to '0' on device removal from bridge or bond.

Fixes: #272
References: openwrt/netifd#40

Signed-off-by: Fabian Bläse <fabian@blaese.de>
fblaese added a commit to FreifunkFranken/firmware that referenced this pull request Dec 21, 2024
If a device is added to a bond or bridge, the disable_ipv6 sysctl is
set, so that no link local addresses are present on the slave devices.

However, the disable_ipv6 sysctl is not restored after removing the
device from the bridge or bond. Therefore, no IPv6 link local addresses
are added and autoconfiguration does not work.

Set the disable_ipv6 to '0' on device removal from bridge or bond.

Fixes: #272
Fixes: dc48c9c
References: openwrt/netifd#40

Signed-off-by: Fabian Bläse <fabian@blaese.de>
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.

1 participant