Hub&Spoke NBMA跑OSPF实验报告
网络拓扑图:
前提条件:Spoke端不能互访1、手动指neighbor(HUB端指向Spoke端)2、手工指定DR (建议指定HUB端为DR、做法调高HUB端的priority.把Spoke端的优先级设置为0、表示不参与DR的选举)3、手工写MAP R1:interface Serial0/0
ip address 145.1.1.1 255.255.255.0
encapsulation frame-relay
ip ospf priority 2 //优先级调高,确保HUB端为DR。
serial restart-delay 0
endinterface Loopback0
ip address 1.1.1.1 255.255.255.0
!
interface Loopback100
ip address 100.1.1.1 255.255.255.0
!
interface Loopback200
ip address 200.1.1.1 255.255.255.0
!
interface Loopback201
ip address 201.1.1.1 255.255.255.0
!
interface Loopback202
ip address 202.1.1.1 255.255.255.0
!
路由表: 1.0.0.0/24 is subnetted, 1 subnets
C 1.1.1.0 is directly connected, Loopback0
100.0.0.0/24 is subnetted, 1 subnets
C 100.1.1.0 is directly connected, Loopback100
4.0.0.0/32 is subnetted, 1 subnets
O 4.4.4.4 via 145.1.1.4, 00:23:25, Serial0/0
C 201.1.1.0/24 is directly connected, Loopback201
5.0.0.0/32 is subnetted, 1 subnets
O 5.5.5.5 via 145.1.1.5, 00:23:25, Serial0/0
C 200.1.1.0/24 is directly connected, Loopback200
C 202.1.1.0/24 is directly connected, Loopback202
145.1.0.0/24 is subnetted, 1 subnets
C 145.1.1.0 is directly connected, Serial0/0
===========================================================================
R4:
interface Serial0/1
ip address 145.1.1.4 255.255.255.0
encapsulation frame-relay
ip ospf priority 0 //优先级设为0,表示不参加DR的选举
frame-relay map ip 145.1.1.5 401 broadcast//手工指去往R5的MAP
serial restart-delay 0
end路由表: 1.0.0.0/32 is subnetted, 1 subnets
O 1.1.1.1 via 145.1.1.1, 00:22:56, Serial0/1
100.0.0.0/32 is subnetted, 1 subnets
O 100.1.1.1 via 145.1.1.1, 00:22:56, Serial0/1
4.0.0.0/24 is subnetted, 1 subnets
C 4.4.4.0 is directly connected, Loopback0
201.1.1.0/32 is subnetted, 1 subnets
O 201.1.1.1 via 145.1.1.1, 00:22:56, Serial0/1
5.0.0.0/32 is subnetted, 1 subnets
O 5.5.5.5 via 145.1.1.5, 00:22:56, Serial0/1
200.1.1.0/32 is subnetted, 1 subnets
O 200.1.1.1 via 145.1.1.1, 00:22:56, Serial0/1
202.1.1.0/32 is subnetted, 1 subnets
O 202.1.1.1 via 145.1.1.1, 00:22:57, Serial0/1
145.1.0.0/24 is subnetted, 1 subnets
C 145.1.1.0 is directly connected, Serial0/1
===========================================================================
R5:interface Serial0/1
ip address 145.1.1.5 255.255.255.0
encapsulation frame-relay
ip ospf priority 0
frame-relay map ip 145.1.1.5 401 broadcast //手工指去往R4的MAP
serial restart-delay 0
end
页:
[1]