How to disable ipv6 in centos6

Source: Internet
Author: User
Centos6 disable the ipv6 method first, enter the ip-6addrshow and lsmod in the terminal | grepipv6 to check whether there is an IPV6 module installed, or use netstat-nuptl to check whether there is an ipv6 address, if there is a display, the IPV6 protocol is not disabled. follow these steps...
To disable ipv6 in centos 6, first enter ip-6 addr show and lsmod | grep ipv6 on the terminal to check whether the IPV6 module is installed or use netstat-nuptl to check whether the ipv6 address exists, if the IPV6 protocol is not disabled, follow these steps:
I. vi/etc/modprobe. d/disable-ipv6.conf (name casually) (after RHEL6.0 no/etc/modprobe. conf file) input: install ipv6/bin/true [root @ manager ~] # Cd/etc/modprobe. d/[root @ manager modprobe. d] # cat ipv6.conf install ipv6/bin/true www.2cto.com 2. add a sentence at the end of vi/etc/sysconfig/network: IPV6INIT = no [root @ manager ~] # Cat/etc/sysconfig/networkNETWORKING = yesIPV6INIT = no 3. disable ipv6 iptableschkconfig ip6tables off 4. restart. Finally, enter the first two commands on the terminal to verify whether the IPV6 protocol is successfully disabled. at this time, there should be no content. Author sundful
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.