我如何在一个网络中配置2个不同的子网并使它们彼此通信
- 请使用255.255.255.0掩码与255.255.0.0蒙版通信。
- IP 192.168.100.1和IP 192.168.200.1是否存在255.255.255.0网络?
我觉得255.0子网的影响不允许我移动100.1至200.1网络。 我只想要一个尝试过这样的教育的人。 我正在使用思科数据包示踪剂。
- Please can the 255.255.255.0 mask communicate with the 255.255.0.0 mask.
- 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不确定我是否正确理解了您,但是如果您想从.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):
It depends on your host how to add a route. On linux you can use the
ip
command or use the GUI.