RIP综合实验

本文档详述了RIP协议的配置过程,包括IP地址分配、接口配置、路由宣告、Cost值修改、汇总、缺省路由设置、过滤规则、端口映射以及MD5认证。通过实验验证了配置的正确性,实现了网络间的通信。
摘要由CSDN通过智能技术生成

按照如图分配网段,划分合理的IP地址:

 

  1. 配置IP:(例如r2)

[r2]int g 0/0/0

[r2-GigabitEthernet0/0/0]ip add

[r2-GigabitEthernet0/0/0]ip address 12.0.0.2 24

Jan  7 2022 21:07:34-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]int g 0/0/1

[r2-GigabitEthernet0/0/1]ip add

[r2-GigabitEthernet0/0/1]ip address 23.0.0.1 24

Jan  7 2022 21:07:44-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]int l0

[r2-LoopBack0]ip add

[r2-LoopBack0]ip address 2.2.2.2 24——环回配置IP

检查配置是否正确:

<r2>ping 12.0.0.1

  PING 12.0.0.1: 56  data bytes, press CTRL_C to break

    Reply from 12.0.0.1: bytes=56 Sequence=1 ttl=255 time=50 ms

    Reply from 12.0.0.1: bytes=56 Sequence=2 ttl=255 time=20 ms

    Reply from 12.0.0.1: bytes=56 Sequence=3 ttl=255 time=10 ms

    Reply from 12.0.0.1: bytes=56 Sequence=4 ttl=255 time=20 ms

    Reply from 12.0.0.1: bytes=56 Sequence=5 ttl=255 time=20 ms

  --- 12.0.0.1 ping statistics ---

    5 packet(s) transmitted

    5 packet(s) received

    0.00% pac

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值