Bridge VM on network with mgmt PIF
-
I've installed XCP on a host with a single NIC (which is in fact a ETH-USB adapter).
The only PIF is thus the mgmt PIF (which gets an IP from the network DHCP server).
I'd like to have VM bridged to this network to have connectivity to the external world, but they cannot get an DHCP answer.
Here is the setup:
┌──────────────────────────────────────────────────────┐ │ ┌─────────┐ │ │ no IP!│ │ │ │ ┌────────────┼ XO VM │ │ │ 192.168.1.2 │ │ │ │ ┌───────────────┐ ┌────────▼─┐ └─────────┘ │ NETWORK │ │ │ │ │ │ │ usb0┼─────────► brusb0 │ │ └──────────────────►│ │ │ │ ┌─────────┐ │ 192.168.1.0/24 └───────────────┘ └────────▲─┘ no IP!│ │ │ ETH to USB └────────────┼ otherVM │ │ adapter │ │ │ │ └─────────┘ │ └──────────────────────────────────────────────────────┘ XCP-ng host (single NIC, with USB adapter)
I've the impression that since the only PIF is configured as DHCP (to access the XCP host), VMs on this bridge cannot share this bridge.
I've tcmdumped their vif and the bridge, and they do not get any traffic back (from their DHCP request).
How can I setup this host with a single network on the bridge of the only PIF, with the host and the VMs using it ?
Thanks
-
@3isenHeiM Which USB Ethernet adapter? It could be a driver issue. USB Ethernet devices are not great for XCP. It's best to use a supported PCIe ethernet device.
-
@Andrew it’s a simple dell USB-C to Ethernet adapter, nothing fancy.
I’m running XCP on a laptop with only USB-C ports…
I’m gonna try with other types of adaptors and we’ll see