Home page of this blog

Tuesday, July 27, 2010

Improving linux network compatibility with old routers

Recently I was reading about random slowness in browsing and similar experiences here http://ubuntuforums.org/showthread.php?t=1174741


and this one http://inodes.org/2006/09/06/tcp-window-scaling-and-kernel-2617/

and this one http://lwn.net/Articles/92727/

According to the LWN article, tcp window scaling is enabled by default. So if we want to improve compatibility with old routers and linux networking stack, it is by disabling tcp window scaling

To disable tcp window scaling

add this to end of  /etc/sysctl.conf


net.ipv4.tcp_window_scaling = 0 


To disable ipv6

add this to end of /etc/sysctl.conf


#disable ipv6
net.ipv6.conf.all.disable_ipv6 = 1 
net.ipv6.conf.default.disable_ipv6 = 1 
net.ipv6.conf.lo.disable_ipv6 = 1 


After this reboot to experience compatible network experience with old routers

No comments:

Post a Comment