1.划分位置线路

2.规划路由表ip线路,创建网络拓扑

3.启动所有设备,发现颜色会有改变,即表示启动成功

4.配置PC1(配置完成后应用)

4.配置AR2路由器接口信息

<Huawei>system-view      进入路由器系统界面(进入后才能进行配置操作)

[Huawei]sysname R2      重命名路由器名称

[R2]interface Vlanif 1    虚拟交换机接口1

[R2-Vlanif1]ip address 192.168.1.1 24  添加接口信息配置

[R2-Vlanif1]undo ip address   删除添加的接口信息

[R2-Vlanif1]ip address 192.168.1.1 255.255.255.0   也可以添加接口信息配置

[R2-Vlanif1]display this   查看Vlanif1下接口信息配置

[R2-Vlanif1]quit   退出Vlanif1

[R2]interface GigabitEthernet 0/0/0   添加路由另一个出口接口信息配置

[R2-GigabitEthernet0/0/0]ip address 20.1.1.1 24   添加接口信息

[R2]display current-configuration   查看接口的配置信息

The device is running!<Huawei>sys
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname R2
[R2]int
[R2]interface vl
[R2]interface Vlanif 1
Apr  6 2020 15:42:53-08:00 R2 %%01IFNET/4/IF_STATE(l)[0]:Interface Vlanif1 has t
urned into UP state.
[R2-Vlanif1]ip add
[R2-Vlanif1]ip address 192.168.1.1 24
[R2-Vlanif1]
Apr  6 2020 15:44:31-08:00 R2 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface Vlanif1 has entered the UP state.
[R2-Vlanif1]ip address 192.168.1.1 255.255.255.0
Error: The address already exists.
[R2-Vlanif1]undo ip add
[R2-Vlanif1]undo ip address
[R2-Vlanif1]
Apr  6 2020 15:45:20-08:00 R2 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP
on the interface Vlanif1 has entered the DOWN state.
[R2-Vlanif1]ip address 192.168.1.1 255.255.255.0
Apr  6 2020 15:45:24-08:00 R2 %%01IFNET/4/LINK_STATE(l)[3]:The line protocol IP
on the interface Vlanif1 has entered the UP state.
[R2-Vlanif1]disp
[R2-Vlanif1]display this
[V200R003C00]
#
interface Vlanif1ip address 192.168.1.1 255.255.255.0
#
return
[R2-Vlanif1]quit
[R2]inter
[R2]interface g
[R2]interface GigabitEthernet 0/0/0
[R2-GigabitEthernet0/0/0]ip add
[R2-GigabitEthernet0/0/0]ip address 20.1.1.1 24
Apr  6 2020 15:48:48-08:00 R2 %%01IFNET/4/LINK_STATE(l)[4]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[R2-GigabitEthernet0/0/0]display this
[V200R003C00]
#
interface GigabitEthernet0/0/0ip address 20.1.1.1 255.255.255.0
#
return
[R2-GigabitEthernet0/0/0]quit
[R2]dis
[R2]display cu
[R2]display current-configuration
[V200R003C00]
#sysname R2
#snmp-agent local-engineid 800007DB03000000000000snmp-agent
#clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load portalpage.zip
#drop illegal-mac alarm
#set cpu-usage threshold 80 restore 75
#
aaa authentication-scheme defaultauthorization-scheme defaultaccounting-scheme defaultdomain default domain default_admin local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$local-user admin service-type http
#
firewall zone Localpriority 15
#
interface Vlanif1ip address 192.168.1.1 255.255.255.0
#
interface Ethernet0/0/0
#
interface Ethernet0/0/1
#
interface Ethernet0/0/2
#
interface Ethernet0/0/3
#
interface Ethernet0/0/4
#
interface Ethernet0/0/5
#
interface Ethernet0/0/6
#
interface Ethernet0/0/7
#
interface GigabitEthernet0/0/0ip address 20.1.1.1 255.255.255.0
#
interface GigabitEthernet0/0/1
#
interface NULL0
#
user-interface con 0authentication-mode password
user-interface vty 0 4
user-interface vty 16 20
#
wlan ac
#
return
[R2]

查看是否能ping通192.168.1.1网关和PC1地址

return
[R2]Please check whether system data has been changed, and save data in timeConfiguration console time out, please press any key to log on<R2>sys
Enter system view, return user view with Ctrl+Z.
[R2]ping 192.168.1.1PING 192.168.1.1: 56  data bytes, press CTRL_C to breakReply from 192.168.1.1: bytes=56 Sequence=1 ttl=255 time=30 msReply from 192.168.1.1: bytes=56 Sequence=2 ttl=255 time=1 msReply from 192.168.1.1: bytes=56 Sequence=3 ttl=255 time=1 msReply from 192.168.1.1: bytes=56 Sequence=4 ttl=255 time=1 ms--- 192.168.1.1 ping statistics ---4 packet(s) transmitted4 packet(s) received0.00% packet lossround-trip min/avg/max = 1/8/30 ms[R2]ping 192.168.1.2PING 192.168.1.2: 56  data bytes, press CTRL_C to breakReply from 192.168.1.2: bytes=56 Sequence=1 ttl=128 time=90 msReply from 192.168.1.2: bytes=56 Sequence=2 ttl=128 time=20 msReply from 192.168.1.2: bytes=56 Sequence=3 ttl=128 time=10 msReply from 192.168.1.2: bytes=56 Sequence=4 ttl=128 time=20 ms--- 192.168.1.2 ping statistics ---4 packet(s) transmitted4 packet(s) received0.00% packet lossround-trip min/avg/max = 10/35/90 ms[R2]

5.配置AR1路由器接口信息,并测试ping

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname R1
[R1]int
[R1]interface g
[R1]interface GigabitEthernet 0/0/0
[R1-GigabitEthernet0/0/0]ip add
[R1-GigabitEthernet0/0/0]ip address 20.1.1.2 24
Apr  6 2020 16:04:29-08:00 R1 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[R1-GigabitEthernet0/0/0]quit
[R1]interface GigabitEthernet 0/0/1
[R1-GigabitEthernet0/0/1]ip address 20.1.2.2 24
Apr  6 2020 16:04:57-08:00 R1 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[R1-GigabitEthernet0/0/1]ping 20.1.1.1PING 20.1.1.1: 56  data bytes, press CTRL_C to breakReply from 20.1.1.1: bytes=56 Sequence=1 ttl=255 time=110 msReply from 20.1.1.1: bytes=56 Sequence=2 ttl=255 time=20 msReply from 20.1.1.1: bytes=56 Sequence=3 ttl=255 time=10 msReply from 20.1.1.1: bytes=56 Sequence=4 ttl=255 time=20 msReply from 20.1.1.1: bytes=56 Sequence=5 ttl=255 time=20 ms--- 20.1.1.1 ping statistics ---5 packet(s) transmitted5 packet(s) received0.00% packet lossround-trip min/avg/max = 10/36/110 ms[R1-GigabitEthernet0/0/1]

6.配置AR3路由器接口信息,并测试ping

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname R3
[R3]sysname Huawei
[Huawei]sysname R3
[R3]inte
[R3]interface g
[R3]interface GigabitEthernet 0/0/1
[R3-GigabitEthernet0/0/1]ip add
[R3-GigabitEthernet0/0/1]ip address 20.1.2.1 24
[R3-GigabitEthernet0/0/1]quit
[R3]inter
[R3]interface vl
[R3]interface Vlanif 1
Apr  6 2020 16:09:34-08:00 R3 %%01IFNET/4/IF_STATE(l)[0]:Interface Vlanif1 has t
urned into UP state.
[R3-Vlanif1]ip add
[R3-Vlanif1]ip address 192.168.2.1 24
Apr  6 2020 16:10:05-08:00 R3 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface Vlanif1 has entered the UP state.
[R3-Vlanif1]ping 20.1.2.2PING 20.1.2.2: 56  data bytes, press CTRL_C to breakReply from 20.1.2.2: bytes=56 Sequence=1 ttl=255 time=90 msReply from 20.1.2.2: bytes=56 Sequence=2 ttl=255 time=20 msReply from 20.1.2.2: bytes=56 Sequence=3 ttl=255 time=30 msReply from 20.1.2.2: bytes=56 Sequence=4 ttl=255 time=30 msReply from 20.1.2.2: bytes=56 Sequence=5 ttl=255 time=30 ms--- 20.1.2.2 ping statistics ---5 packet(s) transmitted5 packet(s) received0.00% packet lossround-trip min/avg/max = 20/40/90 ms
[R3-Vlanif1]ping 192.168.2.1PING 192.168.2.1: 56  data bytes, press CTRL_C to breakReply from 192.168.2.1: bytes=56 Sequence=1 ttl=255 time=20 msReply from 192.168.2.1: bytes=56 Sequence=2 ttl=255 time=1 msReply from 192.168.2.1: bytes=56 Sequence=3 ttl=255 time=1 msReply from 192.168.2.1: bytes=56 Sequence=4 ttl=255 time=1 msReply from 192.168.2.1: bytes=56 Sequence=5 ttl=255 time=1 ms--- 192.168.2.1 ping statistics ---5 packet(s) transmitted5 packet(s) received0.00% packet lossround-trip min/avg/max = 1/4/20 ms

7.配置PC1(配置完成后应用)

测试PC2端能否ping通网关

接下来就是重点,打通到目的地的路由线路(1网络畅通的条件是有去又回,配置完成后检查是否ping通各个目的地 2路由器默认的只有直连的网段,没有直连的需要管理员添加,这也是现在接下来要做的)

8.配置AR2路由信息表

[R2]display ip routing-table   查看路由表信息配置

[R2]ip route-static 20.1.2.0 24 20.1.1.2     添加到20.1.2.0的网段配置
[R2]ip route-static 192.168.2.0 24 20.1.1.2     添加到192.168.2.0的网段配置
[R2]display ip routing-table   查看显示变化后的路由表信息配置

<R2>sys
Enter system view, return user view with Ctrl+Z.
[R2]dis
[R2]display ip ro
[R2]display ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: PublicDestinations : 10       Routes : 10       Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface20.1.1.0/24  Direct  0    0           D   20.1.1.1        GigabitEthernet
0/0/020.1.1.1/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/020.1.1.255/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/0127.0.0.0/8   Direct  0    0           D   127.0.0.1       InLoopBack0127.0.0.1/32  Direct  0    0           D   127.0.0.1       InLoopBack0
127.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0192.168.1.0/24  Direct  0    0           D   192.168.1.1     Vlanif1192.168.1.1/32  Direct  0    0           D   127.0.0.1       Vlanif1192.168.1.255/32  Direct  0    0           D   127.0.0.1       Vlanif1
255.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0[R2]ip rou
[R2]ip route-s
[R2]ip route-static 20.1.2.0 24 20.1.1.2
[R2]ip route-static 192.168.2.0 24 20.1.1.2
[R2]display ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: PublicDestinations : 12       Routes : 12       Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface20.1.1.0/24  Direct  0    0           D   20.1.1.1        GigabitEthernet
0/0/020.1.1.1/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/020.1.1.255/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/020.1.2.0/24  Static  60   0          RD   20.1.1.2        GigabitEthernet
0/0/0127.0.0.0/8   Direct  0    0           D   127.0.0.1       InLoopBack0127.0.0.1/32  Direct  0    0           D   127.0.0.1       InLoopBack0
127.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0192.168.1.0/24  Direct  0    0           D   192.168.1.1     Vlanif1192.168.1.1/32  Direct  0    0           D   127.0.0.1       Vlanif1192.168.1.255/32  Direct  0    0           D   127.0.0.1       Vlanif1192.168.2.0/24  Static  60   0          RD   20.1.1.2        GigabitEthernet
0/0/0
255.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0[R2]

9.配置AR1路由信息表

<R1>sys
Enter system view, return user view with Ctrl+Z.
[R1]ip rou
[R1]ip route-s
[R1]ip route-static 192.168.1.0 24 20.1.1.1
[R1]ip route-static 192.168.2.0 24 20.1.2.1
[R1]

10.配置AR3路由信息表

<R3>sys
Enter system view, return user view with Ctrl+Z.
[R3]ip rou
[R3]ip route-s
[R3]ip route-static 20.1.1.0 24 20.1.2.2
[R3]ip route-static 192.168.1.0 24 20.1.2.2
[R3]

11.现在所有配置已经完成,测试使用PC1ping PC2的结果

简单的路由信息拓扑打通完成!!!

eNSP搭建路由两侧客户PC端,打通链接,路由及客户PC里面的配置信息相关推荐

  1. 荒野行动 pc android,荒野行动pc端多大内存_荒野行动电脑版配置要求-APK8安卓网...

    最近许多小伙伴在玩<荒野行动>这款吃鸡手游,而荒野行动现在已经PC版,那么荒野行动pc端多大内存_荒野行动电脑版配置要求是什么呢? <荒野行动>于11月23日上线了免费且与移动 ...

  2. phpcms移动端和pc端_phpcms实现手机端与PC端双模板的方法

    现在随着智能手机的兴起,我们网站开发移动端版本也显得越来重要了,但是现在phpcms还没有开发手机版,下面我们就教大家如何让phpcms实现手机版访问,一般正常情况下我们电脑版的域名为http://w ...

  3. phpcms移动端和pc端_phpcms实现手机端与PC端双模板的方法与详细教程

    现在随着智能手机的兴起,我们网站开发移动端版本也显得越来重要了,但是现在phpcms还没有开发手机版,下面我们就教大家如何让phpcms实现手机版访问,一般正常情况下我们电脑版的域名为http://w ...

  4. 【Android 逆向】Android 逆向通用工具开发 ( PC 端工程分析 | 网络初始化操作 | PC 端工程核心业务逻辑 )

    文章目录 前言 一.网络初始化操作 二.PC 端工程核心业务逻辑 三.博客资源 前言 本篇博客重点分析 PC 端 hacktool 模块 ; 一.网络初始化操作 HackCommand::Prepar ...

  5. 原神如何修改服务器,原神PC端界面太大怎么修改 pc窗口界面调整方法分享[多图]...

    原神PC端界面太大了,这个是默认的窗口,很多玩家都不太习惯的,如何修改最佳的视觉效果,此次也也是值得大家去研究的,下面就来介绍下pc界面大小怎么改. 原神pc版窗口大小调整技巧分享 方式一: 1.右击 ...

  6. pc端rem适配_浅谈pc端rem字体设置的问题

    1.内容在一屏内显示的,采用了(内容框)上下左右居中的办法,里面的内容绝对于这个内容框定位.这样一来,在不同大小屏中,内容总是在中间,看起来较正常 2.长,宽,LEFT,TOP,RIGHT,BOTTO ...

  7. pc端微博分享 html,新浪微博发布PC端网页版V6版本 信息流呈现卡片化

    今日,微博正式对外发布PC端V6版本.新版微博的整体风格更为简洁,其中,PC端的微博信息流将和移动端一样,以卡片的形式出现. 微博副总经理林水洋在会上指出,微博用户的兴趣点已经由关注热点事件以及明星动 ...

  8. python pc端微信记录读取_微信 PC 版迎来了重磅更新,可以在电脑端使用小程序了 |内附下载链接...

    最近几天,微信团队又出了微信测试版,此次测试版主要关于 PC 版的微信.微信每一次更新,都会引起不少的躁动,那么此次都更新来什么呢? 微信 PC 端测试版 2.7.0 我们都知道,电脑 PC 端是不支 ...

  9. (详解)钉钉接口,PC端微应用,免登录及获取当前用户信息

    1.用了两天的时间,一直在研究微应用的,免登录及获取用户信息这一块. 但是钉钉官网写的太繁杂了,看了一天,硬是没看明白,最后,硬着头皮,一点点查资料,借鉴别人的代码,终于 研究 出来了,为了防止 年轻 ...

  10. 360浏览器 当前环境不支持支付宝控件_360 小程序来了,进攻 PC 端!

    作者 | 伍杏玲 出品 | CSDN(ID:CSDNnews) 2017 年 1 月 9 日,微信小程序横空出世.随后,支付宝小程序.百度智能小程序.今日头条小程序.12 大厂商联盟的快应用等纷纷入局 ...

最新文章

  1. Swoole 1.8.12 发布,Bug修复版本
  2. 企业级 SpringBoot 教程 (十九) 验证表单信息
  3. 最近心理很烦,谁能帮帮我?
  4. Php和Mysql乱码问题
  5. 学习Promise之前你必须理解的知识点:异步处理的通用模型
  6. Codeforces 862D. Mahmoud and Ehab and the binary string 【二分】(交互)
  7. 斯坦福 CS183 Peter Thiel 创业课资料整理
  8. linux network 脚本,自动修改Linux下/etc/sysconfig/network-scripts/ifcfg-ethX网卡文件的脚本...
  9. 不同系统下的shell的不同_案例分析 | 不同安装角度下平板集热器阳台壁挂式太阳能热水系统性能分析...
  10. python操作gif 图片拆分
  11. 我在Python的艳阳里,大雪纷飞
  12. 【光学】基于矩阵法和等效界面法分析光学薄膜膜对反射率影响附matlab代码
  13. 绘制交互流程图的方法
  14. multipartfile转excel_MultipartFile解析Excel
  15. 比迅雷好用,下载速度快5倍的下载软件IDM(Internet Download Manager)
  16. 浅谈幼儿园计算机论文,浅谈幼儿园科学教育活动中,计算机的辅助教学
  17. 【pyhon】理想论坛爬虫1.05版,将读取和写DB分离成两个文件
  18. This probably means that Tcl wasn‘t installed properly报错
  19. 如何查看Mac电脑的操作系统是32位还是64位?
  20. shiro权限拦截失效

热门文章

  1. 微信直播应该如何引流呢
  2. 6大热门开源自动化测试框架【建议收藏】
  3. 方正高拍仪文件上传到服务器,高拍仪拍摄文件后如何进行文字识别?本地文件能否导入高拍仪进行识别?...
  4. 计算机本科 很多很多科目的总结
  5. Dell Inspiration 15 7560 增加内存条手把手教学
  6. python修改文件格式为jpg_利用python将webp文件转化为jpg文件,将png文件修改为jpg,图像重命名...
  7. web通过Ajax连接服务器
  8. Python入门学习之个人税务计算练习(if)
  9. Computational Intelligence Assisted Design -- In Industrial Revolution 4.0 (计算智能在工业4.0的应用) --绪论
  10. [渝粤教育] 西南科技大学 会计学原理 在线考试复习资料(1)