Steps:
- Create a VirtualBox's HIF and attach it to the VM.
- Set its IP address to, say, 192.168.2.1.
- Start the guest OS.
- From within the guest OS, give a static address to the HIF, say, 192.168.2.2.
- From host OS, make sure you can ping 192.168.2.2
- From the guest OS, make sure you can ping 192.168.2.1
This establishes a private network between the host and the guest. The guest is perceived as another node in the network hosting a Samba share.
2 comments:
what is an HIF ?
It's short for Host Interface Network. HIF is a virtual network device on the host OS. It is used only in VirtualBox 1.x. Virtual Box 2.0 and later do not require HIF anymore.
To create a private network in VirtualBox 2.x, simply creates a NAT interface or Host-Only Networking (Virtual Box 2.2 or later).
Post a Comment