---
title: "Win7更改 virtualbox 网络类型 之 undefined network to work network"
author: "hb_keepmoving"
date: "2014-05-11T22:37:03Z"
tags: []
categories: ["开源软件"]
slug: "win7-virtualbox-undefined-network-to-work-network"
draft: false
lastmod: "2014-05-11T22:51:01Z"
id: 2065089
url: "https://hb-keepmoving.iteye.com/blog/2065089"
---

A.本地主机更改注册表

1\. Open regedit and navigate to *HKLM\\SYSTEM\\CurrentControlSet\\Control\\Class\\{4D36E972-E325-11CE-BFC1-08002BE10318}*

2\. Browse through the subkeys (named 0000, 0001, etc) until you find the subkey containing the virtualbox network adapter, this is the one where the “*DriverDesc*” key has “*VirtualBox Host-Only Ethernet Adapter*” as value.

3\. Add a new DWORD value with a name of “*\*NdisDeviceType*” and a value of “*1*”

4\. Disable en re-enable the virtuabox host-only network adapter, or alternatively reboot your pc.

 

B.虚拟主机 网络连接方式选择 “桥接”并选择 物理网卡，设置自动适配IP 地址，即可。。。

 

附件。。是截图