Redhat 5 Disable IPv6

Source: Internet
Author: User
Tags linux mint

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

Enable IPV6 in Ubuntu

IPV6 address for Cisco CCIE Certification knowledge points

How to capture IPV6 data packets in WireShark

Use IPV6 source for traffic-free updates on Ubuntu 12.04 Campus Network

Build an IPV6 ftp server in Linux

CentOS IPV6 settings

Set Update source in CentOS pure IPV6 environment

How to disable CentOS 6 IPV6

How to disable IPv6 on Ubuntu, Linux Mint, and Debian

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.