转自:
https://magcyber.blogspot.com/2017/03/how-to-setup-network-between-virtualbox.html?showComment=1562895197065
https://superuser.com/questions/701036/virtualbox-connection-with-vmware
按以下流程配置,亲测可用.
Usually, in the testing environment, you may have to setup network between virtual machines which are running on VMware Workstation and VirtualBox. This post shows how to setup network between VirtualBox and VMware virtual machines on same host/computer.
Please follow exact steps.
Step 1: Close all the virtual machines you have opened in both VMware and Oracle Virtual Box.
Step 2: Set network type to ‘Host-only Adapter’ in VirtualBox virtual machine, which you want to connect with VMware virtual machine.
Step 3: Open up VMware Workstation ( Not the VMware Player )
Step 4: Then make these changes on VMware
- Go to Edit -> Virtual Network Editor
- Then Change Settings -> click Yes
or search Virtual Network Editor, right click on it, select Run as Administrator.
- And then,
- Select VMnet0
- Select Bridged option.
- Under that select Bridged to VirtualBox Host-Only Ethernet Adapter
and hit Ok.
Step 4: After that make these changes,
Step 5: On network settings of the virtual machine, change the network type to custom and point to network name you modified in above step.
Step 6: Now open your virtual machines, now you're good to go. Try to ping between two computers and see.
Hope you found it useful.