baik sahabat configer kali ini saya akan sedikit sharing mengenai default route static route
kali ini kita akan coba filtering prefix list in untuk skema jaringannya seperti ini
Sekarang kita akan konfigurasi ip dan eigrp pada semua router :
Router 1
R1(config)#int lo0
R1(config-if)#ip add 1.1.1.1 255.255.255.255
R1(config)#int se1/0
R1(config-if)#ip add 12.12.12.1 255.255.255.0
R1(config-if)#no shutdown
R1(config)#router eigrp 10
R1(config-router)#net 0.0.0.0
R1(config-if)#ip add 1.1.1.1 255.255.255.255
R1(config)#int se1/0
R1(config-if)#ip add 12.12.12.1 255.255.255.0
R1(config-if)#no shutdown
R1(config)#router eigrp 10
R1(config-router)#net 0.0.0.0
Router 2
R2(config)#int lo0
R2(config-if)#ip add 2.2.2.2 255.255.255.255
R2(config-if)#exit
R2(config)#int se1/0
R2(config-if)#ip add 12.12.12.2 255.255.255.0
R2(config-if)#no sh
R2(config)#int f0/0
R2(config-if)#ip add 23.23.23.2 255.255.255.0
R2(config-if)#no sh
R2(config)#router eigrp 10
R2(config-router)#net 0.0.0.0
R2(config-if)#ip add 2.2.2.2 255.255.255.255
R2(config-if)#exit
R2(config)#int se1/0
R2(config-if)#ip add 12.12.12.2 255.255.255.0
R2(config-if)#no sh
R2(config)#int f0/0
R2(config-if)#ip add 23.23.23.2 255.255.255.0
R2(config-if)#no sh
R2(config)#router eigrp 10
R2(config-router)#net 0.0.0.0
Router3
R3(config-if)#int lo0
R3(config-if)#ip ad 3.3.3.3 255.255.255.255
R3(config-if)#int lo1
R3(config-if)#ip ad 3.3.3.17 255.255.255.240
R3(config-if)#int lo2
R3(config-if)#ip ad 3.3.3.33 255.255.255.248
R3(config-if)#int lo3
R3(config-if)#ip add 3.3.3.100 255.255.255.224
R3(config)#int lo4
R3(config-if)#ip add 3.3.3.150 255.255.255.252
R3(config-if)#int lo5
R3(config-if)#ip add 3.3.3.200 255.255.255.240
R3(config-if)#int f0/0
R3(config-if)#ip add 23.23.23.1 255.255.255.0
R3(config-if)#router eigrp 10
R3(config-if)#net 0.0.0.0
R3(config-if)#ip ad 3.3.3.3 255.255.255.255
R3(config-if)#int lo1
R3(config-if)#ip ad 3.3.3.17 255.255.255.240
R3(config-if)#int lo2
R3(config-if)#ip ad 3.3.3.33 255.255.255.248
R3(config-if)#int lo3
R3(config-if)#ip add 3.3.3.100 255.255.255.224
R3(config)#int lo4
R3(config-if)#ip add 3.3.3.150 255.255.255.252
R3(config-if)#int lo5
R3(config-if)#ip add 3.3.3.200 255.255.255.240
R3(config-if)#int f0/0
R3(config-if)#ip add 23.23.23.1 255.255.255.0
R3(config-if)#router eigrp 10
R3(config-if)#net 0.0.0.0
setelah selesai kita cek ip route dan test ping koneksinya
R1(config-router)#do sh ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
1.0.0.0/32 is subnetted, 1 subnets
C 1.1.1.1 is directly connected, Loopback0
2.0.0.0/32 is subnetted, 1 subnets
D 2.2.2.2 [90/2297856] via 12.12.12.2, 00:05:41, Serial1/0
3.0.0.0/8 is variably subnetted, 6 subnets, 5 masks
D 3.3.3.3/32 [90/2300416] via 12.12.12.2, 00:00:49, Serial1/0
D 3.3.3.16/28 [90/2300416] via 12.12.12.2, 00:00:49, Serial1/0
D 3.3.3.32/29 [90/2300416] via 12.12.12.2, 00:00:49, Serial1/0
D 3.3.3.96/27 [90/2300416] via 12.12.12.2, 00:00:49, Serial1/0
D 3.3.3.148/30 [90/2300416] via 12.12.12.2, 00:00:49, Serial1/0
D 3.3.3.192/28 [90/2300416] via 12.12.12.2, 00:00:49, Serial1/0
12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 12.12.12.0/24 is directly connected, Serial1/0
L 12.12.12.1/32 is directly connected, Serial1/0
23.0.0.0/24 is subnetted, 1 subnets
D 23.23.23.0 [90/2172416] via 12.12.12.2, 00:05:41, Serial1/0
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
1.0.0.0/32 is subnetted, 1 subnets
C 1.1.1.1 is directly connected, Loopback0
2.0.0.0/32 is subnetted, 1 subnets
D 2.2.2.2 [90/2297856] via 12.12.12.2, 00:05:41, Serial1/0
3.0.0.0/8 is variably subnetted, 6 subnets, 5 masks
D 3.3.3.3/32 [90/2300416] via 12.12.12.2, 00:00:49, Serial1/0
D 3.3.3.16/28 [90/2300416] via 12.12.12.2, 00:00:49, Serial1/0
D 3.3.3.32/29 [90/2300416] via 12.12.12.2, 00:00:49, Serial1/0
D 3.3.3.96/27 [90/2300416] via 12.12.12.2, 00:00:49, Serial1/0
D 3.3.3.148/30 [90/2300416] via 12.12.12.2, 00:00:49, Serial1/0
D 3.3.3.192/28 [90/2300416] via 12.12.12.2, 00:00:49, Serial1/0
12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 12.12.12.0/24 is directly connected, Serial1/0
L 12.12.12.1/32 is directly connected, Serial1/0
23.0.0.0/24 is subnetted, 1 subnets
D 23.23.23.0 [90/2172416] via 12.12.12.2, 00:05:41, Serial1/0
R1#ping 1.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
R1#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 100 percent (5/5), round-trip min/avg/max = 8/11/16 ms
R1#ping 3.3.3.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/32/40 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
R1#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 100 percent (5/5), round-trip min/avg/max = 8/11/16 ms
R1#ping 3.3.3.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/32/40 ms
konfigurasikan prefix-list filtering di R2
R2(config)#ip prefix-list EIGRP_IN seq 10 deny 3.3.3.0/24 le 28
R2(config)#ip prefix-list EIGRP_IN seq 20 permit 0.0.0.0/0 le 32
R2(config)#router eigrp 10
R2(config-router)#distribute-list prefix EIGRP_IN in
R2(config)#ip prefix-list EIGRP_IN seq 20 permit 0.0.0.0/0 le 32
R2(config)#router eigrp 10
R2(config-router)#distribute-list prefix EIGRP_IN in
maka semua network 3.3.3.x/24-/28 akan di deny
R2(config-router)#do sh ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
1.0.0.0/32 is subnetted, 1 subnets
D 1.1.1.1 [90/2297856] via 12.12.12.1, 00:13:29, Serial1/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, 3 subnets, 3 masks
D 3.3.3.3/32 [90/156160] via 23.23.23.1, 00:08:37, FastEthernet0/0
D 3.3.3.32/29 [90/156160] via 23.23.23.1, 00:08:37, FastEthernet0/0
D 3.3.3.148/30 [90/156160] via 23.23.23.1, 00:08:37, FastEthernet0/0
12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 12.12.12.0/24 is directly connected, Serial1/0
L 12.12.12.2/32 is directly connected, Serial1/0
23.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 23.23.23.0/24 is directly connected, FastEthernet0/0
L 23.23.23.2/32 is directly connected, FastEthernet0/0
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
1.0.0.0/32 is subnetted, 1 subnets
D 1.1.1.1 [90/2297856] via 12.12.12.1, 00:13:29, Serial1/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, 3 subnets, 3 masks
D 3.3.3.3/32 [90/156160] via 23.23.23.1, 00:08:37, FastEthernet0/0
D 3.3.3.32/29 [90/156160] via 23.23.23.1, 00:08:37, FastEthernet0/0
D 3.3.3.148/30 [90/156160] via 23.23.23.1, 00:08:37, FastEthernet0/0
12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 12.12.12.0/24 is directly connected, Serial1/0
L 12.12.12.2/32 is directly connected, Serial1/0
23.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 23.23.23.0/24 is directly connected, FastEthernet0/0
L 23.23.23.2/32 is directly connected, FastEthernet0/0
Alhamdulillah postingan kali ini telah selesai, jika artikel ini terasa bermanfaat silahkan bisa di share dengan menekan salah satu button dibawah ini.
Wassalamu'alaikum ...
0 Komentar
Penulisan markup di komentar