OSPF – Hub and spoke Topology
Dans une architecture « Hub and spoke » Frame relay, les interfaces peuvent être configurées dans 4 modes de communication OSPF :
R1(config)#int s0/0 R1(config-if)#ip ospf network ? broadcast Specify OSPF broadcast multi-access network non-broadcast Specify OSPF NBMA network point-to-multipoint Specify OSPF point-to-multipoint network point-to-point Specify OSPF point-to-point network
Configuration de tous les routeurs en mode « point-to-mulitipoint »
R1#configure t
R1(config)#int s0/0
R1(config-if)#ip ospf network point-to-multipoint
Vérifications
R1#show ip ospf interface s0/0 Serial0/0 is up, line protocol is up Internet Address 10.1.1.1/24, Area 0 Process ID 1, Router ID 1.1.1.1, Network Type POINT_TO_MULTIPOINT, Cost: 64 Transmit Delay is 1 sec, State POINT_TO_MULTIPOINT, Timer intervals configured, Hello 5, Dead 20, Wait 20, Retransmit 5 oob-resync timeout 40 Hello due in 00:00:03 Supports Link-local Signaling (LLS) Index 2/2, flood queue length 0 Next 0x0(0)/0x0(0) Last flood scan length is 2, maximum is 2 Last flood scan time is 0 msec, maximum is 4 msec Neighbor Count is 3, Adjacent neighbor count is 3 Adjacent with neighbor 4.4.4.4 Adjacent with neighbor 3.3.3.3 Adjacent with neighbor 2.2.2.2 Suppress hello for 0 neighbor(s)
Dans cette configuration, le routage des routeurs « spoke » converge vers le routeur « hub » , une route host (/32) est également ajoutée :
R1#show ip route ospf O 2.0.0.0/8 [110/65] via 10.1.1.2, 00:01:47, Serial0/0 O 3.0.0.0/8 [110/65] via 10.1.1.3, 00:01:47, Serial0/0 O 4.0.0.0/8 [110/65] via 10.1.1.4, 00:01:47, Serial0/0 10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks O 10.1.1.2/32 [110/64] via 10.1.1.2, 00:01:47, Serial0/0 O 10.1.1.3/32 [110/64] via 10.1.1.3, 00:01:47, Serial0/0 O 10.1.1.4/32 [110/64] via 10.1.1.4, 00:01:47, Serial0/0 R2#show ip route ospf O 1.0.0.0/8 [110/65] via 10.1.1.1, 00:02:15, Serial0/0 O 3.0.0.0/8 [110/129] via 10.1.1.1, 00:02:15, Serial0/0 O 4.0.0.0/8 [110/129] via 10.1.1.1, 00:02:15, Serial0/0 10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks O 10.1.1.3/32 [110/128] via 10.1.1.1, 00:02:15, Serial0/0 O 10.1.1.1/32 [110/64] via 10.1.1.1, 00:02:15, Serial0/0 O 10.1.1.4/32 [110/128] via 10.1.1.1, 00:02:15, Serial0/0 R3#show ip route ospf O 1.0.0.0/8 [110/782] via 10.1.1.1, 00:02:32, Serial1/0 O 2.0.0.0/8 [110/846] via 10.1.1.1, 00:02:32, Serial1/0 O 4.0.0.0/8 [110/846] via 10.1.1.1, 00:02:32, Serial1/0 10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks O 10.1.1.2/32 [110/845] via 10.1.1.1, 00:02:32, Serial1/0 O 10.1.1.1/32 [110/781] via 10.1.1.1, 00:02:32, Serial1/0 O 10.1.1.4/32 [110/845] via 10.1.1.1, 00:02:32, Serial1/0 R4#show ip route ospf O 1.0.0.0/8 [110/65] via 10.1.1.1, 00:02:50, Serial0/0 O 2.0.0.0/8 [110/129] via 10.1.1.1, 00:02:50, Serial0/0 O 3.0.0.0/8 [110/129] via 10.1.1.1, 00:02:50, Serial0/0 10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks O 10.1.1.2/32 [110/128] via 10.1.1.1, 00:02:50, Serial0/0 O 10.1.1.3/32 [110/128] via 10.1.1.1, 00:02:50, Serial0/0 O 10.1.1.1/32 [110/64] via 10.1.1.1, 00:02:50, Serial0/0