1. Modify modprobe. conf:
Alias net-pf-10 off
Disable ECN: Echo 0>/proc/sys/NET/IPv4/tcp_ecn
2. Change the name of the IPv6 directory of the kernel module to force IPv6 to exclude loading.
Easthero:
We also encountered problems when accessing some websites. The problem is caused by a function called ECN (clearly blocking notification) in Linux 2.6 kernel. ecn allows routers to report network congestion to users, but when ECN is enabled, this will also cause some old firewalls to reject network connections. To disable ECN, we have to add the "net. ipv4.tcp _ ECN = 0" command in the/etc/sysctl. Conf. File.
Chaisave:
The "net. ipv4.tcp _ ECN = 0" command is added to the/etc/sysctl. Conf. File.
Realtang:
I directly used the rmmod-F IPv6 command to remove the IPv6 module, and the world immediately became clean, with the same speed as flying.
Luochong:
I tried to remove alias net-pf-10 IPv6 in/etc/modprobe. d/aliases and update-modules. In this way, the IPv6 module will not be loaded.
Erniu:
There are two authentic Methods
1. Remove IPv6 from modconf.
2. Re-compile the kernel and remove IPv6.
Madbug:
If a friend who modified/etc/modprobe. d/aliases still has IPv6 in lsmod, I guess you didn't execute Update-modules after the modification.