Taylorbyte.com

IT solutions, linux hosting, web design and computer services

Author Topic: Disable or enable ipv6 linux command  (Read 9004 times)

brenton

  • Administrator
  • Newbie
  • *****
  • Posts: 5
    • View Profile
    • Taylorbyte.com
Disable or enable ipv6 linux command
« on: December 19, 2011, 01:11:11 am »
To disable or enable ipv6 on a Linux machine:

Enable
Code: [Select]
echo 0 | sudo tee /proc/sys/net/ipv6/conf/all/disable_ipv6

Disable
Code: [Select]
echo 1 | sudo tee /proc/sys/net/ipv6/conf/all/disable_ipv6

This is useful if you are using an ipv6 broker and the tunnel is going up and down or the latency too high for particular websites and you want to temporarily disable ipv6 and re-enable it later.
Arch-linux, NVIDIA multiseat, SSD, btrfs, GPT.
Linux as main OS since 2007

 

Database Error

Please try again. If you come back to this error screen, report the error to an administrator.
Back