Please confirm
Distribution
Ubuntu
Distribution version
Noble 24.04
Output of snap list --all lxd core20 core22 core24 snapd
core20 20260211 2769 latest/stable canonical✓ base
core22 20260225 2411 latest/stable canonical✓ base
core24 20260317 1587 latest/stable canonical✓ base
lxd 5.21.4-aee7e08 38767 5.21/stable canonical✓ in-cohort
snapd 2.74.1 26382 latest/stable canonical✓ snapd
System info
network.ovn.northbound_connection: ssl:10.0.0.1:6641,ssl:10.0.0.2:6641,ssl:10.0.0.3:6641
user.microcloud: 2.1.2
api_status: stable
api_version: "1.0"
driver: lxc | qemu
driver_version: 6.0.4 | 8.2.2
kernel: Linux
kernel_architecture: x86_64
kernel_features:
bpf_token: "false"
idmapped_mounts: "true"
netnsid_getifaddrs: "true"
seccomp_listener: "true"
seccomp_listener_continue: "true"
uevent_injection: "true"
unpriv_binfmt: "true"
unpriv_fscaps: "true"
kernel_version: 6.8.0-100-generic
lxc_features:
cgroup2: "true"
core_scheduling: "true"
devpts_fd: "true"
idmapped_mounts_v2: "true"
mount_injection_file: "true"
network_gateway_device_route: "true"
network_ipvlan: "true"
network_l2proxy: "true"
network_phys_macvlan_mtu: "true"
network_veth_router: "true"
pidfd: "true"
seccomp_allow_deny_syntax: "true"
seccomp_notify: "true"
seccomp_proxy_send_notify_fd: "true"
os_name: Ubuntu
os_version: "24.04"
project: default
server: lxd
server_clustered: true
server_event_mode: full-mesh
server_version: 5.21.4
server_lts: true
storage: ceph | cephfs
storage_version: 17.2.9 | 17.2.9
Instance log
n/a
Expected behavior
If we don't care about IPv6, we should be allowed to set the bridge.mtu to lower value than 1280
Actual behavior
returns an error when I try to go lower than 1280 for reference my physical host mtu is 1300 so I need to set the bridge to 1242
Config parsing error: Invalid value for network "default" option "bridge.mtu": Out of MTU range (1280-16384) "1242
might be related to this validation
|
// Anything below 68 and the kernel doesn't allow IPv4, anything below 1280 and the kernel doesn't allow IPv6. |
Steps to reproduce
- bootstrap microcloud or lxd.
- lxc network edit UPLINK
- change
bridge.mtu to lower value than the fixed 1442
Information to attach
Please confirm
Distribution
Ubuntu
Distribution version
Noble 24.04
Output of
snap list --all lxd core20 core22 core24 snapdSystem info
Instance log
n/a
Expected behavior
If we don't care about IPv6, we should be allowed to set the
bridge.mtuto lower value than1280Actual behavior
returns an error when I try to go lower than
1280for reference my physical host mtu is1300so I need to set the bridge to1242Config parsing error: Invalid value for network "default" option "bridge.mtu": Out of MTU range (1280-16384) "1242
might be related to this validation
lxd/shared/validate/validate.go
Line 464 in d7defba
Steps to reproduce
bridge.mtuto lower value than the fixed 1442Information to attach
dmesg)lxc config show <instance> --expanded)/var/log/lxd/lxd.logor/var/snap/lxd/common/lxd/logs/lxd.log)--debug--debug(or uselxc monitorwhile reproducing the issue)