配置RIP实现全网互通的实例分析

发布时间:2022-01-07 10:49:27 作者:柒染
来源:亿速云 阅读:802

本篇文章给大家分享的是有关配置RIP实现全网互通的实例分析,小编觉得挺实用的,因此分享给大家学习,希望大家阅读完这篇文章后可以有所收获,话不多说,跟着小编一起来看看吧。

实验名称:华为配置RIP实现全网互通
实验目的:配置RIP实现全网互通
实验拓扑:
配置RIP实现全网互通的实例分析
实验需求:两台PC机,四台路由器
实验步骤:

  1. 配置pc机

    配置RIP实现全网互通的实例分析

  2. 配置路由器接口IP
    R1:
    <Huawei>sys
    Enter system view, return user view with Ctrl+Z.
    [Huawei]sysname R1
    [R1]interface GigabitEthernet 0/0/0
    [R1-GigabitEthernet0/0/0]undo shutdown
    Info: Interface GigabitEthernet0/0/0 is not shutdown.
    [R1-GigabitEthernet0/0/0]ip address 192.168.10.254 255.255.255.0
    Jan 10 2018 17:30:36-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
    Info: Interface GigabitEthernet0/0/1 is not shutdown.
    [R1-GigabitEthernet0/0/1]ip address 192.168.12.1 255.255.255.0
    Jan 10 2018 17:31:00-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]quit

R2:
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname R2
[R2]interface GigabitEthernet 0/0/0
[R2-GigabitEthernet0/0/0]undo shutdown
Info: Interface GigabitEthernet0/0/0 is not shutdown.
[R2-GigabitEthernet0/0/0]ip address 192.168.12.2 255.255.255.0
Jan 10 2018 17:31:37-08:00 R2 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[R2-GigabitEthernet0/0/0]quit
[R2]interface GigabitEthernet 0/0/1
[R2-GigabitEthernet0/0/1]undo shutdown
Info: Interface GigabitEthernet0/0/1 is not shutdown.
[R2-GigabitEthernet0/0/1]ip address 192.168.23.2 255.255.255.0
Jan 10 2018 17:32:00-08:00 R2 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[R2-GigabitEthernet0/0/1]quit

R3:
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname R3
[R3]interface GigabitEthernet 0/0/0
[R3-GigabitEthernet0/0/0]undo shutdown
Info: Interface GigabitEthernet0/0/0 is not shutdown.
[R3-GigabitEthernet0/0/0]ip address 192.168.23.3 255.255.255.0
Jan 10 2018 17:32:39-08:00 R3 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[R3-GigabitEthernet0/0/0]quit
[R3]interface GigabitEthernet 0/0/1
[R3-GigabitEthernet0/0/1]undo shutdown
Info: Interface GigabitEthernet0/0/1 is not shutdown.
[R3-GigabitEthernet0/0/1]ip address 192.168.34.3 255.255.255.0
Jan 10 2018 17:32:58-08:00 R3 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[R3-GigabitEthernet0/0/1]quit

R4:
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname R4
[R4]interface GigabitEthernet 0/0/0
[R4-GigabitEthernet0/0/0]undo shutdown
Info: Interface GigabitEthernet0/0/0 is not shutdown.
[R4-GigabitEthernet0/0/0]ip address 192.168.34.4 255.255.255.0
Jan 10 2018 17:33:27-08:00 R4 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[R4-GigabitEthernet0/0/0]quit
[R4]interface GigabitEthernet 0/0/1
[R4-GigabitEthernet0/0/1]undo shutdown
Info: Interface GigabitEthernet0/0/1 is not shutdown.
[R4-GigabitEthernet0/0/1]ip address 192.168.20.254 255.255.255.0
Jan 10 2018 17:33:45-08:00 R4 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[R4-GigabitEthernet0/0/1]quit
[R4]

  1. 配置rip协议
    R1:
    [R1]rip
    [R1-rip-1]version 2
    [R1-rip-1]network 192.168.10.0
    [R1-rip-1]network 192.168.12.0
    [R1-rip-1]exit
    R2:
    [R2]rip
    [R2-rip-1]version 2
    [R2-rip-1]network 192.168.12.0
    [R2-rip-1]network 192.168.23.0
    [R2-rip-1]quit
    R3:
    [R3]rip
    [R3-rip-1]version 2
    [R3-rip-1]network 192.168.23.0
    [R3-rip-1]network 192.168.34.0
    [R3-rip-1]quit
    R4:
    [R4]rip
    [R4-rip-1]version 2
    [R4-rip-1]network 192.168.34.0
    [R4-rip-1]network 192.168.20.0
    [R4-rip-1]quit
    测试与验证:
    a. 测试连通性:
    配置RIP实现全网互通的实例分析

         b. 查看rip id的路由表

    配置RIP实现全网互通的实例分析
    配置RIP实现全网互通的实例分析
    配置RIP实现全网互通的实例分析

    配置RIP实现全网互通的实例分析

实验总结:
华为配置rip步骤:
1.启用RIP协议
[Router]rip [id] // 如果不写后面的id,默认是1;
2.配置路由器使用 RIP 版本2
[Router-rip-1]version 2 // 在华为中,启用RIPv2以后,默认关闭了自动汇总;
3.[Router-rip-1]network x.x.x.x
附带:
华为模拟器中自动汇总在选择RIP version 2之后是自动关闭的,与思科不同

以上就是配置RIP实现全网互通的实例分析,小编相信有部分知识点可能是我们日常工作会见到或用到的。希望你能通过这篇文章学到更多知识。更多详情敬请关注亿速云行业资讯频道。

推荐阅读:
  1. 全网备份配置
  2. OSPF、VLAN、RIP、单臂路由如何实现全网互通

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

rip

上一篇:Debian 源列表的实例分析

下一篇:Android M 的权限机制是什么

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》