RIP路由协议实验报告册

一、实验拓扑图

二、实验需求

1.R3环回3.3.3.0/24,不宣告此环回;

2.其他网段基于192.168.1.0/24进行划分;

3.R1与R2均存在两个环回;

4.整个网络运行ripv2;

5.全网可达,保证更新安全,减少路由条目;

三、实验思路

1.划分IP(分析整个实验网络拓扑结构,可将192.168.1.0/24划分为4个大网段)

(1)192.168.1.0/26——骨干链路

(2)192.168.1.64/26——骨干链路

(3)192.168.1.128/26——R1环回

(4)192.168.1.192/26——R2环回

2.配置RIP协议,宣告网段,除R3环回3.3.3.0/24,并进行测试。

3.配置到达3.3.3.0/24,下发到达3.3.3.0/24缺省路由,实现全网通。

4.接口验证,保证更新安全。

5.接口汇总,并防环,减少路由条目。

四、实验步骤

1.配置IP地址及RIP协议

[R1]int g0/0/0
[R1-GigabitEthernet0/0/0]ip add 192.168.1.1 26

[R1-GigabitEthernet0/0/0]quit

[R1]interface LoopBack 0

[R1-LoopBack0]ip add 192.168.1.129 27

[R1-LoopBack0]int l1

[R1-LoopBack1]ip add 192.168.1.161 27

[R1-LoopBack1]quit

[R1]display ip int brief

[R2]int g0/0/0
[R2-GigabitEthernet0/0/0]ip add 192.168.1.2 26

[R2-GigabitEthernet0/0/0]quit

[R2]int g0/0/1

[R2-GigabitEthernet0/0/1]ip add 192.168.1.65 26

[R2-GigabitEthernet0/0/1]int l0

[R2-LoopBack0]ip add 192.168.1.193 27

[R2-LoopBack0]int l1

[R2-LoopBack1]ip add 192.168.1.225 27

[R2-LoopBack1]quit

[R2]display ip int brief

[R3]int g0/0/0

[R3-GigabitEthernet0/0/0]ip add 192.168.1.66 26

[R3-GigabitEthernet0/0/0]int l0

[R3-LoopBack0]ip add 3.3.3.3 24

[R3]dis ip routing-table protocol rip
 

[R3-LoopBack0]quit

[R3]dis ip int brief

2.配置RIP协议并进行测试

[R1]rip 1

[R1-rip-1]version 2

[R1-rip-1]undo summary
[R1-rip-1]network 192.168.1.0
[R1]dis ip routing-table protocol rip

测试:[R1]ping 3.3.3.3

PING 3.3.3.3: 56  data bytes, press CTRL_C to break
    Request time out
    Request time out
    Request time out
    Request time out
    Request time out

  --- 3.3.3.3 ping statistics ---
    5 packet(s) transmitted
    0 packet(s) received
    100.00% packet loss

[R1]ping 192.168.1.193
  PING 192.168.1.193: 56  data bytes, press CTRL_C to break
    Reply from 192.168.1.193: bytes=56 Sequence=1 ttl=255 time=80 ms
    Reply from 192.168.1.193: bytes=56 Sequence=2 ttl=255 time=20 ms
    Reply from 192.168.1.193: bytes=56 Sequence=3 ttl=255 time=20 ms
    Reply from 192.168.1.193: bytes=56 Sequence=4 ttl=255 time=20 ms
    Reply from 192.168.1.193: bytes=56 Sequence=5 ttl=255 time=20 ms

  --- 192.168.1.193 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 20/32/80 ms

[R2]rip 1

[R2-rip-1]version 2

[R2-rip-1]undo summary

[R2-rip-1]network 192.168.1.0

[R2]dis ip routing-table protocol rip


 

[R3]rip 1

[R3-rip-1]version 2

[R3-rip-1]undo summary

[R3-rip-1]network 192.168.1.0

[R3]dis ip routing-table protocol rip

测试:[R3]ping 192.168.1.129

PING 192.168.1.129: 56  data bytes, press CTRL_C to break
    Reply from 192.168.1.129: bytes=56 Sequence=1 ttl=254 time=50 ms
    Reply from 192.168.1.129: bytes=56 Sequence=2 ttl=254 time=30 ms
    Reply from 192.168.1.129: bytes=56 Sequence=3 ttl=254 time=30 ms
    Reply from 192.168.1.129: bytes=56 Sequence=4 ttl=254 time=20 ms
    Reply from 192.168.1.129: bytes=56 Sequence=5 ttl=254 time=40 ms

  --- 192.168.1.129 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 20/34/50 ms

3.配置缺省路由

[R3]rip 1

[R3-rip-1]default-route originate 

[R1]dis ip routing-table protocol rip

[R2]dis ip routing-table protocol rip

[R1]ping 3.3.3.3[R3]dis ip routing-table protocol rip

四、接口验证

[R1-GigabitEthernet0/0/0]rip authentication-mode

[R1-GigabitEthernet0/0/0]rip authentication-mode md5

[R1-GigabitEthernet0/0/0]rip authentication-mode md5 usual

[R1-GigabitEthernet0/0/0]rip authentication-mode md5 usual cipher wdy12345

[R2-GigabitEthernet0/0/0]rip authentication-mode md5 usual cipher wdy12345

五、汇总

[R1]g 0/0/0

[R1-GigabitEthernet0/0/0]rip summary-address 192.168.1.128 255.255.255.192

手动防环:[R1]ip route-static 192.168.1.128 26 NULL0

[R2]int g0/0/0

[R2-GigabitEthernet0/0/0]rip summary-address 192.168.1.192 255.255.255.192
 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值