宿主机环境:WINDOWS7 64位
虚拟机:VirtualBox 3.1.4 r57640 X64
1、选中VB安装的虚拟网卡和本地连接,然后在右键菜单中选择“桥接”:
![image image](https://oqxjkg.bay.livefilestore.com/y1m3nfs0xxdDqo-y8A4xcGYzHUNR4JUwJxVBLmHL2AO2Q0jzxDYTeTfm3YH67lj7dDny2ehdww_fitVAF5_z-oXK4AN91PvNV2FR4XOZRECnp5TpGIUkALXHXrcNyFF9E8Z_IT3JPuD_lLN_HrKNhnviA/image_thumb[3].png)
2、然后windows就会添加一个“网桥”:
![image image](https://oqxjkg.bay.livefilestore.com/y1maxRZc7DNh-EjU4M7AxRCsx6FhUTWm7sd0RoytoB41KtcugPt1g5nA_44XOuY4K694BWc1-tVQsF9gDiZg5l31F8V5-FomzHQlrKHvJJNzh7Nzj5UUmorSfu0MTKbTGYPYZQ9fNYWAMZojEEaMMmPug/image_thumb[4].png)
3、右键选网桥,更改它的IP设置为局域网的IP;
4、在VB设置界面,选择虚拟机的网络设置:
![image image](https://oqxjkg.bay.livefilestore.com/y1m5JSJMvrwjp0-eAkhLsiTc68fE24urrNBQA8g_RibYEQGeUjvMY4QyJmQ9d6dVbFTvKZq8cxWH298embLWP2xNt7EWVpoYRQgO7KZmWg5V3Z4ftJg6OrALVZWuRJ3Ct2FHucOSbTf4cR_VHDqDQbp_A/image_thumb[6].png)
5、在网络设置窗口,修改连接方式为:Bridged Adapter,名称为:MAC Bridge Miniport
![image image](https://oqxjkg.bay.livefilestore.com/y1mqI6NM0PfTZf9Afgh3l2RTbF7zBvOVqoI4Zrlyrwyr-_dDgQRu-qtuYXgt2Q-T5rG05eJ6stx0R1r5os2j4moeZ434v8UPdGXrhs6dmg1I-l5rVUJ87ATphgKA3IWRTFeWmaCnQzIktLpVmYYkkO_Sw/image_thumb[8].png)
6、启动虚拟机,在虚拟机里的网络配置中配置外部局域网分配的IP即可。
![image image](https://oqxjkg.bay.livefilestore.com/y1mnopE4WP7sTjz9HziFsWqQUmr8VfuY7mhoG5OQWeXIwcXWeFminVO71mnXzg1UGHG7PIQXHbE4v8p4Gm8SiWHIl74Um54tst_JaTJPxhzoBUk5LiJ26LJEPuQdgVqCjwSNSF-2aqvpmHOlwiSffHtJw/image_thumb[10].png)
转载请注明出处!