昨天ospf的问题现在吧所有配置及路由表发出来,帮忙找出解决的方法被谢谢
R1配置如下:interface Serial1/0ip 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 classlessno ip http serverR1路由表如图: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 subnetsC
10.1.2.0 is directly connected, Serial1/0O
10.2.3.0 via 10.2.3.1, 00:51:10, Serial1/0R2配置如下: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 classlessno ip http serverR2路由表: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 subnetsC
10.1.2.0 is directly connected, Serial1/0C
10.2.3.0 is directly connected, Serial1/1O
192.168.1.0 via 192.168.1.1, 00:52:52, Serial1/0O
192.168.3.0 via 192.168.3.1, 00:47:52, Serial1/1R3配置如下: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 classlessno ip http serverR3路由表: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 subnetsC
10.2.3.0 is directly connected, Serial1/1O
10.1.2.0 via 10.2.3.1, 00:55:17, Serial1/1问题R1、R3路由表中没有pc机所在网段,但是R2路由表中却有其路由表项。(即R1和R3向R2发送路由表但是R2没有向R1和R3发送其路由表)请问该如何配置。 要简明的表述问题,及环境。
把很多没有必要的部分去掉,提升帖子的可读性~
楼主把路由器的cdp neighbor查看一下
贴上来啊,否则不知道到底接口是怎么连的。 描述问题,本身也是一种很重要的呈现~
不然别人不容易帮到你~
也容易浪费别人的时间~
提升看贴子的效率~
从别人看的角度来发问~
同时,要注意发帖的细节,比如里面有一个错别字,标题长度过长。
对自己有要求,是成长过程中最好的催化剂。
LZ不是自己之前的问题就是这样的现象吗?
其实我很想知道LZ之前的问题是如何出现的。 回复 5 # linda.! 的帖子
谢谢 啊
是我的表述不清楚
对问题也没有看的很透彻
贸然就发帖出来 耽误大家时间了
以后我会注意改正的
你在配置OSPF的时候不是已经清除了32位主机网段,你还要怎么看主机网段
ip ospf network point-to-point
我也是看你配置文件分析的,你试试 no ip ospf network point-to-point
看看
页:
[1]