雏鹰部落

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 2411|回复: 6

[讨论/求助] 昨天ospf的问题现在吧所有配置及路由表发出来,帮忙找出解决的方法被谢谢

[复制链接]
发表于 2011-5-24 13:06:28 | 显示全部楼层 |阅读模式
R1配置如下:
interface Serial1/0

ip address 10.1.2.2 255.255.255.0

no ip directed-broadcast

ip ospf network point-to-point
!
interface Serial1/1

no ip address

no ip directed-broadcast

shutdown
!
interface Ethernet0/0

ip address 192.168.1.1 255.255.255.0

no ip directed-broadcast

ip ospf priority 0

ip ospf network point-to-point
!
interface Ethernet0/1

no ip address

no ip directed-broadcast

shutdown
!
router ospf 10

network 10.1.2.0 0.0.0.255 area 0

network 192.168.1.0 0.0.0.255 area 0
!

!
!
ip classless
no ip http server
R1路由表如图:
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default

U - per-user static route
Gateway of last resort is not set
C
192.168.1.0 is directly connected, Ethernet0/0

10.0.0.0/24 is subnetted, 2 subnets
C
10.1.2.0 is directly connected, Serial1/0
O
10.2.3.0 [110/64] via 10.2.3.1, 00:51:10, Serial1/0
R2配置如下:
interface Serial1/0

ip address 10.1.2.1 255.255.255.0

no ip directed-broadcast

ip ospf network point-to-point
!
interface Serial1/1

ip address 10.2.3.1 255.255.255.0

no ip directed-broadcast

ip ospf network point-to-point
!
interface Ethernet0/0

no ip address

no ip directed-broadcast

shutdown
!
interface Ethernet0/1

no ip address

no ip directed-broadcast

shutdown
!
router ospf 10

network 10.1.2.0 0.0.0.255 area 0

network 10.2.3.0 0.0.0.255 area 0
!
!

!
ip classless
no ip http server
R2路由表:
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default

U - per-user static route
Gateway of last resort is not set

10.0.0.0/24 is subnetted, 2 subnets
C
10.1.2.0 is directly connected, Serial1/0
C
10.2.3.0 is directly connected, Serial1/1
O
192.168.1.0 [110/64] via 192.168.1.1, 00:52:52, Serial1/0
O
192.168.3.0 [110/64] via 192.168.3.1, 00:47:52, Serial1/1
R3配置如下:
interface Serial1/0

no ip address

no ip directed-broadcast

shutdown
!
interface Serial1/1

ip address 10.2.3.2 255.255.255.0

no ip directed-broadcast

ip ospf network point-to-point
!
interface Ethernet0/0

ip address 192.168.3.1 255.255.255.0

no ip directed-broadcast

ip ospf priority 0

ip ospf network point-to-point
!
interface Ethernet0/1

no ip address

no ip directed-broadcast

shutdown
!
router ospf 10

network 10.2.3.0 0.0.0.255 area 0

network 192.168.3.0 0.0.0.255 area 0
!

!
!
ip classless
no ip http server
R3路由表:
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default

U - per-user static route
Gateway of last resort is not set
C
192.168.3.0 is directly connected, Ethernet0/0

10.0.0.0/24 is subnetted, 2 subnets
C
10.2.3.0 is directly connected, Serial1/1
O
10.1.2.0 [110/64] via 10.2.3.1, 00:55:17, Serial1/1
问题R1R3路由表中没有pc机所在网段,但是R2路由表中却有其路由表项。(即R1R3R2发送路由表但是R2没有向R1R3发送其路由表)请问该如何配置。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
发表于 2011-5-24 14:06:03 | 显示全部楼层
要简明的表述问题,及环境。
把很多没有必要的部分去掉,提升帖子的可读性~
发表于 2011-5-24 14:17:30 | 显示全部楼层
楼主把路由器的cdp neighbor查看一下

贴上来啊,否则不知道到底接口是怎么连的。
发表于 2011-5-24 22:46:18 | 显示全部楼层
描述问题,本身也是一种很重要的呈现~
不然别人不容易帮到你~
也容易浪费别人的时间~
提升看贴子的效率~
从别人看的角度来发问~
同时,要注意发帖的细节,比如里面有一个错别字,标题长度过长。
对自己有要求,是成长过程中最好的催化剂。
发表于 2011-5-25 10:55:13 | 显示全部楼层
LZ不是自己之前的问题就是这样的现象吗?
其实我很想知道LZ之前的问题是如何出现的。
 楼主| 发表于 2011-5-25 11:11:43 | 显示全部楼层
回复 5 # linda.! 的帖子

谢谢 啊
是我的表述不清楚
对问题也没有看的很透彻
贸然就发帖出来   耽误大家时间了
以后我会注意改正的

发表于 2011-5-30 12:42:52 | 显示全部楼层
你在配置OSPF的时候不是已经清除了32位主机网段,你还要怎么看主机网段
ip ospf network point-to-point
我也是看你配置文件分析的,你试试 no ip ospf network point-to-point
看看
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2024-11-23 09:36 , Processed in 0.087665 second(s), 20 queries , Gzip On.

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