Virtual machine + ubuntu network pb

I just changed HA from PI to a NUCi5. So I have: nuc + ubuntu (desktop) + virtal machine + HA (qcow2). Laborious installation especially to get to display the interface via 192.168.x.x: 8123. difficulty with network addresses. I can see and use the usb keys (decon, rtfcom,), but I do not discover devices on my home network (sonos, harmony,) or retrieve weather data on an external server via "https://github.com / pilotak / homeassistant-clientraw ". This must come from the communication of the virtualbox and the home network. how can I solve this problem? an info, a link