RIP作业

在这里插入图片描述
ip地址如上配置
R1
dis ip int br
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 6
The number of interface that is DOWN in Physical is 1
The number of interface that is UP in Protocol is 6
The number of interface that is DOWN in Protocol is 1

Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 192.168.1.1/24 up up
GigabitEthernet0/0/1 192.168.4.1/24 up up
GigabitEthernet0/0/2 unassigned down down
LoopBack0 172.16.1.1/24 up up(s)
LoopBack1 172.16.2.1/24 up up(s)
LoopBack2 172.16.3.1/24 up up(s)
NULL0 unassigned up up(s)

R2
dis ip int br
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 4
The number of interface that is DOWN in Physical is 1
The number of interface that is UP in Protocol is 4
The number of interface that is DOWN in Protocol is 1

Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 192.168.1.2/24 up up
GigabitEthernet0/0/1 192.168.2.1/24 up up
GigabitEthernet0/0/2 unassigned down down
LoopBack0 2.2.2.1/24 up up(s)
NULL0 unassigned up up(s)

R3
dis ip int br
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 4
The number of interface that is DOWN in Physical is 1
The number of interface that is UP in Protocol is 4
The number of interface that is DOWN in Protocol is 1

Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 192.168.2.2/24 up up
GigabitEthernet0/0/1 192.168.3.1/24 up up
GigabitEthernet0/0/2 unassigned down down
LoopBack0 3.3.3.1/24 up up(s)
NULL0 unassigned up up(s)

R4
dis ip int br
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 6
The number of interface that is DOWN in Physical is 0
The number of interface that is UP in Protocol is 6
The number of interface that is DOWN in Protocol is 0

Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 192.168.4.2/24 up up
GigabitEthernet0/0/1 192.168.3.2/24 up up
GigabitEthernet0/0/2 192.168.5.1/24 up up
GigabitEthernet4/0/0 192.168.6.1/24 up up
LoopBack0 4.4.4.4/24 up up(s)
NULL0 unassigned up up(s)

R5
dis ip int br
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 3
The number of interface that is DOWN in Physical is 2
The number of interface that is UP in Protocol is 3
The number of interface that is DOWN in Protocol is 2

Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 192.168.5.2/24 up up
GigabitEthernet0/0/1 unassigned down down
GigabitEthernet0/0/2 unassigned down down
LoopBack0 5.5.5.1/24 up up(s)
NULL0 unassigned up up(s)

R6
dis ip int br
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 4
The number of interface that is DOWN in Physical is 1
The number of interface that is UP in Protocol is 4
The number of interface that is DOWN in Protocol is 1

Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 192.168.6.2/24 up up
GigabitEthernet0/0/1 192.168.7.1/24 up up
GigabitEthernet0/0/2 unassigned down down
LoopBack0 6.6.6.1/24 up up(s)
NULL0 unassigned up up(s)

R7
dis ip int br
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 3
The number of interface that is DOWN in Physical is 2
The number of interface that is UP in Protocol is 3
The number of interface that is DOWN in Protocol is 2

Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 192.168.7.2/24 up up
GigabitEthernet0/0/1 unassigned down down
GigabitEthernet0/0/2 unassigned down down
LoopBack0 7.7.7.1/24 up up(s)
NULL0 unassigned up up(s)

RIP的配置

R1中
[r1]rip 1
[r1-rip-1]ver
[r1-rip-1]verify-source
[r1-rip-1]version 2
[r1-rip-1]net
[r1-rip-1]network 192.168.1.0
[r1-rip-1]network 192.168.4.0
[r1-rip-1]network 172.16.0.0
[r1-rip-1]q
[r1]int g 0/0/0
[r1-GigabitEthernet0/0/0]rip summary-address 172.16.0.0 255.255.254.0
[r1-GigabitEthernet0/0/0]int g 0/0/1
[r1-GigabitEthernet0/0/1]rip summary-address 172.16.0.0 255.255.254.0
[r1-GigabitEthernet0/0/1]q
[r1]ip route-static 172.16.0.0 22 NULL 0

R2中
[r2]rip 1
[r2-rip-1]v
[r2-rip-1]verify-source
[r2-rip-1]version 2
[r2-rip-1]net
[r2-rip-1]network 192.168.2.0
[r2-rip-1]network 192.168.1.0
[r2-rip-1]network 2.0.0.0
[r2-GigabitEthernet0/0/0]rip authentication-mode md5 usual cipher 123456
[r2-GigabitEthernet0/0/0]q
[r2]int g0/0/1
[r2-GigabitEthernet0/0/1]rip authentication-mode md5 usual cipher 123456
[r2-GigabitEthernet0/0/1]q

R3中
[r3]rip 1
[r3-rip-1]ver
[r3-rip-1]verify-source
[r3-rip-1]version 2
[r3-rip-1]net
[r3-rip-1]network 192.168.2.0
[r3-rip-1]network 192.168.3.0
[r3-rip-1]network 3.0.0.0
[r3-rip-1]q
[r3-GigabitEthernet0/0/0]rip authentication-mode md5 usual cipher 123456
[r3-GigabitEthernet0/0/0]q
[r3]int g0/0/1
[r3-GigabitEthernet0/0/1]rip authentication-mode md5 usual cipher 123456
[r3-GigabitEthernet0/0/1]q

R4
[r4]rip 1
[r4-rip-1]ver
[r4-rip-1]verify-source
[r4-rip-1]version 2
[r4-rip-1]net
[r4-rip-1]network 192.168.4.0
[r4-rip-1]network 192.168.3.0
[r4-rip-1]network 192.168.5.0
[r4-rip-1]network 192.168.6.0
[r4-rip-1]network 4.0.0.0
[r4-rip-1]q
[r4]int g0/0/0
[r4-GigabitEthernet0/0/0]rip authentication-mode md5 usual cipher 123456
[r4-GigabitEthernet0/0/0]q
[r4]int g0/0/1
[r4-GigabitEthernet0/0/1]rip authentication-mode md5 usual cipher 123456
[r4-GigabitEthernet0/0/1]int g0/0/2
[r4-GigabitEthernet0/0/2]rip authentication-mode md5 usual cipher 123456
[r4-GigabitEthernet0/0/2]int g4/0/0
[r4-GigabitEthernet4/0/0]rip authentication-mode md5 usual cipher 123456
[r4-GigabitEthernet4/0/0]q

R5
[r5]rip 1
[r5-rip-1]ver
[r5-rip-1]verify-source
[r5-rip-1]version 2
[r5-rip-1]net
[r5-rip-1]network 192.168.5.0
[r5-rip-1]q
[r5-GigabitEthernet0/0/0]rip authentication-mode md5 usual cipher 123456

R6
[r6]rip 1
[r6-rip-1]net
[r6-rip-1]ver
[r6-rip-1]verify-source
[r6-rip-1]version 1
[r6-rip-1]net
[r6-rip-1]network 192.168.6.0
[r6-rip-1]network 192.168.7.0
[r6-rip-1]network 6.0.0.0
[r6-rip-1]q
[r6]int g0/0/0
[r6-GigabitEthernet0/0/0]rip authentication-mode md5 usual cipher 123456
[r6-GigabitEthernet0/0/0]int g0/0/1
[r6-GigabitEthernet0/0/1]rip authentication-mode md5 usual cipher 123456
[r6-GigabitEthernet0/0/1]q

R7
[r7]rip 1
[r7-rip-1]ver
[r7-rip-1]verify-source
[r7-rip-1]version 1
[r7-rip-1]net
[r7-rip-1]network 192.168.7.0
[r7-rip-1]network 7.0.0.0
[r7-rip-1]q
[r7]int g0/0/0
[r7-GigabitEthernet0/0/0]rip authentication-mode md5 usual cipher 123456
[r7-GigabitEthernet0/0/0]q

全网可达(在R6上配置重发布)
[r6-rip-1]import-route st
[r6-rip-1]import-route static
[r6-rip-1]q
[r6]int g0/0/0
[r6-GigabitEthernet0/0/0]rip ver
[r6-GigabitEthernet0/0/0]rip version 2
[r6-GigabitEthernet0/0/0]q

在R4上配置缺省路由
[r4]ip rou
[r4]ip route
[r4]ip route-static 0.0.0.0 0 192.168.5.2
[r4]rip
[r4-rip-1]de
[r4-rip-1]default-cost
[r4-rip-1]default-route or
[r4-rip-1]default-route originate
[r4-rip-1]q

R3使用R2访问R1环回
[r3]acl 2000
[r3-acl-basic-2000]rule permit source 172.16.0.0 0.0.255.255
[r3-acl-basic-2000]q
[r3]int g0/0/1
[r3-GigabitEthernet0/0/1]rip met
[r3-GigabitEthernet0/0/1]rip metricin 2000 5
[r3-GigabitEthernet0/0/1]q

R6-R7路由器不能学习到R1环回
[r6]int g0/0/0
[r6-GigabitEthernet0/0/0]rip authentication-mode md5 usual cipher 123456
[r6-GigabitEthernet0/0/0]int g0/0/1
[r6-GigabitEthernet0/0/1]rip authentication-mode md5 usual cipher 123456
[r6-GigabitEthernet0/0/1]q
[r6]acl
^
Error:Incomplete command found at ‘^’ position.
[r6]acl 2000
[r6-acl-basic-2000]ru
[r6-acl-basic-2000]rule per
[r6-acl-basic-2000]rule permit sou
[r6-acl-basic-2000]rule permit source 172.16.0.0 0.0.255.255
[r6-acl-basic-2000]q
[r6]int g0/0/0
[r6-GigabitEthernet0/0/0]rip met
[r6-GigabitEthernet0/0/0]rip metricin 2000 5
[r6-GigabitEthernet0/0/0]q

telnet配置

R7上
[r7]aaa
[r7-aaa]local-user lin privilege level 15 password cipher 123456
[r7]user-interface vty 0 4
[r7-ui-vty0-4]aut
[r7-ui-vty0-4]authentication-mode aaa
[r7-ui-vty0-4]q

在R2上
[r2]int g 0/0/0
[r2-GigabitEthernet0/0/0]nat server protocol tcp global interface loopback 0 23 inside 7.7.7.1 24
Warning:The port 23 is well-known port. If you continue it may cause function failure.
Are you sure to continue?[Y/N]:y
[r2-GigabitEthernet0/0/0]q
[r2]acl 2000
[r2-acl-basic-2000]rule permit source 7.0.0.0 0
[r2-acl-basic-2000]q
[r2]int g 0/0/0
[r2-GigabitEthernet0/0/0]rip m
[r2-GigabitEthernet0/0/0]rip metricin 2000 10
[r2-GigabitEthernet0/0/0]q

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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值