首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >为什么Bonjour for Windows看不到我的IPv6 6--只有Linux主机?

为什么Bonjour for Windows看不到我的IPv6 6--只有Linux主机?
EN

Server Fault用户
提问于 2010-11-08 20:57:44
回答 1查看 1.4K关注 0票数 5

在我的局域网上,我有三个本质上相同的Debian盒运行Avahi。其中一个具有IPv4地址和IPv6地址,另外两个只有IPv6地址。它们都出现在我的Mac上的Bonjour浏览器中,如下所示:

代码语言:javascript
复制
Workgroup Manager (_workstation._tcp.) - 4
  box-1 [00:60:2b:02:45:f8]
    [fe80::260:2bff:fe02:45f8]:9
    192.168.1.78:9
  box-2 [00:60:2b:02:46:1b]
    [fe80::260:2bff:fe02:461b]:9
  box-3 [00:60:2b:02:42:e2]
    [fe80::260:sbff:fe02:42e2]:9

从我的Mac来看,一切都很好.我可以解析box-1.1.local.、box-2.1.local.和box-3 1.local.、ping6 to它们中的任何一个、ssh到其中任何一个等等。

然而,我的Windows 7机器只能看到方框1。例如,在命令提示符窗口中执行dns-sd将使我获得以下信息:

代码语言:javascript
复制
C:\>dns-sd -B _ssh._tcp
Browsing for _ssh._tcp
Timestamp     A/R Flags if Domain                    Service Type              Instance Name
12:41:14.492  Add     2 17 local.                    _ssh._tcp.                box-1 SSH

通过它的Bonjour名称和IPv6来敲击那个盒子可以:

代码语言:javascript
复制
C:\>ping -6 msli-dcm-2-10330688.local.

Pinging msli-dcm-2-10330688.local. [fe80::260:2bff:fe02:45f8%17] with 32 bytes of data:
Reply from fe80::260:2bff:fe02:45f8%17: time=1ms
Reply from fe80::260:2bff:fe02:45f8%17: time<1ms
Reply from fe80::260:2bff:fe02:45f8%17: time<1ms

..。通过其IPv6地址敲击其他框也是如此:

代码语言:javascript
复制
C:\>ping -6 fe80::260:2bff:fe02:461b

Pinging fe80::260:2bff:fe02:461b with 32 bytes of data:
Reply from fe80::260:2bff:fe02:461b: time=4ms
Reply from fe80::260:2bff:fe02:461b: time<1ms
Reply from fe80::260:2bff:fe02:461b: time<1ms
Reply from fe80::260:2bff:fe02:461b: time<1ms

Ping statistics for fe80::260:2bff:fe02:461b:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 4ms, Average = 1ms

C:\>ping -6 fe80::260:2bff:fe02:42e2

Pinging fe80::260:2bff:fe02:42e2 with 32 bytes of data:
Reply from fe80::260:2bff:fe02:42e2: time<1ms
Reply from fe80::260:2bff:fe02:42e2: time<1ms
Reply from fe80::260:2bff:fe02:42e2: time<1ms
Reply from fe80::260:2bff:fe02:42e2: time<1ms

Ping statistics for fe80::260:2bff:fe02:42e2:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

……似乎不会识别已发布的主机,除非它有一个IPv4地址。这是Bonjour for Windows中的一个bug,还是我做错了什么?FWIW,我的Windows 7机器正在运行Bonjour 2.0.2.0

EN

回答 1

Server Fault用户

发布于 2011-02-09 11:46:38

dig @224.0.0.251 -p 5353 ptr _ssh._tcp.local报告是否都针对您从哪个机器进行查询?

如果您无法获得dig for Windows,那么请尝试

nslookup -q=ptr -port=5353 _ssh._tcp.local 224.0.0.251

nslookup -q=any -port=5353 box-2.local 224.0.0.251

nslookup -q=aaaa -port=5353 box-2.local 224.0.0.251

票数 1
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/199578

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档