|
发表于 2011-5-23 21:36:59
|
显示全部楼层
本帖最后由 SPOTO-STSC 于 2011-5-23 21:53 编辑
拓扑图:R1-----R2----R3
==================================
R1配置、路由
--------------------------------
R1#sh ip int b
Interface IP-Address OK? Method Status Protocol
Serial0/0 10.1.2.1 YES manual up up
Serial0/1 unassigned YES unset administratively down down
Serial0/2 unassigned YES unset administratively down down
Serial0/3 unassigned YES unset administratively down down
FastEthernet1/0 192.168.1.1 YES manual up up
Loopback0 1.1.1.1 YES manual up up
R1#
R1#
R1#
R1#sh run |se
R1#sh run |sec
R1#sh run | se
R1#sh run | section ospf
ip ospf network point-to-point
ip ospf priority 0
router ospf 1
router-id 1.1.1.1
log-adjacency-changes
network 10.1.2.0 0.0.0.255 area 0
network 192.168.1.0 0.0.0.255 area 0
R1#sh ip ro
R1#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
1.0.0.0/24 is subnetted, 1 subnets
C 1.1.1.0 is directly connected, Loopback0
10.0.0.0/24 is subnetted, 2 subnets
O 10.1.3.0 [110/128] via 10.1.2.2, 00:10:40, Serial0/0
C 10.1.2.0 is directly connected, Serial0/0
C 192.168.1.0/24 is directly connected, FastEthernet1/0
O 192.168.3.0/24 [110/129] via 10.1.2.2, 00:10:40, Serial0/0
R1#
===========================================
R2 配置、路由
----------------------------------------------------------------------
R2#sh ip int b
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES unset administratively down down
Serial1/0 10.1.2.2 YES manual up up
Serial1/1 10.1.3.1 YES manual up up
Serial1/2 unassigned YES unset administratively down down
Serial1/3 unassigned YES unset administratively down down
Loopback0 2.2.2.2 YES manual up up
R2#sh run | se
R2#sh run | section ospf
router ospf 1
router-id 2.2.2.2
log-adjacency-changes
network 10.1.2.0 0.0.0.255 area 0
network 10.1.3.0 0.0.0.255 area 0
R2#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
2.0.0.0/24 is subnetted, 1 subnets
C 2.2.2.0 is directly connected, Loopback0
10.0.0.0/24 is subnetted, 2 subnets
C 10.1.3.0 is directly connected, Serial1/1
C 10.1.2.0 is directly connected, Serial1/0
O 192.168.1.0/24 [110/65] via 10.1.2.1, 00:04:23, Serial1/0
O 192.168.3.0/24 [110/65] via 10.1.3.2, 00:04:23, Serial1/1
R2#
==========================================
R3配置、路由
--------------------------------------------------------------------------
R3#sh ip int b
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.3.1 YES manual up up
Serial1/0 unassigned YES unset administratively down down
Serial1/1 10.1.3.2 YES manual up up
Serial1/2 unassigned YES unset administratively down down
Serial1/3 unassigned YES unset administratively down down
Loopback2 3.3.3.3 YES manual up up
R3#sh run | se
R3#sh run | section router
router ospf 1
router-id 3.3.3.3
log-adjacency-changes
network 10.1.3.0 0.0.0.255 area 0
network 192.168.3.0 0.0.0.255 area 0
R3#
R3#sh ip ro
R3#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
3.0.0.0/24 is subnetted, 1 subnets
C 3.3.3.0 is directly connected, Loopback2
10.0.0.0/24 is subnetted, 2 subnets
C 10.1.3.0 is directly connected, Serial1/1
O 10.1.2.0 [110/128] via 10.1.3.1, 00:05:51, Serial1/1
O 192.168.1.0/24 [110/129] via 10.1.3.1, 00:05:51, Serial1/1
C 192.168.3.0/24 is directly connected, FastEthernet0/0
R3#
======================================================
以上配置根据您的给的要求配置的,测试没有问题,请仔细检查您的配置和路由条目,或者你把配置张贴出来,
如果还有其他问题欢迎您提问题。
|
|