Redhat 5 disables IPv6 and redhat5 disables ipv6

Source: Internet
Author: User

Redhat 5 disables IPv6 and redhat5 disables ipv6
Redhat 5 Disable IPv6


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=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 offoptions 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.


Centos65, IPv6 module disabled

I sent you a private email ~

How does redhat automatically obtain an ipv6 address through dhcp?

In addition to Kernel support for ipv6, is there such a setting?
# Cat/etc/sysconfig/network
...
NETWORKING_IPV6 = yes
...

Cp/etc/sysconfig/network-scripts/ifcfg-eth0/etc/sysconfig/network-scripts/ifcfg-eth1.
 

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.