R3:
R4:
做重发布
R3:
router ospf 110
redistribute rip subnets
exit
查看路由
R4:
show ip route
R3:
router rip
redistribute ospf 110 metric 3
R1:查看路由表
完成结果:实验演示效果达到
实验演示6:路由重分布二
实验拓扑:
实验过程:
R1:
en
conf t
inter s0/0
ip addr 12.12.12.1 255.255.255.0
no shut
inter loop0
ip addr 1.1.1.1 255.255.255.0
no shu
R2:
en
conf t
inter s0/0
ip addr 12.12.12.2 255.255.255.0
no shut
inter s0/1
ip addr 23.23.23.2 255.255.255.0
no shut
inter loop0
ip addr 2.2.2.2 255.255.255.0
no shu
R3:
en
conf t
inter s0/1
ip addr 23.23.23.3 255.255.255.0
no shut
inter s0/0
ip addr 34.34.34.3 255.255.255.0
no shut
inter loop0
ip addr 3.3.3.3 255.255.255.0
no shu
R4:
en
conf t
inter s0/0
ip addr 34.34.34.4 255.255.255.0
no shut
inter loop0
ip addr 4.4.4.4 255.255.255.0
no shu
配置ospf(R1、R2及R3)
R1:
router ospf 110
router-id 1.1.1.1
network 12.12.12.0 0.0.0.255 area 0
network 1.1.1.0 0.0.0.255 area 0
R2:
router ospf 110
router-id 2.2.2.2
network 12.12.12.0 0.0.0.255 area 0
network 23.23.23.0 0.0.0.255 area 0
network 2.2.2.0 0.0.0.255 area 0
R3:
router ospf 110
router-id 3.3.3.3
network 23.23.23.0 0.0.0.255 area 0
network 3.3.3.0 0.0.0.255 area 0
配置rip(R3与R4)
R3:
router rip
ver 2
no auto-summ
network 34.34.34.0
R4:
router rip
ver 2
no auto-summ
network 34.34.34.0
network 4.4.4.0
查看路由表
R1:
show ip route
R2:
show ip route
R3:
show ip route
R4:
show ip route
做路由重发布
router ospf 110
redistribute rip subnets
exit
在R1上面查看路由
router rip
ver 2
no auto-summ
redistribute ospf 110 metric 5
exit
在R4上面查看路由
ping测试
实验结果:效果达到
现在慢慢的忙起来了,有时间再写吧,这里基本上只是非常简单的介绍了怎么去做,而如何实现的,如何的去满足要求,一些非常关键实验的原理性的讲解都没有时间来说,有时间补上吧,下次见!!!
本文转自 vbers 博客,原文链接: http://blog.51cto.com/vbers/1381959 如需转载请自行联系原作者