Sunday, June 4, 2023

Dynamic Routing Dengan OSPF Menggunakan Multi Area

 


file : Gdrive

R0(config)#router ospf 1
R0(config-router)#network 192.168.200.16 0.0.0.15 area 0
R0(config-router)#network 172.2.1.4 0.0.0.3 area 0
R0(config-router)#network 172.2.1.8 0.0.0.3 area 0
R0(config-router)#end

R1(config)#router ospf 1
R1(config-router)#network 172.2.1.4 0.0.0.3 area 0
R1(config-router)#network 172.2.1.16 0.0.0.3 area 1
R1(config-router)#network 192.168.10.0 0.0.0.255 area 1
R1(config-router)#network 172.2.1.12 0.0.0.3 area 0
R1(config-router)#end

R2(config)#router ospf 1
R2(config-router)#network 172.2.1.16 0.0.0.3 area 1
R2(config-router)#network 192.168.20.0 0.0.0.255 area 1
R2(config-router)#end

R3(config)#router ospf 1
R3(config-router)#network 172.2.1.8 0.0.0.3 are
R3(config-router)#network 172.2.1.8 0.0.0.3 area 0
R3(config-router)#network 172.2.1.12 0.0.0.3 area 0
R3(config-router)#network 192.168.30.0 0.0.0.255 area 2
R3(config-router)#network 172.2.1.20 0.0.0.3 area 2
R3(config-router)#end

R4(config)#router ospf 1
R4(config-router)#network 172.2.1.20 0.0.0.3 area 2
R4(config-router)#network 192.168.40.0 0.0.0.255 area 2
R4(config-router)#end

R1#sh ip route 
     172.2.0.0/30 is subnetted, 5 subnets
C       172.2.1.4 is directly connected, Serial2/0
O       172.2.1.8 [110/128] via 172.2.1.5, 00:14:02, Serial2/0
C       172.2.1.12 is directly connected, FastEthernet0/0
C       172.2.1.16 is directly connected, Serial3/0
O IA    172.2.1.20 [110/192] via 172.2.1.5, 00:03:04, Serial2/0
C    192.168.10.0/24 is directly connected, FastEthernet1/0
O    192.168.20.0/24 [110/65] via 172.2.1.18, 00:07:52, Serial3/0
O IA 192.168.30.0/24 [110/129] via 172.2.1.5, 00:03:33, Serial2/0
O IA 192.168.40.0/24 [110/193] via 172.2.1.5, 00:00:46, Serial2/0
     192.168.200.0/28 is subnetted, 1 subnets
O       192.168.200.16 [110/65] via 172.2.1.5, 00:14:02, Serial2/0

R0#sh ip route 
     172.2.0.0/30 is subnetted, 5 subnets
C       172.2.1.4 is directly connected, Serial2/0
C       172.2.1.8 is directly connected, Serial3/0
O IA    172.2.1.12 [110/65] via 172.2.1.6, 00:11:41, Serial2/0
                   [110/65] via 172.2.1.10, 00:05:01, Serial3/0
O IA    172.2.1.16 [110/128] via 172.2.1.6, 00:13:31, Serial2/0
O IA    172.2.1.20 [110/128] via 172.2.1.10, 00:03:54, Serial3/0
O IA 192.168.10.0/24 [110/65] via 172.2.1.6, 00:12:54, Serial2/0
O IA 192.168.20.0/24 [110/129] via 172.2.1.6, 00:08:37, Serial2/0
O IA 192.168.30.0/24 [110/65] via 172.2.1.10, 00:04:23, Serial3/0
O IA 192.168.40.0/24 [110/129] via 172.2.1.10, 00:01:36, Serial3/0
     192.168.200.0/28 is subnetted, 1 subnets
C       192.168.200.16 is directly connected, FastEthernet4/0

No comments :

Post a Comment