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

Disabling ipv6 globally does not apply to all adapters #72451

Closed
DavHau opened this issue Nov 1, 2019 · 4 comments
Closed

Disabling ipv6 globally does not apply to all adapters #72451

DavHau opened this issue Nov 1, 2019 · 4 comments
Labels
0.kind: bug Something is broken 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS

Comments

@DavHau
Copy link
Member

DavHau commented Nov 1, 2019

NixOS version: 19.09

I disabled ipv6 via networking.enableIPv6 = false; like described in the manual, but it doesn't apply for my wifi adapter as you can see:

$ sudo sysctl -a | grep disable_ipv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.br-7e76217ab500.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.docker0.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.tun0.disable_ipv6 = 1
net.ipv6.conf.tun1.disable_ipv6 = 1
net.ipv6.conf.vboxnet0.disable_ipv6 = 1
net.ipv6.conf.virbr0.disable_ipv6 = 1
net.ipv6.conf.virbr0-nic.disable_ipv6 = 1
net.ipv6.conf.wlp2s0.disable_ipv6 = 0

The interface has ipv6 addresses and when I try to ping google it uses ipv6.

@DavHau DavHau added the 0.kind: bug Something is broken label Nov 1, 2019
@veprbl veprbl added the 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS label Nov 2, 2019
@jwygoda
Copy link
Contributor

jwygoda commented Jan 29, 2020

I'm experiencing the same issue. I had to apply a manual fix on a single interface using a normal sysctl.
net.ipv6.conf.wlp2s0.disable_ipv6

@stale
Copy link

stale bot commented Jul 27, 2020

Hello, I'm a bot and I thank you in the name of the community for opening this issue.

To help our human contributors focus on the most-relevant reports, I check up on old issues to see if they're still relevant. This issue has had no activity for 180 days, and so I marked it as stale, but you can rest assured it will never be closed by a non-human.

The community would appreciate your effort in checking if the issue is still valid. If it isn't, please close it.

If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me". If you'd like it to get more attention, you can ask for help by searching for maintainers and people that previously touched related code and @ mention them in a comment. You can use Git blame or GitHub's web interface on the relevant files to find them.

Lastly, you can always ask for help at our Discourse Forum or at #nixos' IRC channel.

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jul 27, 2020
@DavHau
Copy link
Member Author

DavHau commented Dec 18, 2020

Still an issue in nixos 20.03 as of now

@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Dec 18, 2020
@DavHau
Copy link
Member Author

DavHau commented Dec 18, 2020

Closing in favor of duplicate issue: #87802

@DavHau DavHau closed this as completed Dec 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS
Projects
None yet
Development

No branches or pull requests

3 participants