Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. net.ipv6.conf.all.disable_ipv6 = 1
  2. net.ipv6.conf.default.disable_ipv6 = 1
  3. net.ipv6.conf.lo.disable_ipv6 = 1
  4.  
  5. # ip -6 a
  6. #
  7.  
  8. # ip -6 addr
  9. 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
  10. inet6 <censored>/64 scope global dynamic mngtmpaddr noprefixroute
  11. valid_lft 2591985sec preferred_lft 604785sec
  12. inet6 fe80::250:56ff:feae:c158/64 scope link
  13. valid_lft forever preferred_lft forever
  14.  
  15. # sysctl net.ipv6.conf.all.disable_ipv6 net.ipv6.conf.default.disable_ipv6 net.ipv6.conf.lo.disable_ipv6
  16. net.ipv6.conf.all.disable_ipv6 = 1
  17. net.ipv6.conf.default.disable_ipv6 = 1
  18. net.ipv6.conf.lo.disable_ipv6 = 1
  19.  
  20. # sysctl -w net.ipv6.conf.all.disable_ipv6=1 net.ipv6.conf.default.disable_ipv6=1 net.ipv6.conf.lo.disable_ipv6=1
  21. net.ipv6.conf.all.disable_ipv6 = 1
  22. net.ipv6.conf.default.disable_ipv6 = 1
  23. net.ipv6.conf.lo.disable_ipv6 = 1
  24. # ip -6 addr
  25. #
  26.  
  27. # cat /proc/sys/net/ipv6/conf/all/disable_ipv6
  28. 1
  29. # ip -6 a
  30. 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
  31. inet6 <censored>/64 scope global dynamic mngtmpaddr noprefixroute
  32. valid_lft 2591945sec preferred_lft 604745sec
  33. inet6 fe80::250:56ff:feae:c158/64 scope link
  34. valid_lft forever preferred_lft forever
  35. # echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6
  36. # ip -6 a
  37. #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement