I have seen many threads talking about running TrueNAS virtualized as a guest under hypervisors like XenServer/XCP-ng and Proxmox. However, I'm trying to do it the other way around.
I want TrueNAS to be on bare metal so I don't have to pass through my HBA and use iSCSI as if XCP-ng is talking to a separate system, and with XCP-ng as a guest inside TrueNAS, all the virtual disks will be backed by ZFS naturally. I'm trying to use the virtualization (KVM) offered by TrueNAS SCALE as well, but I'm also needing to migrate some existing XCP-ng VMs unchanged.
The setup:
I have successfully installed XCP-ng as a KVM guest when the CPU is set to passthrough (otherwise Windows guest support disables). So far, so good. Except now that I have transferred a VM to XCP-ng, the NIC for the guest VM never hears the DHCP broadcast for my router. The XCP-np host receives an IP address, but the guests under it timeout.
What do I need to change on the TrueNAS server to allow DHCP of my router to reach the guest VMs of the XCP-ng VM? I'm not very experienced with KVM, but I'm guessing there is something I need to enable or a bridge to setup or something.
I want TrueNAS to be on bare metal so I don't have to pass through my HBA and use iSCSI as if XCP-ng is talking to a separate system, and with XCP-ng as a guest inside TrueNAS, all the virtual disks will be backed by ZFS naturally. I'm trying to use the virtualization (KVM) offered by TrueNAS SCALE as well, but I'm also needing to migrate some existing XCP-ng VMs unchanged.
The setup:
Code:
TrueNAS SCALE XCP-ng 8.2 (free version of XenServer) Linux VMs (mostly CentOS 7 and Ubuntu 20), Windows VMs later (10 or newer)
I have successfully installed XCP-ng as a KVM guest when the CPU is set to passthrough (otherwise Windows guest support disables). So far, so good. Except now that I have transferred a VM to XCP-ng, the NIC for the guest VM never hears the DHCP broadcast for my router. The XCP-np host receives an IP address, but the guests under it timeout.
What do I need to change on the TrueNAS server to allow DHCP of my router to reach the guest VMs of the XCP-ng VM? I'm not very experienced with KVM, but I'm guessing there is something I need to enable or a bridge to setup or something.