当前位置:网站首页>华为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命令大全。
边栏推荐
- 6月“墨力原创作者计划”获奖名单公布!邀您共话国产数据库
- 福昕PDF编辑器v10.1.8绿色版
- UTF encoding and character set in golang
- LeetCode 871. Minimum refueling times
- ACM组合计数入门
- Automatic insertion of captions in word
- Why is TCP three handshakes and four waves
- js 3D爆炸碎片图片切换js特效
- What if the WiFi of win11 system always drops? Solution of WiFi total drop in win11 system
- 软件开发过中的采购
猜你喜欢
PS vertical English and digital text how to change direction (vertical display)
看腾讯大老如何做接口自动化测试
What if the brightness of win11 is locked? Solution to win11 brightness locking
Fleet tutorial 08 introduction to AppBar toolbar Basics (tutorial includes source code)
What should I do if my computer sharing printer refuses access
二叉树的四种遍历方式以及中序后序、前序中序、前序后序、层序创建二叉树【专为力扣刷题而打造】
Jmeter 之压测入门
工厂从自动化到数字孪生,图扑能干什么?
实操自动生成接口自动化测试用例
FastDfs的快速入门,三分钟带你上传下载文件到云服务器
随机推荐
Flet tutorial 04 basic introduction to filledtonalbutton (tutorial includes source code)
GVM use
冰河的海报封面
Vue cleans up the keepalive cache scheme in a timely manner
async await 在map中使用
js 闭包
[1200. Différence absolue minimale]
Idea configuration standard notes
What if the computer page cannot be full screen? The solution of win11 page cannot be full screen
What if the win11 shared file cannot be opened? The solution of win11 shared file cannot be opened
Why is TCP three handshakes and four waves
福昕PDF编辑器v10.1.8绿色版
伦敦银走势图分析的新方法
记录线上bug解决list(未完待续7/4)
奏响青春的乐章
阿里测试师用UI自动化测试实现元素定位
插入排序,选择排序,冒泡排序
FastDfs的快速入门,三分钟带你上传下载文件到云服务器
Hands on deep learning (III) -- convolutional neural network CNN
How does the computer save web pages to the desktop for use