Got two network interfaces, eth0 and vboxnet0 on a machine that hosts virtualbox machines. Default interface is eth0.
I am able to access virtual machines through vboxnet0, but only when I access them by IP address:
When I try to access virtual machines through vboxnet0 by hostname, the connection times out.Code:ssh 10.10.1.103
Would also like to force internet connections through vboxnet0 (I have a virtual router running that provides connections for machines in virtual environment). I have been playing around with routing options, but no luck yet.
Any help with this would be greatly appreciated.