给出网络地址...判断两个站是否在同一网络上

发布于 2025-01-08 04:25:38 字数 93 浏览 3 评论 0原文

给定网络地址 112.44.0.0 和网络掩码 255.255.0.0。地址为 112.44.22.19/16 和 112.44.23.2/16 的两个站是否在同一网络上?

Given the network address of 112.44.0.0 and the network mask of 255.255.0.0 .Would the two stations with addresses 112.44.22.19/16 and 112.44.23.2/16 be on the same network ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

浅暮の光 2025-01-15 04:25:38

是的当然。

所有地址 122.44.xx 将位于同一网络中。
网络掩码 255.255.0.0 显示前两个数字表示网络编号,后两个数字表示边缘编号。

Yes, of course.

All addresses 122.44.x.x will be in the same network.
Network mask 255.255.0.0 shows that first two numbers are showing number of network and other two numbers are showing number of edge.

冰火雁神 2025-01-15 04:25:38

是的,它们位于同一子网中。只需浏览 wiki 页面即可了解 IP 地址的解析方式。如果您对任何 IP 112.44.22.19112.44 执行一点明智的 and 操作,255.255.0.0 现在实际上会扩展为 11111111111111110000000000000000 .23.2 你会发现他们给出了相同的网络前缀,即。 112.44.0.0。这意味着这两台机器位于同一子网中。

Yes they are in the same subnet. Just go through the wiki page to understand how exactly the IP addresses are resolved. 255.255.0.0 actually expands to 11111111111111110000000000000000 now if you perform a bit wise and operation to any of the IPs 112.44.22.19 or 112.44.23.2 you will find that they give the same Network prefix ie. 112.44.0.0. What means these two machines are in the same subnet.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文