kita hapus terlebih dahulu konfigurasi pada lab sebelumnya :
R2(config)#router ospf 2
R2(config-router)#no distribute-list 1 in
lanjut cek table routing apakah sudah normal :R2(config-router)#no distribute-list 1 in
R2(config)#do sh ip route
1.0.0.0/32 is subnetted, 1 subnets
O 1.1.1.1 [110/11] via 12.12.12.1, 00:00:05, Ethernet0/0
2.0.0.0/32 is subnetted, 1 subnets
C 2.2.2.2 is directly connected, Loopback0
3.0.0.0/32 is subnetted, 1 subnets
O 3.3.3.3 [110/11] via 23.23.23.3, 00:00:05, Ethernet0/1
10.0.0.0/32 is subnetted, 6 subnets
O IA 10.10.10.1 [110/11] via 12.12.12.1, 00:00:05, Ethernet0/0
O IA 10.10.10.2 [110/11] via 12.12.12.1, 00:00:05, Ethernet0/0
O IA 10.10.10.3 [110/11] via 12.12.12.1, 00:00:05, Ethernet0/0
O IA 10.10.10.4 [110/11] via 12.12.12.1, 00:00:05, Ethernet0/0
O IA 10.10.10.5 [110/11] via 12.12.12.1, 00:00:05, Ethernet0/0
O IA 10.10.10.6 [110/11] via 12.12.12.1, 00:00:05, Ethernet0/0
12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 12.12.12.0/24 is directly connected, Ethernet0/0
L 12.12.12.2/32 is directly connected, Ethernet0/0
23.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 23.23.23.0/24 is directly connected, Ethernet0/1
L 23.23.23.2/32 is directly connected, Ethernet0/1
Konfigurasikan filtering dengan AD1.0.0.0/32 is subnetted, 1 subnets
O 1.1.1.1 [110/11] via 12.12.12.1, 00:00:05, Ethernet0/0
2.0.0.0/32 is subnetted, 1 subnets
C 2.2.2.2 is directly connected, Loopback0
3.0.0.0/32 is subnetted, 1 subnets
O 3.3.3.3 [110/11] via 23.23.23.3, 00:00:05, Ethernet0/1
10.0.0.0/32 is subnetted, 6 subnets
O IA 10.10.10.1 [110/11] via 12.12.12.1, 00:00:05, Ethernet0/0
O IA 10.10.10.2 [110/11] via 12.12.12.1, 00:00:05, Ethernet0/0
O IA 10.10.10.3 [110/11] via 12.12.12.1, 00:00:05, Ethernet0/0
O IA 10.10.10.4 [110/11] via 12.12.12.1, 00:00:05, Ethernet0/0
O IA 10.10.10.5 [110/11] via 12.12.12.1, 00:00:05, Ethernet0/0
O IA 10.10.10.6 [110/11] via 12.12.12.1, 00:00:05, Ethernet0/0
12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 12.12.12.0/24 is directly connected, Ethernet0/0
L 12.12.12.2/32 is directly connected, Ethernet0/0
23.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 23.23.23.0/24 is directly connected, Ethernet0/1
L 23.23.23.2/32 is directly connected, Ethernet0/1
R2(config)#access-list 2 permit 10.10.10.4
R2(config)#router ospf 2
R2(config-router)#distance 255 0.0.0.0 255.255.255.255 2
Cek table routing dan pastikan ip 10.10.10.4 tidak ada pada routing table nya R2(config)#router ospf 2
R2(config-router)#distance 255 0.0.0.0 255.255.255.255 2
R2(config-router)#do sh ip route
1.0.0.0/32 is subnetted, 1 subnets
O 1.1.1.1 [110/11] via 12.12.12.1, 00:00:16, Ethernet0/0
2.0.0.0/32 is subnetted, 1 subnets
C 2.2.2.2 is directly connected, Loopback0
3.0.0.0/32 is subnetted, 1 subnets
O 3.3.3.3 [110/11] via 23.23.23.3, 00:00:16, Ethernet0/1
10.0.0.0/32 is subnetted, 5 subnets
O IA 10.10.10.1 [110/11] via 12.12.12.1, 00:00:16, Ethernet0/0
O IA 10.10.10.2 [110/11] via 12.12.12.1, 00:00:16, Ethernet0/0
O IA 10.10.10.3 [110/11] via 12.12.12.1, 00:00:16, Ethernet0/0
O IA 10.10.10.5 [110/11] via 12.12.12.1, 00:00:16, Ethernet0/0
O IA 10.10.10.6 [110/11] via 12.12.12.1, 00:00:16, Ethernet0/0
12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 12.12.12.0/24 is directly connected, Ethernet0/0
L 12.12.12.2/32 is directly connected, Ethernet0/0
23.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 23.23.23.0/24 is directly connected, Ethernet0/1
L 23.23.23.2/32 is directly connected, Ethernet0/1
ip 10.10.10.4 sudah tidak ada.
1.0.0.0/32 is subnetted, 1 subnets
O 1.1.1.1 [110/11] via 12.12.12.1, 00:00:16, Ethernet0/0
2.0.0.0/32 is subnetted, 1 subnets
C 2.2.2.2 is directly connected, Loopback0
3.0.0.0/32 is subnetted, 1 subnets
O 3.3.3.3 [110/11] via 23.23.23.3, 00:00:16, Ethernet0/1
10.0.0.0/32 is subnetted, 5 subnets
O IA 10.10.10.1 [110/11] via 12.12.12.1, 00:00:16, Ethernet0/0
O IA 10.10.10.2 [110/11] via 12.12.12.1, 00:00:16, Ethernet0/0
O IA 10.10.10.3 [110/11] via 12.12.12.1, 00:00:16, Ethernet0/0
O IA 10.10.10.5 [110/11] via 12.12.12.1, 00:00:16, Ethernet0/0
O IA 10.10.10.6 [110/11] via 12.12.12.1, 00:00:16, Ethernet0/0
12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 12.12.12.0/24 is directly connected, Ethernet0/0
L 12.12.12.2/32 is directly connected, Ethernet0/0
23.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 23.23.23.0/24 is directly connected, Ethernet0/1
L 23.23.23.2/32 is directly connected, Ethernet0/1
0 Komentar
Penulisan markup di komentar