8

I'm working on a Linux network deice, and there are some TCP/IP settings that don't seem to have IPv6 equivalents. IP forwarding is a common setting, and available in both stacks

net.ipv4.ip_forward
net.ipv6.conf.all.forwarding

But these are examples of some setting I would need to support IPv6

net.ipv4.ip_nonlocal_bind
net.ipv4.ip_local_port_range
net.ipv4.tcp_tw_reuse
net.ipv4.tcp_rmem
net.ipv4.tcp_wmem

ip_nonlocal_bind is pretty critical, and settings for TCP TIME_WAIT sockets are seemingly missing.

Pointers to kernel/iproute documentation which I may have missed would be great too.

kasperd
  • 31,086
Mr_Pink
  • 1,934

2 Answers2

1

Well, it seems that at least some (all?) of these features just haven't been implemented.

Here is a recent attempted patch to add ipv6_nonlocal_bind, with some issues later in the thread.

Mr_Pink
  • 1,934
0

http://kb.pert.geant.net/PERTKB/LinuxOSSpecific suggests:

Note that although some of these parameters have ipv4 in their names, they apply equally to TCP over IPv6.

I have not tested myself whether it is true.

nh2
  • 958