Page MenuHomeVyOS Platform

MTU settings cannot be applied when IPv6 is disabled
Closed, ResolvedPublicBUG

Description

It seems that the code that controls MTU on an interface was suddenly placed in the wrong place which made it depend on IPv6 global settings.
https://github.com/vyos/vyos-1x/blob/bafb1973d906707cb571385e994a949d0d90b645/python/vyos/ifconfig/interface.py#L1501-L1531

Most likely, MTU-related code should be outside of if sysctl_read('net.ipv6.conf.all.disable_ipv6') == '0'.

Details

Difficulty level
Easy (less than an hour)
Version
1.3.1-S1, 1.4-rolling-202203310217
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Related Objects

Mentioned In
1.3.2
1.3.2

Event Timeline

c-po changed the task status from Open to In progress.Mar 31 2022, 6:08 PM
c-po claimed this task.
c-po triaged this task as High priority.
c-po edited projects, added VyOS 1.3 Equuleus (1.3.2); removed VyOS 1.3 Equuleus.
c-po moved this task from In Progress to Finished on the VyOS 1.3 Equuleus (1.3.2) board.