我在Macbook Pro上安装了Windows 7和MacOS,并在酒店提供有线网络连接。当我使用MacOS时,互联网连接就可以了。当我使用Windows 7时,没有互联网连接。挖掘一下后发现DNS解析导致问题,只是名称没有解析。我安装了Wireshark,奇怪的是我在捕获中发现了解析IP对DNS解析请求的响应,但不知怎的,他们没有达到Windows 7核心。不确定它是否相关,但在每次响应后我都会看到单个STP数据包。
网络正在使用DHCP来设置接口,并且两个OS的接口都设置相同。我可以从Windows 7 ping DNS服务器,默认GW
更新:
NSLOOKUP
C:\>nslookup
DNS request timed out.
timeout was 2 seconds.
Default Server: UnKnown
Address: 80.58.61.250
> Yahoo.com
Server: UnKnown
Address: 80.58.61.250
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
*** Request to UnKnown timed-ou
IPCONFIG
Windows IP Configuration
Host Name . . . . . . . . . . . . : Mac-Windows 7
Primary DNS Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Broadcom NetXtreme GBabit Ethernet
Physical Address. . . . . . . . . : C4-2C-03-3B-30-8E
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 172.31.17.14(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Thursday, December 16, 2010 6:57:58 AM
Lease Expires . . . . . . . . . . : Friday, December 17, 2010 7:01:16 AM
Default Gateway . . . . . . . . . : 172.31.17.254
DHCP Server . . . . . . . . . . . : 172.31.17.254
DNS Servers . . . . . . . . . . . : 80.58.61.250
80.58.61.254
NetBIOS over Tcpip. . . . . . . . : Enabled
Tunnel adapter iSATAp.{5E50E7E1-3532-4D59-97F3-437CB9ABD85B}:
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 Teredo Tunneling Pseudo-Interface:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
跟踪路由(结果对于macos也是一样的)
C:\>tracert 8.8.8.8
Tracing route to 8.8.8.8 over a maximum of 30 hops
1 <1 Microsoft <1 Microsoft <1 Microsoft 172.31.17.254
2 * * * Request timed out.
3 * * * Request timed out.
4 * * * Request timed out.
5 * * * Request timed out.
6 * * * Request timed out.
7 * * * Request timed out.
8 * * * Request timed out.
9 * * * Request timed out.
10 * * * Request timed out.
11 * * * Request timed out.
12 111 Microsoft 109 Microsoft 109 Microsoft 8.8.8.8
Trace complete.
netstat的
C:\>netstat
Active Connections
Proto Local Address Foreign Address State
TCP 127.0.0.1:5357 Mac-Windows 7:49165 TIME_WAIT
TCP 127.0.0.1:5939 Mac-Windows 7:49164 ESTABLISHED
TCP 127.0.0.1:49157 Mac-Windows 7:49158 ESTABLISHED
TCP 127.0.0.1:49158 Mac-Windows 7:49157 ESTABLISHED
TCP 127.0.0.1:49160 Mac-Windows 7:49161 ESTABLISHED
TCP 127.0.0.1:49161 Mac-Windows 7:49160 ESTABLISHED
TCP 127.0.0.1:49162 Mac-Windows 7:49163 ESTABLISHED
TCP 127.0.0.1:49163 Mac-Windows 7:49162 ESTABLISHED
TCP 127.0.0.1:49164 Mac-Windows 7:5939 ESTABLISHED
Mac是否具有与Windows框相同的DNS服务器?Windows机箱可以有硬编码的DNS服务器吗?
—
理查德2010年
完全相同,都是从DHCP重新获得的。我也试过公共DHCP。
—
巴勃罗2010年