Chr*_*ris 3 networking windows-7 virtualbox virtual-machine
我正在尝试在我的来宾 Windows 7 和主机 OSX 机器之间建立通信。我vboxnet0
使用以下设置配置了仅主机网络的虚拟机:
IPv4 Address: 192.168.21.19
IPv4 Network Mask: 255.255.255.0
IPv6 Address:
IPv6 Network Mask Length: 0
Run Code Online (Sandbox Code Playgroud)
和 DHCP 禁用。我的 Windows 7 虚拟机将适配器 1 配置为桥接适配器(可正常用于 Internet 访问),将适配器 2 配置为vboxnet0
仅主机适配器。
在 Windows 7 虚拟机上,我看到两个活动的本地连接,Network 2
(我假设它是桥接的并且看起来配置正确)并且Unidentified network
我假设它应该是仅主机的。我已经阅读了很多关于修复Unidentified network
问题的文章,但所有解决方案都依赖于编辑我没有的注册表值。Windows vm 上的设备管理器显示两个适配器,Intel(R) PRO/1000 MT Desktop Adapter
这就是为什么我认为我找不到正确的注册表值来编辑以解决Unidentified network
问题。
ifconfig vboxnet0
在 mac 上返回:
vboxnet0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether 0a:00:27:00:00:00
inet 192.168.21.19 netmask 0xffffff00 broadcast 192.168.21.255
Run Code Online (Sandbox Code Playgroud)
ipconfig /all
在 VM 上给出
Windows IP Configuration
Host Name . . . . . . . . . . . . : Pro-PC
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Local Area Connection 2:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Desktop Adapter #2
Physical Address. . . . . . . . . : 08-00-27-F1-F3-03
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::5000:42b6:9cff:5d1%13(Preferred)
Autoconfiguration IPv4 Address. . : 169.254.5.209(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 302514215
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1D-51-B1-EC-08-00-27-E6-26-5D
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Desktop Adapter
Physical Address. . . . . . . . . : 08-00-27-E6-26-5D
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::bdc5:f6fa:e541:cdc8%11(Preferred)
IPv4 Address. . . . . . . . . . . : 10.0.1.223(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Wednesday, August 26, 2015 4:26:45 PM
Lease Expires . . . . . . . . . . : Thursday, August 27, 2015 4:26:47 AM
Default Gateway . . . . . . . . . : 10.0.1.1
DHCP Server . . . . . . . . . . . : 10.0.1.1
DHCPv6 IAID . . . . . . . . . . . : 235405351
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1D-51-B1-EC-08-00-27-E6-26-5D
DNS Servers . . . . . . . . . . . : 8.8.8.8
4.2.2.2
NetBIOS over Tcpip. . . . . . . . : Enabled
Tunnel adapter isatap.{6498E4F3-8CC9-4D50-BB63-F1D6C7FAD40C}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.{E6A74B05-7F4F-4D38-AF1B-AC517AF26AA9}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Run Code Online (Sandbox Code Playgroud)
小智 5
我有一个类似的问题,最终用一个小技巧解决了它。
就我而言,它问我它是哪种网络(我是 Windows 菜鸟,所以选择了家庭网络并交叉手指)。再次尝试从主机操作系统连接,它工作正常。
归档时间: |
|
查看次数: |
2550 次 |
最近记录: |