How to get around XCP-NG VIFs per VM restrictions

Hi

I am migrating my homelab from Hyper-V to XCP-NG 8.3 and I have hit an obstacle. First of all there is a soft cap of 7 VIFs per VM in XO that can be overcome using the xe vif-create command, but some sources say there is a 31 VIF hard cap by Xen. Both my “development” environment and “production“ environment have over 31 networks.

I have one hardware router/internet NAT gateway (R1) and two virtual routers (migrating from Hyper-V to XCP-NG), one for developmentenvironment (R3) and one for productionenvironment (R2). They create a triangle so all three have small /29 networks between them (R1-R2,R1-R3, R2-R3). The 31+ private networks are behind R2 and R3 (different subnets). The private networks in XCP-NG I created as GPN networks over VxLAN (I could have probably stayed local private, but I couldn’t figure out how to create them without attaching a PIF at the time, so I create them as GPNs)

So I am wondering what are my options to overcome the 31 VIF hard-cap (If it truly exists) or what other solutions are there to this? Can I pass the VLAN (one for respective environment) transporting the VxLANs to their respective R2/R3 and in the virtual routers (again R2 and R3) somehow access the VxLANs (maybe using open-vswitch - not sure if this is the correct one, but XCP-NG itself uses it I think for this)

Welcome to the forums but I have never tried to bypass the limits or even had any systems that needed more than the 7 interfaces. If no one here has any suggestions you might want to post it over in the XCP-ng forums. Home | XCP-ng and XO forum

This might be of use.