Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Linux tcp settings for ipv6 [closed]

I want to change tcp keepalive settigs specifically tcp_keepalive_time, tcp_keepalive_intvl, tcp_keepalive_probes and tcp_retries2 settings for linux. all these settings are available for ipv4 in linux but i dont see any ipv6 settings. Do these settings automatically apply to ipv6? If these settings do apply to ipv6 is there an official doc which mentions that?

Thanks!

like image 759
Abdul Rahman Avatar asked Mar 03 '14 21:03

Abdul Rahman


1 Answers

Yes, the tcp settings for ipv4 also apply to ipv6:

https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt:

...
/proc/sys/net/ipv6/* Variables:

IPv6 has no global variables such as tcp_*.  tcp_* settings under ipv4/ also
apply to IPv6  
...
like image 121
mata Avatar answered Nov 15 '22 17:11

mata