Separate MTU for IPv4 and IPv6 on Linux

Is it possible to define MTU on an interface with different values for IPv4 and IPv6 on a Linux machine? It seems that command ifconfig MTU defines the same MTU for both IPv4 and IPv6.
Any help is appreciated.

1

1 Answer

This might help you. Setting a higher value in

 /proc/sys/net/ipv6/conf/eth0/mtu
command sudo sh -c "echo 0 > /proc/sys/net/ipv6/conf/eth0/mtu

But turns out it can be reset regularly by the router. Quote from a comment in this link. How to configure a large mtu (linux)

This value gets updated/reset regularly through Router Advertisement. RA can be disabled by writing 0 to accept_ra in the same folder under /proc.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like