当前位置:网站首页>华为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命令大全。
边栏推荐
- 科普达人丨一文看懂阿里云的秘密武器“神龙架构”
- PS vertical English and digital text how to change direction (vertical display)
- Redis分布式锁的实现
- 软件开发过中的采购
- idea配置标准注释
- How does win11 search for wireless displays? Win11 method of finding wireless display device
- 接口設計時的一些建議
- 【optimtool.unconstrain】无约束优化工具箱
- [solution] paddlepaddle 2 X call static graph mode
- tcp为啥是三次握手和四次挥手
猜你喜欢

How does the computer save web pages to the desktop for use

Idea restore default shortcut key

Gobang go to work fishing tools can be LAN / man-machine

Ten years' experience of byte test engineer directly hits the pain point of UI automation test

Leetcode+ 81 - 85 monotone stack topic

Fleet tutorial 08 introduction to AppBar toolbar Basics (tutorial includes source code)

Golang中UTF编码和字符集

伦敦银走势图分析的新方法

搭建一个仪式感点满的网站,并内网穿透发布到公网 1/2

Foxit pdf editor v10.1.8 green version
随机推荐
字节测试工程师十年经验直击UI 自动化测试痛点
Render function and virtual DOM
What should I do if my computer sharing printer refuses access
Go notes (1) go language introduction and characteristics
async await 在map中使用
Automatic generation of interface automatic test cases by actual operation
接口设计时的一些建议
Flet tutorial 06 basic introduction to textbutton (tutorial includes source code)
Fleet tutorial 08 introduction to AppBar toolbar Basics (tutorial includes source code)
【微服务|SCG】Predicate的使用
Pytorch---使用Pytorch实现LinkNet进行语义分割
What if the WiFi of win11 system always drops? Solution of WiFi total drop in win11 system
nmap扫描
[solution] paddlepaddle 2 X call static graph mode
LeetCode 8. String conversion integer (ATOI)
mysql语句执行详解
Après l'insertion de l'image dans le mot, il y a une ligne vide au - dessus de l'image, et la disposition est désordonnée après la suppression
【观察】联想:3X(1+N)智慧办公解决方案,释放办公生产力“乘数效应”
语义化标签的优势和块级行内元素
记录线上bug解决list(未完待续7/4)