** Description changed:

  On 24.04, with the 6.17 kernel, trying to create a FAN bridge fails if
  the `vxlan` module is not already loaded.
  
  # Reproducer
  
  Initial setup:
  
  $ lxc launch ubuntu-minimal-daily:24.04 noble1 --vm
  $ lxc shell noble1
  root@noble1:~# apt-get update
  root@noble1:~# apt-get install -y linux-image-virtual-hwe-24.04
  root@noble1:~# reboot
  $ lxc shell noble1
  root@noble1:~# lsmod| grep vxlan  # make sure its not loaded
  
  Try to create a FAN bridge:
  
- root@noble1:~# CIDR="$(ip route get 8.8.8.8 | awk '{print $3}' | cut -d. 
-f-3)/24"
+ root@noble1:~# CIDR="$(ip route get 8.8.8.8 | awk '{print $3}' | cut -d. 
-f-3).0/24"
  root@noble1:~# ip link add name fan0 type vxlan id 15728640 dev enp5s0 local 
0.0.0.0 dstport 0 fan-map "240.0.0.0/8:${CIDR}"
  info: Using default fan map value (33)
  Error: binary attribute size out of range.
  
  Didn't work but `vxlan` was loaded, try again:
  
  root@noble1:~# ip link add name fan0 type vxlan id 15728640 dev enp5s0
  local 0.0.0.0 dstport 0 fan-map "240.0.0.0/8:${CIDR}"
  
  That worked but ideally, the `vxlan` module should be autoloaded as it
  is when using the 6.8 kernel.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2141703

Title:
  vxlan module not loaded automatically when creating FAN bridges on
  Noble HWE kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2141703/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to