nixCraft,
@nixCraft@mastodon.social avatar

There are some valid reasons to temporarily disable IPv6 in Linux for testing, debugging, and other purposes. Let's see how to disable or enable IPv6 in temporarily using the CLI https://www.cyberciti.biz/faq/how-to-temporarily-disable-ipv6-in-linux/

planetf1,
@planetf1@mastodon.social avatar

@nixCraft Agreed good to know. I do get frustrated when so many see disabling v6 as the answer to all their problems… And still amazing how many sites/ ISPs (at least for home users) don’t support yet. For me proper dual-stack is non-negotiable in isp choice!

nyx,
@nyx@im-in.space avatar

@nixCraft
I'm a bit puzzled. If I disable/enable v6 for "all", why is it necessary to also do the same for "default"?

(referring to:
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=0 )

nixCraft,
@nixCraft@mastodon.social avatar

@nyx net.ipv6.conf.default.disable_ipv6 is used to set on any interfaces that are created after the change.

net.ipv6.conf.all.disable_ipv6 set all interfaces, including both existing and newly created ones

If you want to disable IPv6 completely and permanently , you must set both parameters to 1.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux
  • DreamBathrooms
  • ngwrru68w68
  • tester
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • mdbf
  • tacticalgear
  • JUstTest
  • osvaldo12
  • normalnudes
  • cubers
  • cisconetworking
  • everett
  • GTA5RPClips
  • ethstaker
  • Leos
  • provamag3
  • anitta
  • modclub
  • megavids
  • lostlight
  • All magazines