Improving Internet access speed after IPV6 is disabled in Ubuntu

Source: Internet
Author: User
Article title: improving Internet access speed after IPV6 is disabled in Ubuntu. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

Disable tcp_ecn in Ubuntu/Kubuntu and disable ipv6:

Disable tcp_ecn

Sudo sh-c "echo 'echo 0>/proc/sys/net/ipv4/tcp_ecn'>

/Etc/rcS. d/S60locale"

Sudo chmod + x/etc/rcS. d/S60locale

Sudo/etc/rcS. d/S60locale

Some sites use poor routers. it is better to access these sites after tcp_ecn is turned off.

Disable ipv6:

Modify/etc/modprobe. d/aliases

Note alias net-pf-10 ipv6

Add a line of alias net-pf-10 off below

After editing/etc/modprobe. d/aliases, run update-modules and reboot.

No more after restart

It is said that the network speed has improved after ipv6 is disabled.

However, some domestic education networks and scientific research networks use ipv6.

The standard practice is to add net. ipv4.tcp _ ecn = 0 to/etc/sysctl. conf.

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.