EIGRP Load Balancing

Bildiğimiz gibi EIGRP ile hem eşit olan hem de eşit olmayan yollarda Load Balancing yapılabilir. Topolojimiz üzerinde iki router arasında 3 adet bağlantı var ve bu bağlantılar sırasıyla 1544, 1544 ve 768 Kbit bant genişliklerine sahip. Metric hesabında kullanılacak değerler çalışma içerisinde değiştirilmemiştir yani Router default olan Bandwidth ve Delay değerlerini kullanacaktır.
Şunu hatırlamakta fayda var; bu topoloji sadece Load Balancing mantığını anlatmak amacıyla türetilmiştir. Fakat farklı topolojilerde de işler aynı şekilde yürüyecektir. Bu noktada hatırlamamız gereken en önemli nokta EIGRP Topology Table’ ında bulunmayan yollara Load Balancing yapılamaz...
Routerların başlangıçtaki konfigürasyonları aşağıdaki gibidir. Bu konfigürasyonlar doğrultusunda oluşan Routing Table’larda bant genişlikleri eşit olan yollara Load Balancing yapıldığı görülebilir.
Kod:
R1 Routerı
!
version 12.3
!
hostname R1
!
!
router eigrp 28
network 172.16.0.0
network 192.168.1.0
no auto-summary
!
Kod:
R2 Routerı
!
version 12.3
!
hostname R2
!
!
router eigrp 28
network 172.16.0.0
network 192.168.2.0
no auto-summary
!
Bundan sonraki incelemelerizi R1 Router’ı üzerinde devam edeceğiz. R1’ Neighbor, Topology ve Routing Table’ları aşağıdaki gibi oluşmuş durumda.
Kod:
R1#sh ip eigrp neighbors
IP-EIGRP neighbors for process 28
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
2 172.16.2.2 Se1/1 11 00:04:32 689 4134 0 27
1 172.16.1.2 Se1/0 13 00:04:32 213 1278 0 25
0 172.16.3.2 Se1/2 12 00:04:32 543 3258 0 26
Kod:
R1#sh ip eigrp topology
IP-EIGRP Topology Table for AS(28)/ID(192.168.1.1)
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
r - reply Status, s - sia Status
P 192.168.1.0/24, 1 successors, FD is 28160
via Connected, FastEthernet0/0
P 192.168.2.0/24, 2 successors, FD is 2172416
via 172.16.1.2 (2172416/28160), Serial1/0
via 172.16.2.2 (2172416/28160), Serial1/1
via 172.16.3.2 (3847680/28160), Serial1/2
P 172.16.1.0/24, 1 successors, FD is 2169856
via Connected, Serial1/0
P 172.16.2.0/24, 1 successors, FD is 2169856
via Connected, Serial1/1
P 172.16.3.0/24, 1 successors, FD is 3845120
via Connected, Serial1/2
Kod:
R1#sh ip route
Codes: 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
Gateway of last resort is not set
172.16.0.0/24 is subnetted, 3 subnets
C 172.16.1.0 is directly connected, Serial1/0
C 172.16.2.0 is directly connected, Serial1/1
C 172.16.3.0 is directly connected, Serial1/2
C 192.168.1.0/24 is directly connected, FastEthernet0/0
D 192.168.2.0/24 [90/2172416] via 172.16.2.2, 00:00:23, Serial1/1
[90/2172416] via 172.16.1.2, 00:00:23, Serial1/0
R1#
Dikkat edilirse Topology Table’da yer alan 3 yoldan metric değerleri eşit olan (2172416) yolar Routing Table’da ve Load Balancing yapılıyor. Metric değeri 3847680 olan üçüncü bir yol ise Topology Table’da. Burada variance komutunu kullanarak üçüncü yol üzerinden de trafiğin akmasını sağlamaya çalışacağız. Basit bir hesap yaparak kullanacağımız variance değerini şu şekilde belirleyebiliriz;
3847680 / 2172416 = 1.77 (Yani 2 kullanabiliriz)
R1 Router’ı üzerindeki konfigürasyona variance komutunu ekleyelim.
Kod:
R1(config)#router eigrp 28
R1(config-router)#variance 2
R1(config-router)#
Routing Table’ımız artık aşağıdaki şekilde olacaktır.
R1#sh ip route
Codes: 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
Gateway of last resort is not set
172.16.0.0/24 is subnetted, 3 subnets
C 172.16.1.0 is directly connected, Serial1/0
C 172.16.2.0 is directly connected, Serial1/1
C 172.16.3.0 is directly connected, Serial1/2
C 192.168.1.0/24 is directly connected, FastEthernet0/0
D 192.168.2.0/24 [90/3847680] via 172.16.3.2, 00:01:01, Serial1/2
[90/2172416] via 172.16.2.2, 00:01:01, Serial1/1
[90/2172416] via 172.16.1.2, 00:01:01, Serial1/0
R1#
Burada default olarak 4 yola kadar Load Balancing yapar ve bu istenirse 16 yola kadar çıkartılabilir.
Kod:
R1(config)#router eigrp 28
R1(config-router)#max
R1(config-router)#maximum-paths ?
<1-16> Number of paths
R1(config-router)#maximum-paths 6
R1(config-router)#
Kod:
R1#sh ip protocols
Routing Protocol is "eigrp 28"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Default networks flagged in outgoing updates
Default networks accepted from incoming updates
EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0
EIGRP maximum hopcount 100
EIGRP maximum metric variance 2
Redistributing: eigrp 28
EIGRP NSF-aware route hold timer is 240s
Automatic network summarization is not in effect
Maximum path: 6
Routing for Networks:
172.16.0.0
192.168.1.0
Routing Information Sources:
Gateway Distance Last Update
(this router) 90 00:15:39
172.16.2.2 90 00:00:06
172.16.3.2 90 00:00:06
172.16.1.2 90 00:00:06
Distance: internal 90 external 170
R1#
Kaynak:
Hayrullah Kolukısaoğlu
Bu Konuyu Paylaşın !