我如何在一个网络中配置2个不同的子网并使它们彼此通信

发布于 2025-01-30 19:50:58 字数 193 浏览 3 评论 0原文

  1. 请使用255.255.255.0掩码与255.255.0.0蒙版通信。
  2. IP 192.168.100.1和IP 192.168.200.1是否存在255.255.255.0网络?

我觉得255.0子网的影响不允许我移动100.1至200.1网络。 我只想要一个尝试过这样的教育的人。 我正在使用思科数据包示踪剂。

  1. Please can the 255.255.255.0 mask communicate with the 255.255.0.0 mask.
  2. can IP 192.168.100.1 and IP 192.168.200.1 exist within the 255.255.255.0 network?

I feel like the impact of the 255.0 subnet will not permit me to move 100.1 to 200.1 network.
I just want someone who has tried such to please educate me.
I am using Cisco packet tracer.

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

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

发布评论

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

评论(1

翻了热茶 2025-02-06 19:50:58

我不确定我是否正确理解了您,但是如果您想从.200到达.100子网,反之亦然,您必须配置从一个子网到另一个子网的路由。

要配置这样的路由,您需要网络地址,子网掩码和网关的IP地址(我猜路由器)。

如果两个子网直接连接到路由器,则在路由器上无需执行任何操作,只需在主机上添加路由即可。
然后,您的网络看起来与此相似(也许主机连接到Aswitch,然后连接到路由器):

这取决于您的主机如何添加路由。在Linux上,您可以使用IP命令或使用GUI。

I am not sure if I have understood you correctly, but if you wanna reach the .100 subnet from your .200 and vice versa you have to configure a route from one subnet to another.

To configure a such route you need the network address, the subnet mask and the ip address of your gateway(your router I guess).

If both subnets are directly connected to your router, you have nothing to do on your router and just add the route on your hosts.
Then your network looks similar to this (Maybe the hosts are connected to aswitch which is then connected to the router):
enter image description here

It depends on your host how to add a route. On linux you can use the ip command or use the GUI.

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