Redhat5 Disable IPv6

Source: Internet
Author: User
Tags linux mint
IPv6 has not been fully popularized yet, but IPv6 is effective after the system is installed, which affects network performance to a certain extent. Therefore, we recommend that you disable IPv6. Now we will describe how to disable it in the complete steps in this article. 1. Modify/etc/sysconfig/network and change the second line to no: NETWORKING = yesNETWORKING_IPV6 = noHOSTNAME = db01NOZEROCONF = yes2.

IPv6 has not been fully popularized yet, but IPv6 is effective after the system is installed, which affects network performance to a certain extent. Therefore, we recommend that you disable IPv6. Now we will describe how to disable it in the complete steps in this article.

1. Modify/etc/sysconfig/network and change the second line to no:

NETWORKING = yes
NETWORKING_IPV6 = no
HOSTNAME = db01
NOZEROCONF = yes

2. Modify/etc/hosts and comment out the local host name resolution in ipv6:

#: 1 localhost localhost6 localhost6.localdomain6

3. to prevent the system from loading ipv6-related modules, You need to modify the modprobe configuration file. For ease of management, we create a new configuration file/etc/modprobe. d/6off. conf. The content is as follows:

Alias net-pf-10 off
Options ipv6 disable = 1

Note: If you use the NIC binding (bond) technology and do not want ipv6, use the first method. Otherwise, the bonding module may fail to be loaded when the system starts.

4. restart the system and then confirm:

[Root @ db01 ~] # Ifconfig | grep-I inet6
[Root @ db01 ~] #

If the execution result of the preceding command is not displayed, it indicates that ipv6 has been completely disabled.

Ubuntu enables IPV6 http://www.linuxidc.com/Linux/2013-03/80479.htm

IPV6 address http://www.linuxidc.com/Linux/2013-01/78078.htm for Cisco CCIE Certification knowledge points

WireShark capture IPV6 packet use tutorial http://www.linuxidc.com/Linux/2013-01/77518.htm

Use IPV6 source without traffic update http://www.linuxidc.com/Linux/2012-07/66240.htm on Ubuntu 12.04 Campus Network

Build IPV6 ftp server http://www.linuxidc.com/Linux/2012-07/65150.htm in Linux

CentOS IPV6 settings http://www.linuxidc.com/Linux/2012-06/63644.htm

Configure update source http://www.linuxidc.com/Linux/2012-06/63643.htm in CentOS pure IPV6 environment

CentOS 6 IPV6 disabling method http://www.linuxidc.com/Linux/2012-06/63642.htm

How to disable IPv6 http://www.linuxidc.com/Linux/2014-07/104192.htm on Ubuntu, Linux Mint, Debian

For more information about RedHat, see RedHat topic page http://www.linuxidc.com/topicnews.aspx? Tid = 10

This article permanently updates the link address: Http://www.linuxidc.com/Linux/2014-10/107516.htm

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.