Lab 12. OSPF - Filtering Prefix List

Juni 04, 2017

Kali ini kita akan mencoba filtering dengan menggunakan prefix list, pertama kita cek terlebih dahulu table routing nya :
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.3 [110/11] via 12.12.12.1, 00:00:16, Ethernet0/0
O IA 10.10.10.4 [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
Konfigurasikakn prefix list nya
R2(config)#ip prefix-list PKLIDN seq 10 deny 10.10.10.4/32 IDN-R2(config)#ip prefix-list IDN seq 20 permit 0.0.0.0/0 le 32
R2(config)#router ospf 2
R2(config-router)#distribute-list prefix PKLIDN in
Kita cek routing table nya di R2 pastikan ip 10.10.10.4/32 sudah tidak ada
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:11, 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:11, Ethernet0/1
10.0.0.0/32 is subnetted, 4 subnets
O IA 10.10.10.1 [110/11] via 12.12.12.1, 00:00:11, Ethernet0/0
O IA 10.10.10.3 [110/11] via 12.12.12.1, 00:00:11, Ethernet0/0
O IA 10.10.10.5 [110/11] via 12.12.12.1, 00:00:11, Ethernet0/0
O IA 10.10.10.6 [110/11] via 12.12.12.1, 00:00:11, 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

Share this :

Previous
Next Post »
0 Komentar

Penulisan markup di komentar
  • Silakan tinggalkan komentar sesuai topik. Komentar yang menyertakan link aktif, iklan, atau sejenisnya akan dihapus.
  • Untuk menyisipkan kode gunakan <i rel="code"> kode yang akan disisipkan </i>
  • Untuk menyisipkan kode panjang gunakan <i rel="pre"> kode yang akan disisipkan </i>
  • Untuk menyisipkan quote gunakan <i rel="quote"> catatan anda </i>
  • Untuk menyisipkan gambar gunakan <i rel="image"> URL gambar </i>
  • Untuk menyisipkan video gunakan [iframe] URL embed video [/iframe]
  • Kemudian parse kode tersebut pada kotak di bawah ini
  • © 2015 Simple SEO ✔