My desktop (the host) runs Xubuntu Bionic beaver, and has 2 wired network cards. The main one is connected to the world via my home router (I am posting this through it!) and to my other 2 home PCs, and the auxiliary card _usually_ goes to a separate network containing my home security cameras but for now, because of this debugging, there is only one camera, directly connected with its cable without hubs and other stuff. My host can ping the camera allright and fetch its pictures.
In the VirtualBox I run a CentOS6 minimal guest, but can't get to ping the camera, and of course i don't get the pictures. I tried several configurations, the one that looks more promising is:
- Both host and guest set on the aux. card static IP 192.168.1.1, the camera has 192.168.1.9, masks are 255.255.255.0, and pinging the interface works on both host and guest.
- The aux NIC (Adapter 2 in VirtualBox "network" settings) is attached to "Internal network", the main card (adapter 1) is attached to NAT, and the guest too sees the world OK.
How can I get my guest to see the camera(s)? Thanks for your help!