Advertisement
Guest User

Disable ipv6 in Ubuntu 11.10 HowTo - version 2.0

a guest
Jan 7th, 2012
874
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. - Disable ipv6 in Ubuntu 11.10 HowTo - version 2.0
  2. --------------------------------------------------
  3. What's new in this version?
  4.  
  5. Corrected the information below, removing numerical
  6. values from the text which some dumb user may
  7. insert unknowingly into their files. This information
  8. below is good to go, use it and it works, while many
  9. other guides are outdated and don't work, this is
  10. proven to work in Ubuntu 11.10!
  11. --------------------------------------------------
  12.  
  13. Add the following lines to:
  14.  
  15. /etc/sysctl.conf
  16.  
  17. # Disable IPV6
  18. net.ipv6.conf.all.disable_ipv6 = 1
  19. net.ipv6.conf.default.disable_ipv6 = 1
  20. net.ipv6.conf.lo.disable_ipv6 = 1
  21.  
  22.  
  23. Add to /etc/modprobe.d/blacklist.conf
  24. # Disable IPV6
  25. blacklist ipv6
  26.  
  27. Add to /etc/modprobe.d/blacklist-rare-network.conf
  28. # Disable IPV6
  29. alias net-pf-10 off
  30.  
  31. Save all, logout, reboot
  32.  
  33. Log back in and run ifconfig, you shouldn't
  34. see any ipv6 address listed there anymore,
  35. and you can comment out the ipv6 lines
  36. within /etc/hosts now since you won't
  37. be using ipv6.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement