免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1559 | 回复: 0
打印 上一主题 下一主题

OSPF单区域与重分布相结合实验 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-05-20 09:27 |只看该作者 |倒序浏览
OSPF 的单区域实验
拓扑图:

1、分别为5台路由器配置IP地址;
2、计算出各个网络的网络号;
3、配置OSPF单区域;
4、验证实验效果 即 R5 PING R1 能够PING通;
R1:
conf t
int loop 0
ip add 192.168.50.65 255.255.255.192
no shut
int s0
ip add 192.168.50.129 255.255.255.192
no shut
R2:
conf t
int s0
ip add 192.168.50.130 255.255.255.192
no shut
clock rate 64000
int s1
ip add 172.16.150.241 255.255.255.252
no shut
clock rate 64000

R3:
conf t
int s1
ip add 172.16.150.242 255.255.255.252
no shut
int s0
ip add 172.16.150.245 255.255.255.252
no shut
R4:
conf t
int s0
ip add 172.16.150.246 255.255.255.252
no shut
clock rate 64000
int s1
ip add 10.1.1.1 255.255.255.0
no shut
clock rate 64000

R5:
conf t
int s1
ip add 10.1.1.2 255.255.255.0
no shut
int loop 0
ip add 10.1.2.1 255.255.255.0
no shut
R1:
conf t
router ospf 1
network 192.168.50.64 0.0.0.63 area 0
network 192.168.50.128 0.0.0.63 area 0

R2:
conf t
router ospf 2
network 172.16.150.240 0.0.0.3 area 0
network 192.168.50.128 0.0.0.63 area 0

R3:
conf t
router ospf 3
network 172.16.150.240 0.0.0.3 area 0
network 172.16.150.244 0.0.0.3 area 0

R4:
conf t
router ospf 4
network 10.1.1.0 0.0.0.255 area 0
network 172.16.150.244 0.0.0.3 area 0


R5:
conf t
router ospf 5
network 10.1.1.0 0.0.0.255 area 0
network 10.1.2.0 0.0.0.255 area 0




                     OSPF 的重发布实验

在上述实验的基础上配置
1.R1、R2、R3的配置不变,在R4和R5上清空路由配置;
2.在R4上做发布,在R5上通告RIP;
R4:
conf t
no ip routing
ip routing

R5:
conf t
no ip routing
ip routing
R4:
conf t
router ospf 4
network 172.16.150.244 0.0.0.3 area 0
router rip
network 10.0.0.0

R5:
conf t
router rip
network 10.0.0.0
3.验证实验效果:
在R1上PING R5 不能够通讯
R1 ping R4 能够PING 通
4.解决方法:在ABR上做发布:
conf  t
router ospf 4
redistribute rip subnets metric 110
router rip
redistribute ospf 4 metric 5






本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/69260/showart_695433.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP