Cannot get IP/MAC lease from virtual network 6

Hi,

i´am not able to attach a NiC to VM,

OpenNebula 6.10.0.1
KVM on Debian 12
Open vSwitch 3.1.0

Bond config at KVM

root@kvmpoc01:~# cat /proc/net/bonding/bond1
Ethernet Channel Bonding Driver: v6.1.0-31-amd64

Bonding Mode: fault-tolerance (active-backup)
Primary Slave: None
Currently Active Slave: enp65s0f1
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 200
Down Delay (ms): 200
Peer Notification Delay (ms): 0

Slave Interface: enp65s0f1
MII Status: up
Speed: 10000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: f4:e9:d4:a0:74:02
Slave queue ID: 0

Slave Interface: enp67s0f1
MII Status: up
Speed: 10000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 90:e2:ba:cd:bd:5d
Slave queue ID: 0

oned log

Thu Mar 27 09:49:22 2025 [Z0][DiM][E]: Cannot get IP/MAC lease from virtual network 6.
Thu Mar 27 09:49:22 2025 [Z0][ReM][E]: Req:2736 UID:0 one.vm.attachnic result FAILURE 
[one.vm.attachnic] Cannot get IP/MAC lease from virtual network 6.

one network

root@onepoc01:~# onevnet show 0624_DEMO_SERVER
VIRTUAL NETWORK 6 INFORMATION
ID                       : 6
NAME                     : 0624_DEMO_SERVER
USER                     : oneadmin
GROUP                    : oneadmin
LOCK                     : None
CLUSTERS                 : 100
BRIDGE                   : onebr.624
STATE                    : READY
VN_MAD                   : ovswitch
PHYSICAL DEVICE          : bond1
VLAN ID                  : 624
AUTOMATIC VLAN ID        : NO
AUTOMATIC OUTER VLAN ID  : NO
USED LEASES              : 0

PERMISSIONS
OWNER                    : um-
GROUP                    : ---
OTHER                    : ---

VIRTUAL NETWORK TEMPLATE
BRIDGE="onebr.624"
BRIDGE_TYPE="openvswitch"
CLUSTER="100"
OUTER_VLAN_ID=""
PHYDEV="bond1"
SECURITY_GROUPS="0"
VLAN_ID="624"
VN_MAD="ovswitch"

Hello @rbr,

Welcome to this forum. Hope we can help you.

From the information you shared, it seems like the vNet doesn’t have any address ranges configured. That’s the reason why you can not obtain a lease.
You can add address ranges to the vNet through any of the web interfaces or via the CLI.

Cheers,