Lab 6. EIGRP – Filtering – AD

Lab 6. EIGRP – Filtering – AD
Cara filtering lain adalah dengan merubah nilai AD suatu route menjadi 255 (unreachable). Misalnya kita menginginkan agar IP Loopback R3 tidak lagi dimunculkan dalam routing table R2 dan R1, yaitu dengan diset nilai administrative distancenya menjadi 255.

Hapus konfigurasi Filtering sebelummya pada R2.

Router-2(config)#no access-list 1 permit 0.0.0.1 255.255.255.254

Router-2(config)#router eigrp 10

Router-2(config-router)#no distribute-list 1 in FastEthernet 0/0

Dan ini adalah table route awal sebelum filtering :

Router-2(config)#do sh ip route
     1.0.0.0/32 is subnetted, 1 subnets
D       1.1.1.1 [90/130816] via 12.12.12.1, 01:17:02, GigabitEthernet1/0
     2.0.0.0/32 is subnetted, 1 subnets
C       2.2.2.2 is directly connected, Loopback0
     3.0.0.0/8 is variably subnetted, 6 subnets, 5 masks
D       3.3.3.3/32 [90/156160] via 23.23.23.3, 01:17:02, FastEthernet0/0
D       3.3.3.16/28 [90/156160] via 23.23.23.3, 00:09:09, FastEthernet0/0
D       3.3.3.32/29 [90/156160] via 23.23.23.3, 00:09:09, FastEthernet0/0
D       3.3.3.96/27 [90/156160] via 23.23.23.3, 00:09:09, FastEthernet0/0
D       3.3.3.148/30 [90/156160] via 23.23.23.3, 00:09:09, FastEthernet0/0
D       3.3.3.192/28 [90/156160] via 23.23.23.3, 00:09:09, FastEthernet0/0
     23.0.0.0/24 is subnetted, 1 subnets
C       23.23.23.0 is directly connected, FastEthernet0/0
     12.0.0.0/24 is subnetted, 1 subnets

C       12.12.12.0 is directly connected, GigabitEthernet1/0


Lalu kita konfigurasikan nilai AD yang paling besar yakni 255 pada network 3.3.3.0.


Router-2(config)#access-list 1 permit 3.3.3.0 0.0.0.255
Router-2(config)#

Router-2(config)#router eigrp 10

Router-2(config-router)#distance 255 0.0.0.0 255.255.255.255 1

Perintah “3.3.3.0 0.0.0.255” artinya dari IP Address 3.3.3.0 – 3.3.3.255 akan dirubah nilai AD nya menjadi 255 (unreachable).

Cek lagi pada R2.

Router-2#sh ip route

     23.0.0.0/24 is subnetted, 1 subnets
C       23.23.23.0 is directly connected, FastEthernet0/0
     12.0.0.0/24 is subnetted, 1 subnets

C       12.12.12.0 is directly connected, GigabitEthernet1/0

Pada table route kali ini ip loopback R1 (1.1.1.1) sudah tidak terdapat lagi dalam routing tabel Router R3.

Router-2#sh ip route 2.2.2.2

% Network not in table

Roruter-2#ping 2.2.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
.....

Success rate is 0 percent (0/5)

Komentar

Postingan populer dari blog ini

LAB 11. BGP Dual Homing – ISP sama