ospf综合实验2|ospf综合实验2 2012/9/8

路由表:
R1
O*IA0.0.0.0/0 [110/65] via 10.1.1.2, 00:18:22, Serial1/1
10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C10.1.1.0/24 is directly connected, Serial1/1
L10.1.1.1/32 is directly connected, Serial1/1
172.16.0.0/16 is variably subnetted, 8 subnets, 2 masks
C172.16.0.0/24 is directly connected, Loopback0
L172.16.0.1/32 is directly connected, Loopback0
C172.16.1.0/24 is directly connected, Loopback1
L172.16.1.1/32 is directly connected, Loopback1
C172.16.2.0/24 is directly connected, Loopback2
L172.16.2.1/32 is directly connected, Loopback2
C172.16.3.0/24 is directly connected, Loopback3
L172.16.3.1/32 is directly connected, Loopback3

R2
Gateway of last resort is not set

10.0.0.0/8 is variably subnetted, 5 subnets, 2 masks
C10.1.1.0/24 is directly connected, Serial1/0
L10.1.1.2/32 is directly connected, Serial1/0
O IA10.1.2.0/24 [110/128] via 172.17.1.2, 00:16:41, Serial1/2
O IA10.1.3.0/24 [110/128] via 172.17.1.3, 00:16:41, Serial1/2
O IA10.1.4.0/24 [110/192] via 172.17.1.3, 00:16:41, Serial1/2
172.16.0.0/16 is variably subnetted, 5 subnets, 2 masks
O172.16.0.0/22 is a summary, 00:18:56, Null0
O172.16.0.1/32 [110/65] via 10.1.1.1, 00:18:56, Serial1/0
O172.16.1.1/32 [110/65] via 10.1.1.1, 00:18:56, Serial1/0
O172.16.2.1/32 [110/65] via 10.1.1.1, 00:18:56, Serial1/0
O172.16.3.1/32 [110/65] via 10.1.1.1, 00:18:56, Serial1/0
172.17.0.0/16 is variably subnetted, 2 subnets, 2 masks
C172.17.1.0/24 is directly connected, Serial1/2
L172.17.1.1/32 is directly connected, Serial1/2
172.18.0.0/32 is subnetted, 2 subnets
O IA172.18.0.1 [110/129] via 172.17.1.3, 00:16:43, Serial1/2
O IA172.18.1.1 [110/129] via 172.17.1.3, 00:16:43, Serial1/2
172.19.0.0/32 is subnetted, 2 subnets
O IA172.19.0.1 [110/129] via 172.17.1.2, 00:16:43, Serial1/2
O IA172.19.1.1 [110/129] via 172.17.1.2, 00:16:43, Serial1/2
172.20.0.0/32 is subnetted, 2 subnets
O IA172.20.1.1 [110/193] via 172.17.1.3, 00:16:43, Serial1/2
O IA172.20.2.1 [110/193] via 172.17.1.3, 00:16:43, Serial1/2
O E2192.168.1.0/24 [110/100] via 172.17.1.2, 00:16:43, Serial1/2
O E2192.168.3.0/24 [110/100] via 172.17.1.2, 00:16:43, Serial1/2
O E2192.168.255.0/24 [110/100] via 172.17.1.2, 00:16:43, Serial1/2
R2#

R3
Gateway of last resort is not set

10.0.0.0/8 is variably subnetted, 5 subnets, 2 masks
O IA10.1.1.0/24 [110/128] via 172.17.1.1, 00:17:26, Serial1/2
C10.1.2.0/24 is directly connected, Serial1/1
L10.1.2.1/32 is directly connected, Serial1/1
O IA10.1.3.0/24 [110/128] via 172.17.1.3, 00:17:26, Serial1/2
O IA10.1.4.0/24 [110/192] via 172.17.1.3, 00:17:26, Serial1/2
172.16.0.0/22 is subnetted, 1 subnets
O IA172.16.0.0 [110/129] via 172.17.1.1, 00:17:26, Serial1/2
172.17.0.0/16 is variably subnetted, 2 subnets, 2 masks
C172.17.1.0/24 is directly connected, Serial1/2
L172.17.1.2/32 is directly connected, Serial1/2
172.18.0.0/32 is subnetted, 2 subnets
O IA172.18.0.1 [110/129] via 172.17.1.3, 00:17:26, Serial1/2
O IA172.18.1.1 [110/129] via 172.17.1.3, 00:17:27, Serial1/2
172.19.0.0/32 is subnetted, 2 subnets
O172.19.0.1 [110/65] via 10.1.2.2, 00:19:30, Serial1/1
O172.19.1.1 [110/65] via 10.1.2.2, 00:19:30, Serial1/1
172.20.0.0/32 is subnetted, 2 subnets
O IA172.20.1.1 [110/193] via 172.17.1.3, 00:17:27, Serial1/2
O IA172.20.2.1 [110/193] via 172.17.1.3, 00:17:27, Serial1/2
O N2192.168.1.0/24 [110/100] via 10.1.2.2, 00:19:30, Serial1/1
O N2192.168.3.0/24 [110/100] via 10.1.2.2, 00:19:30, Serial1/1
O N2192.168.255.0/24 [110/100] via 10.1.2.2, 00:19:30, Serial1/1
R3#

R4
Gateway of last resort is not set

10.0.0.0/8 is variably subnetted, 5 subnets, 2 masks
O IA10.1.1.0/24 [110/128] via 172.17.1.1, 00:18:04, Serial1/2
O IA10.1.2.0/24 [110/128] via 172.17.1.2, 00:18:04, Serial1/2
C10.1.3.0/24 is directly connected, Serial1/1
L10.1.3.1/32 is directly connected, Serial1/1
O IA10.1.4.0/24 [110/128] via 10.1.3.2, 00:19:42, Serial1/1
172.16.0.0/22 is subnetted, 1 subnets
O IA172.16.0.0 [110/129] via 172.17.1.1, 00:18:04, Serial1/2
172.17.0.0/16 is variably subnetted, 2 subnets, 2 masks
C172.17.1.0/24 is directly connected, Serial1/2
L172.17.1.3/32 is directly connected, Serial1/2
172.18.0.0/32 is subnetted, 2 subnets
O172.18.0.1 [110/65] via 10.1.3.2, 00:20:02, Serial1/1
O172.18.1.1 [110/65] via 10.1.3.2, 00:20:03, Serial1/1
172.19.0.0/32 is subnetted, 2 subnets
O IA172.19.0.1 [110/129] via 172.17.1.2, 00:18:05, Serial1/2
O IA172.19.1.1 [110/129] via 172.17.1.2, 00:18:05, Serial1/2
172.20.0.0/32 is subnetted, 2 subnets
O IA172.20.1.1 [110/129] via 10.1.3.2, 00:19:43, Serial1/1
O IA172.20.2.1 [110/129] via 10.1.3.2, 00:19:43, Serial1/1
O E2192.168.1.0/24 [110/100] via 172.17.1.2, 00:18:05, Serial1/2
O E2192.168.3.0/24 [110/100] via 172.17.1.2, 00:18:05, Serial1/2
O E2192.168.255.0/24 [110/100] via 172.17.1.2, 00:18:05, Serial1/2

R5
O*IA0.0.0.0/0 [110/65] via 10.1.2.1, 00:20:51, Serial1/0
10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C10.1.2.0/24 is directly connected, Serial1/0
L10.1.2.2/32 is directly connected, Serial1/0
172.19.0.0/16 is variably subnetted, 4 subnets, 2 masks
C172.19.0.0/24 is directly connected, Loopback0
L172.19.0.1/32 is directly connected, Loopback0
C172.19.1.0/24 is directly connected, Loopback1
L172.19.1.1/32 is directly connected, Loopback1
R192.168.1.0/24 [120/1] via 192.168.255.2, 00:00:02, Serial1/1
R192.168.3.0/24 [120/1] via 192.168.255.2, 00:00:02, Serial1/1
192.168.255.0/24 is variably subnetted, 2 subnets, 2 masks
C192.168.255.0/24 is directly connected, Serial1/1
L192.168.255.1/32 is directly connected, Serial1/1

R6
Gateway of last resort is 192.168.255.1 to network 0.0.0.0

R*0.0.0.0/0 [120/10] via 192.168.255.1, 00:00:25, Serial1/0
10.0.0.0/24 is subnetted, 1 subnets
R10.1.2.0 [120/1] via 192.168.255.1, 00:00:25, Serial1/0
172.19.0.0/24 is subnetted, 2 subnets
R172.19.0.0 [120/1] via 192.168.255.1, 00:00:25, Serial1/0
R172.19.1.0 [120/1] via 192.168.255.1, 00:00:25, Serial1/0
192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C192.168.1.0/24 is directly connected, Loopback0
L192.168.1.1/32 is directly connected, Loopback0
192.168.3.0/24 is variably subnetted, 2 subnets, 2 masks
C192.168.3.0/24 is directly connected, Loopback1
L192.168.3.1/32 is directly connected, Loopback1
192.168.255.0/24 is variably subnetted, 2 subnets, 2 masks
C192.168.255.0/24 is directly connected, Serial1/0
L192.168.255.2/32 is directly connected, Serial1/0
R6#

R7
Gateway of last resort is not set

10.0.0.0/8 is variably subnetted, 6 subnets, 2 masks
O IA10.1.1.0/24 [110/192] via 10.1.3.1, 00:19:41, Serial1/0
O IA10.1.2.0/24 [110/192] via 10.1.3.1, 00:19:50, Serial1/0
C10.1.3.0/24 is directly connected, Serial1/0
L10.1.3.2/32 is directly connected, Serial1/0
C10.1.4.0/24 is directly connected, Serial1/1
L10.1.4.1/32 is directly connected, Serial1/1
172.16.0.0/22 is subnetted, 1 subnets
O IA172.16.0.0 [110/193] via 10.1.3.1, 00:19:41, Serial1/0
172.17.0.0/24 is subnetted, 1 subnets
O172.17.1.0 [110/128] via 10.1.3.1, 00:19:51, Serial1/0
172.18.0.0/16 is variably subnetted, 4 subnets, 2 masks
C172.18.0.0/24 is directly connected, Loopback0
L172.18.0.1/32 is directly connected, Loopback0
C172.18.1.0/24 is directly connected, Loopback1
L172.18.1.1/32 is directly connected, Loopback1
172.19.0.0/32 is subnetted, 2 subnets
O IA172.19.0.1 [110/193] via 10.1.3.1, 00:19:51, Serial1/0
O IA172.19.1.1 [110/193] via 10.1.3.1, 00:19:51, Serial1/0
172.20.0.0/32 is subnetted, 2 subnets
O172.20.1.1 [110/65] via 10.1.4.2, 00:21:40, Serial1/1
O172.20.2.1 [110/65] via 10.1.4.2, 00:21:40, Serial1/1
O E2192.168.1.0/24 [110/100] via 10.1.3.1, 00:19:52, Serial1/0
O E2192.168.3.0/24 [110/100] via 10.1.3.1, 00:19:52, Serial1/0
O E2192.168.255.0/24 [110/100] via 10.1.3.1, 00:19:52, Serial1/0
R7#

R8
Gateway of last resort is 10.1.4.1 to network 0.0.0.0

O*IA0.0.0.0/0 [110/65] via 10.1.4.1, 00:22:28, Serial1/0
10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C10.1.4.0/24 is directly connected, Serial1/0
L10.1.4.2/32 is directly connected, Serial1/0
172.20.0.0/16 is variably subnetted, 4 subnets, 2 masks
C172.20.1.0/24 is directly connected, Loopback0
L172.20.1.1/32 is directly connected, Loopback0
C172.20.2.0/24 is directly connected, Loopback1
L172.20.2.1/32 is directly connected, Loopback1


完成。
重要命令:
encapsulation frame-relay//封装frame-relay
frame-relay map ip 172.17.1.3 204 broadcast//pvc中模拟使用广播形式对放的IP和本地的dlci
frame-relay route 402 interface Serial1/0 204//帧中继路由,本地的dlci出口 对方的dlci
area 1 stub在区域1内的所有路由器启用,配置这条命令
area 1 stub no-summary如上,no-summary 可以减少更多类型的LSA 3 4 5
area 4 nssanssa网络区域内有ASBR在不能配置stub类型下配置,减少LSA泛洪
area 4 nssa default-information-originate no-summary 如上
area 2 virtual-link 172.18.1.1虚拟链路,是指区域2上有虚拟链路 172.18.1.1 router-id 而不是ip
area 2 virtual-link 172.17.1.3链路上的路由器都要陪着 【ospf综合实验2|ospf综合实验2 2012/9/8】转载于:https://blog.51cto.com/liusancai/985002

    推荐阅读