从同一台PC无法访问本地虚拟机的IP地址

时间:2018-06-27 13:26:16

标签: windows-10 ip vmware

我有一台Windows 10 PC(版本10.0.17134内部版本17134),其中安装了VMware(版本12.5.9 build-7535481)和Windows 10(企业版N 2015 LTSB)。我们对此“ VMware PC”的IP地址有疑问。 C:\Windows\System32\drivers\etc中的“主机”文件中,VMware PC的条目为WIN10PC(请参见附件)。 C:\WinSxS\amd64_microsoft-windows…中还有一个第二个“主机”文件,没有任何条目,但是尝试添加WIN10PC条目也由于以下消息而失败:

Attempt to save 'hosts' file 但是,我仅在Notepad ++应用程序中打开了此主机文件。 WIN10PC上的ping找不到172.10.10.153的地址,并返回Windows 10 PC自己的IP地址,即172.10.10.150arp命令根本不会登记WIN10PC地址172.10.10.153,而arp -s命令将不会添加此IP地址(请参阅附件)。有趣的是,我的同事可以从他们的PC上“看到” VMware机器!

您知道出了什么问题吗?

主机文件:

# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
#   127.0.0.1       localhost
#   ::1             localhost
172.10.10.153    WIN10PC

在VMware Windows 10虚拟PC上执行的命令:

    C:\Users\domizil>ipconfig /all

Windows-IP-Konfiguration

   Hostname  . . . . . . . . . . . . : WIN10PC
   Primäres DNS-Suffix . . . . . . . :
   Knotentyp . . . . . . . . . . . . : Hybrid
   IP-Routing aktiviert  . . . . . . : Nein
   WINS-Proxy aktiviert  . . . . . . : Nein
   DNS-Suffixsuchliste . . . . . . . : cpimmo.local

Ethernet-Adapter Ethernet0:

   Verbindungsspezifisches DNS-Suffix: cpimmo.local
   Beschreibung. . . . . . . . . . . : Intel(R) 82574L Gigabit Network Connection
   Physische Adresse . . . . . . . . : 00-0C-29-4D-DA-DE
   DHCP aktiviert. . . . . . . . . . : Ja
   Autokonfiguration aktiviert . . . : Ja
   Verbindungslokale IPv6-Adresse  . : fe80::60e3:69ea:bd10:764%2(Bevorzugt)
   IPv4-Adresse  . . . . . . . . . . : 172.10.10.153(Bevorzugt)
   Subnetzmaske  . . . . . . . . . . : 255.255.255.0
   Lease erhalten. . . . . . . . . . : Mittwoch, 27. Juni 2018 11:49:44
   Lease läuft ab. . . . . . . . . . : Donnerstag, 5. Juli 2018 11:49:43
   Standardgateway . . . . . . . . . : 172.10.10.1
   DHCP-Server . . . . . . . . . . . : 172.10.10.27
   DHCPv6-IAID . . . . . . . . . . . : 50334761
   DHCPv6-Client-DUID. . . . . . . . : 00-01-00-01-22-C4-06-36-00-0C-29-4D-DA-DE
   DNS-Server  . . . . . . . . . . . : 172.10.10.27
   NetBIOS über TCP/IP . . . . . . . : Aktiviert

Tunneladapter 6TO4 Adapter:

   Verbindungsspezifisches DNS-Suffix: cpimmo.local
   Beschreibung. . . . . . . . . . . : Microsoft 6to4 Adapter
   Physische Adresse . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP aktiviert. . . . . . . . . . : Nein
   Autokonfiguration aktiviert . . . : Ja
   IPv6-Adresse. . . . . . . . . . . : 2002:ac0a:a99::ac0a:a99(Bevorzugt)
   Standardgateway . . . . . . . . . :
   DHCPv6-IAID . . . . . . . . . . . : 184549376
   DHCPv6-Client-DUID. . . . . . . . : 00-01-00-01-22-C4-06-36-00-0C-29-4D-DA-DE
   DNS-Server  . . . . . . . . . . . : 172.10.10.27
   NetBIOS über TCP/IP . . . . . . . : Deaktiviert

Tunneladapter isatap.cpimmo.local:

   Medienstatus. . . . . . . . . . . : Medium getrennt
   Verbindungsspezifisches DNS-Suffix: cpimmo.local
   Beschreibung. . . . . . . . . . . : Microsoft ISATAP Adapter
   Physische Adresse . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP aktiviert. . . . . . . . . . : Nein
   Autokonfiguration aktiviert . . . : Ja

C:\Users\domizil>

在Windows 10 PC上执行的命令:

C:\WINDOWS\system32>ping WIN10PC

Ping wird ausgeführt für WIN10PC [172.10.10.153] mit 32 Bytes Daten:
Antwort von 172.10.10.150: Zielhost nicht erreichbar.
Antwort von 172.10.10.150: Zielhost nicht erreichbar.
Antwort von 172.10.10.150: Zielhost nicht erreichbar.
Antwort von 172.10.10.150: Zielhost nicht erreichbar.

Ping-Statistik für 172.10.10.153:
    Pakete: Gesendet = 4, Empfangen = 4, Verloren = 0
    (0% Verlust),

C:\WINDOWS\system32>arp -s 172.10.10.153 00-0C-29-4D-DA-DE

C:\WINDOWS\system32>arp -a

Schnittstelle: 192.168.88.1 --- 0xa
  Internetadresse       Physische Adresse     Typ
  192.168.88.255        ff-ff-ff-ff-ff-ff     statisch
  224.0.0.2             01-00-5e-00-00-02     statisch
  224.0.0.22            01-00-5e-00-00-16     statisch
  224.0.0.251           01-00-5e-00-00-fb     statisch
  224.0.0.252           01-00-5e-00-00-fc     statisch
  224.0.1.60            01-00-5e-00-01-3c     statisch
  239.255.2.2           01-00-5e-7f-02-02     statisch
  239.255.255.254       01-00-5e-7f-ff-fe     statisch

Schnittstelle: 192.168.23.1 --- 0x13
  Internetadresse       Physische Adresse     Typ
  172.10.10.153         00-0c-29-4d-da-de     statisch
  192.168.23.255        ff-ff-ff-ff-ff-ff     statisch
  224.0.0.2             01-00-5e-00-00-02     statisch
  224.0.0.22            01-00-5e-00-00-16     statisch
  224.0.0.251           01-00-5e-00-00-fb     statisch
  224.0.0.252           01-00-5e-00-00-fc     statisch
  224.0.1.60            01-00-5e-00-01-3c     statisch
  239.255.2.2           01-00-5e-7f-02-02     statisch
  239.255.255.254       01-00-5e-7f-ff-fe     statisch

Schnittstelle: 172.10.10.150 --- 0x19
  Internetadresse       Physische Adresse     Typ
  172.10.10.1           00-09-0f-a9-b3-04     dynamisch
  172.10.10.12          00-50-56-92-5b-28     dynamisch
  172.10.10.13          00-0c-29-04-4c-cf     dynamisch
  172.10.10.14          00-0c-29-74-62-25     dynamisch
  172.10.10.15          00-00-74-ea-d7-55     dynamisch
  172.10.10.16          00-21-b7-c0-3e-04     dynamisch
  172.10.10.27          00-0c-29-68-89-9c     dynamisch
  172.10.10.31          00-0c-29-4d-2a-10     dynamisch
  172.10.10.38          00-50-56-92-13-58     dynamisch
  172.10.10.105         bc-ee-7b-72-78-b4     dynamisch
  172.10.10.107         00-0c-29-3a-db-9f     dynamisch
  172.10.10.113         bc-ee-7b-71-be-b5     dynamisch
  172.10.10.116         00-0c-29-4d-2a-10     dynamisch
  172.10.10.124         44-1e-a1-cd-b5-da     dynamisch
  172.10.10.128         00-50-b6-1e-75-94     dynamisch
  172.10.10.129         d8-97-ba-3c-ea-3b     dynamisch
  172.10.10.131         94-57-a5-e0-7c-2e     dynamisch
  172.10.10.132         e4-11-5b-f3-9b-02     dynamisch
  172.10.10.136         bc-ee-7b-72-78-83     dynamisch
  172.10.10.138         00-50-56-92-2f-12     dynamisch
  172.10.10.139         00-0c-29-a1-8d-59     dynamisch
  172.10.10.141         00-0c-29-48-e2-ca     dynamisch
  172.10.10.142         00-50-56-92-42-37     dynamisch
  172.10.10.143         d8-50-e6-bb-ba-b8     dynamisch
  172.10.10.145         b8-97-5a-cb-8b-c4     dynamisch
  172.10.10.147         bc-ee-7b-72-78-24     dynamisch
  172.10.10.149         00-0c-29-06-93-be     dynamisch
  172.10.10.162         00-0c-29-b7-0e-0f     dynamisch
  172.10.10.168         00-50-b6-1e-7d-94     dynamisch
  172.10.10.171         bc-ee-7b-78-5a-3a     dynamisch
  172.10.10.173         38-2c-4a-b9-e1-df     dynamisch
  172.10.10.180         80-3f-5d-0a-45-f8     dynamisch
  172.10.10.189         00-0c-29-ae-27-00     dynamisch
  172.10.10.191         00-50-56-92-62-e5     dynamisch
  172.10.10.255         ff-ff-ff-ff-ff-ff     statisch
  224.0.0.2             01-00-5e-00-00-02     statisch
  224.0.0.22            01-00-5e-00-00-16     statisch
  224.0.0.251           01-00-5e-00-00-fb     statisch
  224.0.0.252           01-00-5e-00-00-fc     statisch
  224.0.1.60            01-00-5e-00-01-3c     statisch
  239.255.2.2           01-00-5e-7f-02-02     statisch
  239.255.255.250       01-00-5e-7f-ff-fa     statisch
  239.255.255.254       01-00-5e-7f-ff-fe     statisch
  255.255.255.255       ff-ff-ff-ff-ff-ff     statisch

C:\WINDOWS\system32>ipconfig

Windows-IP-Konfiguration


Ethernet-Adapter LAN-Verbindung* 3:

   Medienstatus. . . . . . . . . . . : Medium getrennt
   Verbindungsspezifisches DNS-Suffix:

Ethernet-Adapter Ethernet 2:

   Verbindungsspezifisches DNS-Suffix: cpimmo.local
   Verbindungslokale IPv6-Adresse  . : fe80::39e7:c33b:f4e8:6a13%25
   IPv4-Adresse  . . . . . . . . . . : 172.10.10.150
   Subnetzmaske  . . . . . . . . . . : 255.255.255.0
   Standardgateway . . . . . . . . . : 172.10.10.1

Ethernet-Adapter Ethernet 3:

   Verbindungsspezifisches DNS-Suffix:
   Verbindungslokale IPv6-Adresse  . : fe80::d446:e2be:bbf7:efe7%19
   IPv4-Adresse  . . . . . . . . . . : 192.168.23.1
   Subnetzmaske  . . . . . . . . . . : 255.255.255.0
   Standardgateway . . . . . . . . . :

Ethernet-Adapter Ethernet 4:

   Verbindungsspezifisches DNS-Suffix:
   Verbindungslokale IPv6-Adresse  . : fe80::25a7:6c5c:9a5e:5f72%10
   IPv4-Adresse  . . . . . . . . . . : 192.168.88.1
   Subnetzmaske  . . . . . . . . . . : 255.255.255.0
   Standardgateway . . . . . . . . . :

Ethernet-Adapter Ethernet 5:

   Medienstatus. . . . . . . . . . . : Medium getrennt
   Verbindungsspezifisches DNS-Suffix:

C:\WINDOWS\system32>arp -a

Schnittstelle: 192.168.88.1 --- 0xa
  Internetadresse       Physische Adresse     Typ
  192.168.88.255        ff-ff-ff-ff-ff-ff     statisch
  224.0.0.2             01-00-5e-00-00-02     statisch
  224.0.0.22            01-00-5e-00-00-16     statisch
  224.0.0.251           01-00-5e-00-00-fb     statisch
  224.0.0.252           01-00-5e-00-00-fc     statisch
  224.0.1.60            01-00-5e-00-01-3c     statisch
  239.255.2.2           01-00-5e-7f-02-02     statisch
  239.255.255.254       01-00-5e-7f-ff-fe     statisch

Schnittstelle: 192.168.23.1 --- 0x13
  Internetadresse       Physische Adresse     Typ
  172.10.10.153         00-0c-29-4d-da-de     statisch
  192.168.23.255        ff-ff-ff-ff-ff-ff     statisch
  224.0.0.2             01-00-5e-00-00-02     statisch
  224.0.0.22            01-00-5e-00-00-16     statisch
  224.0.0.251           01-00-5e-00-00-fb     statisch
  224.0.0.252           01-00-5e-00-00-fc     statisch
  224.0.1.60            01-00-5e-00-01-3c     statisch
  239.255.2.2           01-00-5e-7f-02-02     statisch
  239.255.255.254       01-00-5e-7f-ff-fe     statisch

Schnittstelle: 172.10.10.150 --- 0x19
  Internetadresse       Physische Adresse     Typ
  172.10.10.1           00-09-0f-a9-b3-04     dynamisch
  172.10.10.12          00-50-56-92-5b-28     dynamisch
  172.10.10.13          00-0c-29-04-4c-cf     dynamisch
  172.10.10.14          00-0c-29-74-62-25     dynamisch
  172.10.10.15          00-00-74-ea-d7-55     dynamisch
  172.10.10.16          00-21-b7-c0-3e-04     dynamisch
  172.10.10.27          00-0c-29-68-89-9c     dynamisch
  172.10.10.31          00-0c-29-4d-2a-10     dynamisch
  172.10.10.38          00-50-56-92-13-58     dynamisch
  172.10.10.105         bc-ee-7b-72-78-b4     dynamisch
  172.10.10.107         00-0c-29-3a-db-9f     dynamisch
  172.10.10.113         bc-ee-7b-71-be-b5     dynamisch
  172.10.10.116         00-0c-29-4d-2a-10     dynamisch
  172.10.10.124         44-1e-a1-cd-b5-da     dynamisch
  172.10.10.128         00-50-b6-1e-75-94     dynamisch
  172.10.10.129         d8-97-ba-3c-ea-3b     dynamisch
  172.10.10.131         94-57-a5-e0-7c-2e     dynamisch
  172.10.10.132         e4-11-5b-f3-9b-02     dynamisch
  172.10.10.136         bc-ee-7b-72-78-83     dynamisch
  172.10.10.138         00-50-56-92-2f-12     dynamisch
  172.10.10.139         00-0c-29-a1-8d-59     dynamisch
  172.10.10.141         00-0c-29-48-e2-ca     dynamisch
  172.10.10.142         00-50-56-92-42-37     dynamisch
  172.10.10.143         d8-50-e6-bb-ba-b8     dynamisch
  172.10.10.145         b8-97-5a-cb-8b-c4     dynamisch
  172.10.10.147         bc-ee-7b-72-78-24     dynamisch
  172.10.10.149         00-0c-29-06-93-be     dynamisch
  172.10.10.162         00-0c-29-b7-0e-0f     dynamisch
  172.10.10.168         00-50-b6-1e-7d-94     dynamisch
  172.10.10.171         bc-ee-7b-78-5a-3a     dynamisch
  172.10.10.173         38-2c-4a-b9-e1-df     dynamisch
  172.10.10.180         80-3f-5d-0a-45-f8     dynamisch
  172.10.10.189         00-0c-29-ae-27-00     dynamisch
  172.10.10.191         00-50-56-92-62-e5     dynamisch
  172.10.10.255         ff-ff-ff-ff-ff-ff     statisch
  224.0.0.2             01-00-5e-00-00-02     statisch
  224.0.0.22            01-00-5e-00-00-16     statisch
  224.0.0.251           01-00-5e-00-00-fb     statisch
  224.0.0.252           01-00-5e-00-00-fc     statisch
  224.0.1.60            01-00-5e-00-01-3c     statisch
  239.255.2.2           01-00-5e-7f-02-02     statisch
  239.255.255.250       01-00-5e-7f-ff-fa     statisch
  239.255.255.254       01-00-5e-7f-ff-fe     statisch
  255.255.255.255       ff-ff-ff-ff-ff-ff     statisch

C:\WINDOWS\system32>arp -s 172.10.10.153 00-0C-29-4D-DA-DE

C:\WINDOWS\system32>arp -a

Schnittstelle: 192.168.88.1 --- 0xa
  Internetadresse       Physische Adresse     Typ
  192.168.88.255        ff-ff-ff-ff-ff-ff     statisch
  224.0.0.2             01-00-5e-00-00-02     statisch
  224.0.0.22            01-00-5e-00-00-16     statisch
  224.0.0.251           01-00-5e-00-00-fb     statisch
  224.0.0.252           01-00-5e-00-00-fc     statisch
  224.0.1.60            01-00-5e-00-01-3c     statisch
  239.255.2.2           01-00-5e-7f-02-02     statisch
  239.255.255.254       01-00-5e-7f-ff-fe     statisch

Schnittstelle: 192.168.23.1 --- 0x13
  Internetadresse       Physische Adresse     Typ
  172.10.10.153         00-0c-29-4d-da-de     statisch
  192.168.23.255        ff-ff-ff-ff-ff-ff     statisch
  224.0.0.2             01-00-5e-00-00-02     statisch
  224.0.0.22            01-00-5e-00-00-16     statisch
  224.0.0.251           01-00-5e-00-00-fb     statisch
  224.0.0.252           01-00-5e-00-00-fc     statisch
  224.0.1.60            01-00-5e-00-01-3c     statisch
  239.255.2.2           01-00-5e-7f-02-02     statisch
  239.255.255.254       01-00-5e-7f-ff-fe     statisch

Schnittstelle: 172.10.10.150 --- 0x19
  Internetadresse       Physische Adresse     Typ
  172.10.10.1           00-09-0f-a9-b3-04     dynamisch
  172.10.10.12          00-50-56-92-5b-28     dynamisch
  172.10.10.13          00-0c-29-04-4c-cf     dynamisch
  172.10.10.14          00-0c-29-74-62-25     dynamisch
  172.10.10.15          00-00-74-ea-d7-55     dynamisch
  172.10.10.16          00-21-b7-c0-3e-04     dynamisch
  172.10.10.27          00-0c-29-68-89-9c     dynamisch
  172.10.10.31          00-0c-29-4d-2a-10     dynamisch
  172.10.10.38          00-50-56-92-13-58     dynamisch
  172.10.10.105         bc-ee-7b-72-78-b4     dynamisch
  172.10.10.107         00-0c-29-3a-db-9f     dynamisch
  172.10.10.113         bc-ee-7b-71-be-b5     dynamisch
  172.10.10.116         00-0c-29-4d-2a-10     dynamisch
  172.10.10.124         44-1e-a1-cd-b5-da     dynamisch
  172.10.10.128         00-50-b6-1e-75-94     dynamisch
  172.10.10.129         d8-97-ba-3c-ea-3b     dynamisch
  172.10.10.131         94-57-a5-e0-7c-2e     dynamisch
  172.10.10.132         e4-11-5b-f3-9b-02     dynamisch
  172.10.10.136         bc-ee-7b-72-78-83     dynamisch
  172.10.10.138         00-50-56-92-2f-12     dynamisch
  172.10.10.139         00-0c-29-a1-8d-59     dynamisch
  172.10.10.141         00-0c-29-48-e2-ca     dynamisch
  172.10.10.142         00-50-56-92-42-37     dynamisch
  172.10.10.143         d8-50-e6-bb-ba-b8     dynamisch
  172.10.10.145         b8-97-5a-cb-8b-c4     dynamisch
  172.10.10.147         bc-ee-7b-72-78-24     dynamisch
  172.10.10.149         00-0c-29-06-93-be     dynamisch
  172.10.10.162         00-0c-29-b7-0e-0f     dynamisch
  172.10.10.168         00-50-b6-1e-7d-94     dynamisch
  172.10.10.171         bc-ee-7b-78-5a-3a     dynamisch
  172.10.10.173         38-2c-4a-b9-e1-df     dynamisch
  172.10.10.180         80-3f-5d-0a-45-f8     dynamisch
  172.10.10.189         00-0c-29-ae-27-00     dynamisch
  172.10.10.191         00-50-56-92-62-e5     dynamisch
  172.10.10.255         ff-ff-ff-ff-ff-ff     statisch
  224.0.0.2             01-00-5e-00-00-02     statisch
  224.0.0.22            01-00-5e-00-00-16     statisch
  224.0.0.251           01-00-5e-00-00-fb     statisch
  224.0.0.252           01-00-5e-00-00-fc     statisch
  224.0.1.60            01-00-5e-00-01-3c     statisch
  239.255.2.2           01-00-5e-7f-02-02     statisch
  239.255.255.250       01-00-5e-7f-ff-fa     statisch
  239.255.255.254       01-00-5e-7f-ff-fe     statisch
  255.255.255.255       ff-ff-ff-ff-ff-ff     statisch

C:\WINDOWS\system32>

0 个答案:

没有答案