eNSP 动态路由(RIP)

      最后更新:2022-04-19 02:04:50 手机定位技术交流文章

      文章目录

      • Ⅰ RIP简介
      • Ⅱ 构建拓扑图
      • PC IPv4 配置三
        • ① pc1
        • ② pc2
      • IV 路由器端口配置的 IP 地址
        • ① R1命令:
        • ② R2命令:
      • V 设置开关协议 :
        • ① R1:
        • ② R2:
      • Ⅵ 测试连通性
        • ① pc1
        • ② pc2
      • Ⅶ 总结

      Ⅰ RIP简介

      《公路信息议定书》也称为《路线信息议定书》。两个网址上的两台电脑可以相互通讯。因此,我们必须为每个路由器配置固定路线。另一方面,静态路线需要下一个跳跃的地址。在小型的网络中,我们使用RIP议定书(经常用于小型网络),我们使用RIP议定书。它用来查找和创建路径信息。您只需知道与此路由器互动的网络段的地址 。

      Ⅱ 构建拓扑图

      在这里插入图片描述

      PC IPv4 配置三

      ① pc1

      在这里插入图片描述

      ② pc2

      在这里插入图片描述

      IV 路由器端口配置的 IP 地址

      ① R1命令:

      sys
      [Huawei]sysname R1
      [R1]un in en
      [R1]int g0/0/1
      [R1-GigabitEthernet0/0/1]ip add 192.168.1.1 24
      [R1-GigabitEthernet0/0/1]int g0/0/0
      [R1-GigabitEthernet0/0/0]ip add 10.0.0.1 24
      [R1-GigabitEthernet0/0/0]quit
      [R1]quit
      save
      The current configuration will be written to the device.
      Are you sure to continue? (y/n)[n]:y
      It will take several minutes to save configuration file, please wait…

      Configuration file had been saved successfully
      Note: The configuration file will take effect after being activated

      ② R2命令:

      sys
      [Huawei]un in en
      [Huawei]int g0/0/1
      [Huawei-GigabitEthernet0/0/1]ip add 192.168.2.1 24
      [Huawei-GigabitEthernet0/0/1]int g0/0/0
      [Huawei-GigabitEthernet0/0/0]ip add 10.0.0.2 24
      [Huawei-GigabitEthernet0/0/0]quit
      [Huawei]sysname R2
      [R2]quit
      save
      The current configuration will be written to the device.
      Are you sure to continue? (y/n)[n]:y
      It will take several minutes to save configuration file, please wait…
      Configuration file had been saved successfully
      Note: The configuration file will take effect after being activated

      V 设置开关协议 :

      ① R1:

      sys
      Enter system view, return user view with Ctrl+Z.
      [R1]rip
      [R1-rip-1] # # 选择版本2的第2版。
      [R1-rip-1]network 10.0.0.0
      [R1-rip-1]network 192.168.2.0
      [R1-rip-1]quit
      [R1]quit
      save
      The current configuration will be written to the device.
      Are you sure to continue? (y/n)[n]:y
      It will take several minutes to save configuration file, please wait…
      Configuration file had been saved successfully
      Note: The configuration file will take effect after being activated

      ② R2:

      sys
      Enter system view, return user view with Ctrl+Z.
      [R2]rip
      应使用[R2-rip-1]第2版。
      [R2-rip-1]network 10.0.0.0
      [R2-rip-1]network 192.168.2.0
      [R2-rip-1]quit
      [R2]quit
      save
      The current configuration will be written to the device.
      Are you sure to continue? (y/n)[n]:y
      It will take several minutes to save configuration file, please wait…
      Configuration file had been saved successfully
      Note: The configuration file will take effect after being activated

      Ⅵ 测试连通性

      ① pc1

      在这里插入图片描述

      ② pc2

      在这里插入图片描述

      Ⅶ 总结

      请记住要结合此路由器的地图和网络+网站界面 。

      本文由 在线网速测试 整理编辑,转载请注明出处,原文链接:https://www.wangsu123.cn/news/22544.html

          热门文章

          文章分类