EIGRP - Equal Load Balancing
Pada lab ini kita akan belajar Equal Load Balancing, Equal artinya sama dan
cost artinya suatu nilai perhitungan metric untuk menuju ke network
tujuan, pada lab ini semua router memiliki cost yang sama baik itu R1, R2, R3
dan R4, dari R1 menuju ke R4 ada dua jalur, jalur pertama : R1 > R2 > R4
jalur kedua : R1 > R3 > R4, R1 akan menggunakan kedua jalur tersebut secar bersamaan
nah inilah yang dinamakan Load Balancing.
Konfigurasi di R1
IP Address
interface Loopback0
ip address 1.1.1.1 255.255.255.255
!
interface Ethernet0/0
ip address 12.12.12.1 255.255.255.0
!
interface Ethernet0/1
ip address 13.13.13.1 255.255.255.0
!
Routing EIGRP
router eigrp 10
network 0.0.0.0
!
Konfigurasi di R2
IP Address
interface Loopback0
ip address 4.4.4.4 255.255.255.255
!
interface Ethernet0/0
ip address 24.24.24.4 255.255.255.0
!
interface Ethernet0/1
ip address 34.34.34.4 255.255.255.0
!
Routing EIGRP
router eigrp 10
network 0.0.0.0
!
Konfigurasi di R3
IP Address
interface Loopback0
ip address 3.3.3.3 255.255.255.255
!
interface Ethernet0/0
ip address 13.13.13.3 255.255.255.0
!
interface Ethernet0/1
ip address 34.34.34.3 255.255.255.0
!
Routing EIGRP
router eigrp 10
network 0.0.0.0
!
Konfigurasi di R4
IP Address
interface Loopback0
ip address 4.4.4.4 255.255.255.255
!
interface Ethernet0/0
ip address 24.24.24.4 255.255.255.0
!
interface Ethernet0/1
ip address 34.34.34.4 255.255.255.0
!
Routing EIGRP
router eigrp 10
network 0.0.0.0
!
Verifikasi pada routing tabel di R1
R1#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
a - application route
+ - 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/409600] via 12.12.12.2, 00:01:08, Ethernet0/0
3.0.0.0/32 is subnetted, 1 subnets
D 3.3.3.3 [90/409600] via 13.13.13.3, 00:00:45, Ethernet0/1
4.0.0.0/32 is subnetted, 1 subnets
D 4.4.4.4 [90/435200] via 13.13.13.3, 00:00:21, Ethernet0/1
[90/435200] via 12.12.12.2, 00:00:21, 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.1/32 is directly connected, Ethernet0/0
13.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 13.13.13.0/24 is directly connected, Ethernet0/1
L 13.13.13.1/32 is directly connected, Ethernet0/1
24.0.0.0/24 is subnetted, 1 subnets
D 24.24.24.0 [90/307200] via 12.12.12.2, 00:00:21, Ethernet0/0
34.0.0.0/24 is subnetted, 1 subnets
D 34.34.34.0 [90/307200] via 13.13.13.3, 00:00:21, Ethernet0/1
R1#
Pada routing tabel di atas, terlihat bahwa untuk menuju IP Loopback 4.4.4.4
menggunakan dua jalur, 13.13.13.3 dan 12.12.12.2
Cek route untuk menuju ip loopback R4 dari R1
R1#sh ip route 4.4.4.4
Routing entry for 4.4.4.4/32
Known via "eigrp 10", distance 90, metric 435200, type internal
Redistributing via eigrp 10
Last update from 12.12.12.2 on Ethernet0/0, 00:00:37 ago
Routing Descriptor Blocks:
* 13.13.13.3, from 13.13.13.3, 00:00:37 ago, via Ethernet0/1
Route metric is 435200, traffic share count is 1
Total delay is 7000 microseconds, minimum bandwidth is 10000 Kbit
Reliability 255/255, minimum MTU 1500 bytes
Loading 1/255, Hops 2
12.12.12.2, from 12.12.12.2, 00:00:37 ago, via Ethernet0/0
Route metric is 435200, traffic share count is 1
Total delay is 7000 microseconds, minimum bandwidth is 10000 Kbit
Reliability 255/255, minimum MTU 1500 bytes
Loading 1/255, Hops 2
Yap pada verifikasi route untuk menuju IP Loopback 4.4.4.4 menggunakan 2 jalur
13.13.13.3 digunakan untuk jalur utama, dan 12.12.12.2 digunakan untuk jalur
kedua.
Trace dari R1 ke R4 untuk mengecek load balancing
R1#trace 4.4.4.4
Type escape sequence to abort.
Tracing the route to 4.4.4.4
VRF info: (vrf in name/id, vrf out name/id)
1 12.12.12.2 4 msec
13.13.13.3 5 msec
12.12.12.2 4 msec
2 34.34.34.4 0 msec
24.24.24.4 0 msec
34.34.34.4 5 msec
Mantab kedua jalur dapat digunakan secara bersamaan / Load Balancing
Selesei
EIGRP - Unequal Load Balancing
Pada lab ini kita akan belajar Unequal Load Balancing, yang artinya kalau di lab
sebelumnya semua Router mempunyai nilai metric yang sama sehingga dapat load
balancing otomatis, namun pada lab ini semua router mempunyai nilai metric yang
berbeda sehingga tidak bisa load balancing secara otomatis.
Topologi serta IP Address dan routing EIGRP masih sama dengan lab sebelumnya
kita setting nilai bandwithnya di Interface R1 yang menuju ke R2, hal ini
berguna untuk merubah nilai metricnya.
Cek berapa metric kedua jalur di R1
R1#sh ip eigrp top 4.4.4.4
EIGRP-IPv4 Topology Entry for AS(10)/ID(1.1.1.1)
%Entry 4.4.4.4/8 not in topology table
R1#sh ip eigrp top 4.4.4.4/32
EIGRP-IPv4 Topology Entry for AS(10)/ID(1.1.1.1) for 4.4.4.4/32
State is Passive, Query origin flag is 1, 2 Successor(s), FD is 435200
Descriptor Blocks:
12.12.12.2 (Ethernet0/0), from 12.12.12.2, Send flag is 0x0
Composite metric is (435200/409600), route is Internal
Vector metric:
Minimum bandwidth is 10000 Kbit
Total delay is 7000 microseconds
Reliability is 255/255
Load is 1/255
Minimum MTU is 1500
Hop count is 2
Originating router is 4.4.4.4
13.13.13.3 (Ethernet0/1), from 13.13.13.3, Send flag is 0x0
Composite metric is (435200/409600), route is Internal
Vector metric:
Minimum bandwidth is 10000 Kbit
Total delay is 7000 microseconds
Reliability is 255/255
Load is 1/255
Minimum MTU is 1500
Hop count is 2
Originating router is 4.4.4.4
Metric kedua jalur nilainya sama yaitu 435200
Konfigurasi Bandwidht di Interface R1 yang menuju ke R2
R1(config)#int e0/0
R1(config-if)#bandwidth 1000
R1(config-if)#exit
Cek sekarang eigrp topologi untuk menuju R4
R1#sh ip eigrp top 4.4.4.4/32
EIGRP-IPv4 Topology Entry for AS(10)/ID(1.1.1.1) for 4.4.4.4/32
State is Passive, Query origin flag is 1, 1 Successor(s), FD is 435200
Descriptor Blocks:
13.13.13.3 (Ethernet0/1), from 13.13.13.3, Send flag is 0x0
Composite metric is (435200/409600), route is Internal
Vector metric:
Minimum bandwidth is 10000 Kbit
Total delay is 7000 microseconds
Reliability is 255/255
Load is 1/255
Minimum MTU is 1500
Hop count is 2
Originating router is 4.4.4.4
12.12.12.2 (Ethernet0/0), from 12.12.12.2, Send flag is 0x0
Composite metric is (2739200/409600), route is Internal
Vector metric:
Minimum bandwidth is 1000 Kbit
Total delay is 7000 microseconds
Reliability is 255/255
Load is 1/255
Minimum MTU is 1500
Hop count is 2
Originating router is 4.4.4.4
Terlihat bahwa nilai metric kedua interface berbeda
kita lihat apakah ia bisa load balancing atau tidak ?
R1#sh ip route 4.4.4.4
Routing entry for 4.4.4.4/32
Known via "eigrp 10", distance 90, metric 435200, type internal
Redistributing via eigrp 10
Last update from 13.13.13.3 on Ethernet0/1, 00:02:38 ago
Routing Descriptor Blocks:
* 13.13.13.3, from 13.13.13.3, 00:02:38 ago, via Ethernet0/1
Route metric is 435200, traffic share count is 1
Total delay is 7000 microseconds, minimum bandwidth is 10000 Kbit
Reliability 255/255, minimum MTU 1500 bytes
Loading 1/255, Hops 2
R1#
R1#trace 4.4.4.4
Type escape sequence to abort.
Tracing the route to 4.4.4.4
VRF info: (vrf in name/id, vrf out name/id)
1 13.13.13.3 6 msec 1 msec 2 msec
2 34.34.34.4 7 msec 2 msec 1 msec
R1#
Ternyata tidak bisa load balancing secara otomatis, R1 hanya memilih
melewati R3 untuk menuju R4. Oleh karena itu agar kedua jalur bisa digunakan
maka kita harus mencari nilai variance
rumus untuk mencari nilai variance yaitu nilai metric terbesar jalur 2 / nilai
metric terkecil jalur 1
nilai metric jalur 2/jalur 1 (2739200/435200 = 6.29) 6.29 dibulatkan menjadi 7
Maka nilai variance yang di set adalah 7
Konfigurasi Nilai Varience di R1
R1(config)#router eigrp 10
R1(config-router)#variance 7
R1(config-router)#
Verifikasi Route menuju R4
R1#sh ip route 4.4.4.4
Routing entry for 4.4.4.4/32
Known via "eigrp 10", distance 90, metric 435200, type internal
Redistributing via eigrp 10
Last update from 12.12.12.2 on Ethernet0/0, 00:01:00 ago
Routing Descriptor Blocks:
* 13.13.13.3, from 13.13.13.3, 00:01:00 ago, via Ethernet0/1
Route metric is 435200, traffic share count is 120
Total delay is 7000 microseconds, minimum bandwidth is 10000 Kbit
Reliability 255/255, minimum MTU 1500 bytes
Loading 1/255, Hops 2
12.12.12.2, from 12.12.12.2, 00:01:00 ago, via Ethernet0/0
Route metric is 2739200, traffic share count is 19
Total delay is 7000 microseconds, minimum bandwidth is 1000 Kbit
Reliability 255/255, minimum MTU 1500 bytes
Loading 1/255, Hops 2
Mantab mas broo, seperti yang terlihat sekarang 2 jalur digunakan secara
bersamaan namun dengan pembagian setiap 7 paket dikirimkan melalui link
utama, maka berikutnya 1 paket dikirimkan ke link kedua
Selesai
Salam Ngoprek