当前位置:网站首页>华为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命令大全。
边栏推荐
- acwing 3302. 表达式求值
- 企业数字化转型最佳实践案例:基于云的数字化平台系统安全措施简介与参考
- 【1200. 最小绝对差】
- MySQL statement execution details
- Solution of 5g unstable 5g signal often dropped in NetWare r7000 Merlin system
- What should I do if my computer sharing printer refuses access
- Idea configuration standard notes
- GVM use
- Quelques suggestions pour la conception de l'interface
- 【1200. 最小絕對差】
猜你喜欢

Four traversal methods of binary tree, as well as the creation of binary tree from middle order to post order, pre order to middle order, pre order to post order, and sequence [specially created for t

Flet tutorial 06 basic introduction to textbutton (tutorial includes source code)

MySQL - database query - use of aggregate function, aggregate query, grouping query

测试员的算法面试题-找众数

Redis:Redis配置文件相关配置、Redis的持久化

面对同样复杂的测试任务为什么大老很快能梳理解决方案,阿里十年测试工程师道出其中的技巧

多模輸入事件分發機制詳解

RFID仓库管理系统解决方案有哪些功能模块

What are the functional modules of RFID warehouse management system solution

Fleet tutorial 08 introduction to AppBar toolbar Basics (tutorial includes source code)
随机推荐
mysql语句执行详解
Google colab踩坑
LeetCode 7. Integer inversion
word中插入圖片後,圖片上方有一空行,且删除後布局變亂
测试员的算法面试题-找众数
What if the win11 shared file cannot be opened? The solution of win11 shared file cannot be opened
What if win11u disk refuses access? An effective solution to win11u disk access denial
Idea configuration standard notes
How does the computer save web pages to the desktop for use
Android原生数据库的基本使用和升级
JS closure
HMS Core 机器学习服务
Summary of the mistakes in the use of qpainter in QT gobang man-machine game
黄金k线图中的三角形有几种?
阿里云国际版CDN的优势
Gobang go to work fishing tools can be LAN / man-machine
Implementation of redis distributed lock
【微服务|SCG】Predicate的使用
【申博攻略】六.如何联系心仪的博导
Record the online bug solving list (unfinished to be continued 7/4)