当前位置:网站首页>华为ensp模拟器 实现多个路由器的设备可以相互访问
华为ensp模拟器 实现多个路由器的设备可以相互访问
2022-07-04 20:11:00 【Python-派大星】
在企业中,肯定不止一个路由器,所以再有多个路由器时,怎么实现不同路由器中的数据转发,互相访问,这时候就需要路由器之间互相配置访问的路由表了,配置了路由表之后,路由器就知道这条访问数据该交给哪个路由器帮忙转发了。
首先我们模拟一下,多个路由器之间,设备怎么互相访问。
我们给每个设备配置不同网段的IP地址,来模拟环境。
路由器接口的ip地址,就是连接设备的网关,网关是实现该网段数据转发的

我们可以看到,就算连接在一起,这些设备是无法访问的。pc机无法和服务器通信。

检查原因,检查路由表。
发现没有192.168.1.0网段的ip地址没有去到192.168.3.0网段的路由。

所以我们需要手动添加路由
ip rou 目标IP网段 子网掩码 下一跳接口的ip这边我们想要访问网段为192.168.3.0网段的设备,要经过下一跳的路由接口时192.168.2.10

这里我们可以看到,我们的路由设备已经有这个路由了,证明我们的数据可以传输到那个网段
尝试访问,还是失败。
发现是有去到目标网段,但目标网段设备回信没有路由,3.0网段没有去1.0网段的路由,就是出去了,找不到回家的路了,那么我们也需要在对方网段设备连接的路由器也配置一个回来的路由表。

去另一个路由器配置路由表,查看去192.168.1.1的路由表,发现存在了。

尝试访问,访问成功。

多路由器访问实验成功,详细命令需查看主页中ensp命令大全。
边栏推荐
- 测试员的算法面试题-找众数
- RFID仓储管理系统解决方案的优点
- admas零件名重复
- Remember to build wheels repeatedly at one time (the setting instructions of obsidian plug-in are translated into Chinese)
- Fleet tutorial 08 introduction to AppBar toolbar Basics (tutorial includes source code)
- Summary of the mistakes in the use of qpainter in QT gobang man-machine game
- 福昕PDF编辑器v10.1.8绿色版
- 卷积神经网络在深度学习中新发展的5篇论文推荐
- 插入排序,选择排序,冒泡排序
- Flet tutorial 07 basic introduction to popupmenubutton (tutorial includes source code)
猜你喜欢

Hwinfo hardware detection tool v7.26 green version

How does wincc7.5 SP1 find variables and their positions through cross indexing?

JS卡牌样式倒计时天数

RFID仓储管理系统解决方案的优点

LeetCode+ 81 - 85 单调栈专题

D3.js+Three.js数据可视化3d地球js特效

Golang中UTF编码和字符集

接口设计时的一些建议

Quelques suggestions pour la conception de l'interface

五子棋 上班摸鱼工具 可局域网/人机
随机推荐
多模输入事件分发机制详解
How does wincc7.5 SP1 find variables and their positions through cross indexing?
福昕PDF编辑器v10.1.8绿色版
mysql语句执行详解
word中插入圖片後,圖片上方有一空行,且删除後布局變亂
Reinforcement learning - learning notes 2 | value learning
二叉树的四种遍历方式以及中序后序、前序中序、前序后序、层序创建二叉树【专为力扣刷题而打造】
工厂从自动化到数字孪生,图扑能干什么?
Leetcode+ 81 - 85 monotone stack topic
Summary of the mistakes in the use of qpainter in QT gobang man-machine game
Google colab踩坑
插入排序,选择排序,冒泡排序
Idea plug-in
MySQL statement execution details
VIM asynchronous problem
【Try to Hack】宽字节注入
In the face of the same complex test task, why can the elder sort out the solution quickly? Ali's ten-year test engineers showed their skills
ACM组合计数入门
acwing 3302. Expression evaluation
Embedded TC test case