Re: Option to disable setting MTU
Roy Marples
Fri Mar 29 22:05:21 2019
Hi James
On 29/03/2019 16:19, James Campbell wrote:
Is there a way to prevent dhcpcd from setting the MTU on routes based on
an IPv6 router advertisement? One of our routers is currently
advertising an incorrect MTU; and since it only causes problems for a
few people, it may be a little while before the network folks can get it
corrected. I tried commenting out "option interface_mtu" in the config
in the hopes that that would do it, but without any success. I also
tried setting a static MTU for the interface, which seems to have been
ignored (or overwritten by the RA). For reference, I'm running dhcpcd
v7.0.1 on Gentoo.
interface eth0
nooption nd_mtu
Should do the trick.
Let me know!
Roy
Archive administrator: postmaster@marples.name