IPv6 上的网络探测
我熟悉使用 IPv4 UDP 数据包广播作为探测网络寻找运行给定服务的服务器的技术。 IE 广播数据包在给定端口上发出,侦听服务器可以回复此数据包,并且回复将允许客户端知道可用服务器的 IP 地址。
我想知道对 IPv6 进行相同类型的网络探测的推荐接受技术是什么。我没有对 IPv6 做太多事情,但想让我的新应用程序与其兼容(以供将来验证)。我知道我不能像 IPv4 允许的那样使用广播数据包,因为此功能是从 IPv6 中删除的。我希望一定有另一种方法可以实现同样的目标。
I am familiar using IPv4 broadcast of UDP packets as a technique for probing the network looking for servers running a given service. I.E. the broadcast packet is sent out on a given port and the listening servers can reply to this packet and the reply will allow the client to know the ip addresses of the available servers.
I am wondering what the recommended accepted technique is for doing the same type of network probing for IPv6. I have not done much with IPv6 but would like to make my new application compatible with it (for future proofing). I know I cannot use broadcast packets in the same way as IPv4 allow because this feature is taken out of IPv6. I would expect there must be another way to achieve the same thing.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用链接本地所有节点多播地址 ff02::1 来达到相同的结果
You can use the link local all nodes multicast address ff02::1 to achieve the same result