雏鹰部落

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 1978|回复: 4

[讨论/求助] [求助]关于ospf的问题

[复制链接]
发表于 2005-9-9 10:49:03 | 显示全部楼层 |阅读模式
<P>示意图:</P><P><IMG src="http://www.yculblog.com/photo/u/uuwenhl/0spf.gif"></P><P>说明: <BR><BR>Lab_A设置: <BR><BR>Lab_A(config)#int f0/0 <BR>Lab_A(config-if)#ip address 192.168.10.1 255.255.255.0 <BR>Lab_A(config-if)#no shut <BR>Lab_A(config-if)#int s0 <BR>Lab_A(config-if)#ip address 192.168.20.1 255.255.255.0 <BR>Lab_A(config-if)#no shut <BR>Lab_A(config-if)#exit <BR>Lab_A(config)#route ospf 132 <BR>Lab_A(config-router)#network 192.168.10.0 0.0.0.255 area 0 <BR>Lab_A(config-router)#network 192.168.20.0 0.0.0.255 area 0 <BR>Lab_A(config-router)#^Z <BR><BR><BR>Lab_B设置: <BR>Lab_B(config)#int s0 <BR>Lab_B(config-if)#ip address 192.168.20.2 255.255.255.0 <BR>Lab_B(config-if)#no shut <BR>Lab_B(config-if)#clock rate 64000 <BR>Lab_B(config-if)#int s1 <BR>Lab_B(config-if)#ip address 192.168.30.1 255.255.255.0 <BR>Lab_B(config-if)#no shut <BR>Lab_B(config-if)#clock rate 64000 <BR>Lab_B(config-if)#exit <BR>Lab_B(config)#route ospf 20 <BR>Lab_B(config-router)#network 192.168.0.0 0.0.255.255 area 0 <BR>Lab_B(config-router)#^Z <BR><BR>Lab_C设置: <BR><BR>Lab_C(config)#int f0/0 <BR>Lab_C(config-if)#ip address 192.168.40.1 255.255.255.0 <BR>Lab_C(config-if)#no shut <BR>Lab_C(config-if)#int s0 <BR>Lab_C(config-if)#ip address 192.168.30.2 255.255.255.0 <BR>Lab_C(config-if)#no shut <BR>Lab_C(config-if)#exit <BR>Lab_C(config)#route ospf 100 <BR>Lab_C(config-router)#network 192.168.30.0 0.0.0.255 area 0 <BR>Lab_C(config-router)#network 192.168.40.0 0.0.0.255 area 0 <BR>Lab_C(config-router)#^Z <BR><BR>配置完后问题: <BR>在Lab_C上用命令:show ip route <BR>只显示有一条192.168.20.0的路由网络可到达,而192.168.10.0的网络没在在路由表中 <BR>给PC机配置完IP后,无法ping 通,连Lab_A的PC只能ping 到路由器Lab_B的S1端口上。 <BR><BR>请大家看看那里有问题,后来发现只有用到多于三台以上的路由器,Lab_C及以后的路由器的路由表中都没有Lab_A的路由信息。&nbsp;<BR></P>
 楼主| 发表于 2005-9-9 12:23:24 | 显示全部楼层
<P>老大,所有的端口已经UP了</P><P>show ip int B&nbsp; 的结果</P><P><IMG src="http://uuwen.blogbus.com/files/1126238596.gif"></P><P><IMG src="http://uuwen.blogbus.com/files/1126238604.gif"></P><P>也把各个路由器的show ip route 帖一下</P><P><IMG src="http://uuwen.blogbus.com/files/1126238571.gif"></P><P><IMG src="http://uuwen.blogbus.com/files/1126238582.gif"></P><P><IMG src="http://uuwen.blogbus.com/files/1126238588.gif"></P><P>谢谢!!</P>
发表于 2005-9-9 15:35:04 | 显示全部楼层
最上面的图显示不了,请补齐。
 楼主| 发表于 2005-9-9 15:39:12 | 显示全部楼层
<P>咦,不是吧,我怎么可能看的到。</P><P><IMG src="http://www.yculblog.com/photo/u/uuwenhl/0spf.gif"></P>
发表于 2005-9-9 17:32:39 | 显示全部楼层
<P>&nbsp;<A href="http://www.yculblog.com/photo/u/uuwenhl/0spf.gif">http://www.yculblog.com/photo/u/uuwenhl/0spf.gif</A></P><P>可能是因为你注册用户看得见?</P>
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|熊猫同学技术论坛|小黑屋| 网络工程师论坛 ( 沪ICP备09076391 )

GMT+8, 2024-5-4 00:06 , Processed in 0.078687 second(s), 18 queries , Gzip On.

快速回复 返回顶部 返回列表