본문 바로가기
네트워크 (LAN,WAN)

EIGRP equal/unequal [metric/cost] paths load balancing

by 날으는물고기 2010. 7. 2.

EIGRP equal/unequal [metric/cost] paths load balancing

default[k1=1, k2=0, k3=1, k4=0, k5=0]

from Source R0 to destination R4 loopback 0 100.100.100.100

All serial segments Bandwidth, Delay are the same.

Equal path load balancing.


hostname R0
interface Serial0/0
 ip address 10.0.1.1 255.255.255.252
interface Serial0/1
 ip address 10.0.2.1 255.255.255.252
interface Serial0/2
 ip address 10.0.3.1 255.255.255.252
router eigrp 1
 network 10.0.1.1 0.0.0.0
 network 10.0.2.1 0.0.0.0
 network 10.0.3.1 0.0.0.0

 

hostname R1
interface Serial0/0
 ip address 10.1.1.1 255.255.255.252
interface Serial0/1
 ip address 10.0.1.2 255.255.255.252
router eigrp 1
 network 10.0.1.2 0.0.0.0
 network 10.1.1.1 0.0.0.0

 

hostname R2
interface Serial0/0
 ip address 10.1.2.1 255.255.255.252
interface Serial0/1
 ip address 10.0.2.2 255.255.255.252
router eigrp 1
 network 10.0.2.2 0.0.0.0
 network 10.1.2.1 0.0.0.0

 

hostname R3
interface Serial0/0
 ip address 10.1.3.1 255.255.255.252
interface Serial0/1
 ip address 10.0.3.2 255.255.255.252
router eigrp 1
 network 10.0.3.2 0.0.0.0
 network 10.1.3.1 0.0.0.0

 

hostname R4
interface Loopback0
 ip address 100.100.100.100 255.255.255.255
interface Serial0/0
 ip address 10.1.1.2 255.255.255.252
interface Serial0/1
 ip address 10.1.2.2 255.255.255.252
interface Serial0/2
 ip address 10.1.3.2 255.255.255.252
router eigrp 1
 network 10.1.1.2 0.0.0.0
 network 10.1.2.2 0.0.0.0
 network 10.1.3.2 0.0.0.0
 network 100.100.100.100 0.0.0.0

 

R0#show ip route [FD=(rounddown(10^7/the lowest bandwidth)+sum_dalay/10)*256=2401792]
D    100.0.0.0/8 [90/2401792] via 10.0.2.2, 00:05:29, Serial0/1
                 [90/2401792] via 10.0.1.2, 00:05:29, Serial0/0
                 [90/2401792] via 10.0.3.2, 00:05:29, Serial0/2
     10.0.0.0/30 is subnetted, 6 subnets
D       10.1.3.0 [90/2273792] via 10.0.3.2, 00:05:29, Serial0/2
C       10.0.2.0 is directly connected, Serial0/1
D       10.1.2.0 [90/2273792] via 10.0.2.2, 00:05:29, Serial0/1
C       10.0.3.0 is directly connected, Serial0/2
D       10.1.1.0 [90/2273792] via 10.0.1.2, 00:05:29, Serial0/0
C       10.0.1.0 is directly connected, Serial0/0

 

from R0 to R1, R2, R3 successor same metric(cost) [FD,AD] -- > equal load balancing

 

R0#traceroute 100.100.100.100

Type escape sequence to abort.
Tracing the route to 100.100.100.100

  1 10.0.2.2 20 msec
    10.0.3.2 44 msec
    10.0.1.2 72 msec
  2 10.1.2.2 124 msec
    10.1.3.2 88 msec
    10.1.1.2 60 msec


R0#show ip eigrp topology all-links
IP-EIGRP Topology Table for AS(1)/ID(10.0.3.1)

P 10.1.3.0/30, 1 successors, FD is 2273792, serno 5
         via 10.0.3.2 (2273792/1761792), Serial0/2
         via 10.0.2.2 (2785792/2273792), Serial0/1
         via 10.0.1.2 (2785792/2273792), Serial0/0
P 10.0.2.0/30, 1 successors, FD is 1761792, serno 2
         via Connected, Serial0/1
P 10.1.2.0/30, 1 successors, FD is 2273792, serno 8
         via 10.0.2.2 (2273792/1761792), Serial0/1
         via 10.0.3.2 (2785792/2273792), Serial0/2
         via 10.0.1.2 (2785792/2273792), Serial0/0
P 10.0.3.0/30, 1 successors, FD is 1761792, serno 3
         via Connected, Serial0/2
P 10.1.1.0/30, 1 successors, FD is 2273792, serno 4
         via 10.0.1.2 (2273792/1761792), Serial0/0
         via 10.0.3.2 (2785792/2273792), Serial0/2
         via 10.0.2.2 (2785792/2273792), Serial0/1
P 10.0.1.0/30, 1 successors, FD is 1761792, serno 1
         via Connected, Serial0/0
P 100.0.0.0/8, 3 successors, FD is 2401792, serno 10
         via 10.0.3.2 (2401792/1889792), Serial0/2   <-- successor
         via 10.0.1.2 (2401792/1889792), Serial0/0   <-- successor
         via 10.0.2.2 (2401792/1889792), Serial0/1   <-- successor up to 4 successors by default

                                                                          up to 6 manually [maximum-paths]

R0#show ip protocols        
Routing Protocol is "eigrp 1"
  Outgoing update filter list for all interfaces is
  Incoming update filter list for all interfaces is
  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 1
  Redistributing: eigrp 1
  Automatic network summarization is in effect
  Routing for Networks:
    10.0.1.1/32
    10.0.2.1/32
    10.0.3.1/32
  Routing Information Sources:
    Gateway         Distance      Last Update
    10.0.1.2              90      00:00:47
    10.0.2.2              90      00:00:47
    10.0.3.2              90      00:00:47
  Distance: internal 90 external 170

 

All serial segments Bandwidth, Delay are not the same.

Unequal load balancing path

 

hostname R0
interface Serial0/0
 bandwidth 10000000
 ip address 10.0.1.1 255.255.255.252
 delay 10
interface Serial0/1
 bandwidth 10000000
 ip address 10.0.2.1 255.255.255.252
 delay 15
interface Serial0/2
 bandwidth 10000000
 ip address 10.0.3.1 255.255.255.252
 delay 30
router eigrp 1
 network 10.0.1.1 0.0.0.0
 network 10.0.2.1 0.0.0.0
 network 10.0.3.1 0.0.0.0

 

hostname R1
interface Serial0/0
 bandwidth 10000000
 ip address 10.1.1.1 255.255.255.252
 delay 10
interface Serial0/1
 bandwidth 10000000
 ip address 10.0.1.2 255.255.255.252
 delay 10
router eigrp 1
 network 10.0.1.2 0.0.0.0
 network 10.1.1.1 0.0.0.0

 

hostname R2
interface Serial0/0
 bandwidth 10000000
 ip address 10.1.2.1 255.255.255.252
 delay 15
interface Serial0/1
 bandwidth 10000000
 ip address 10.0.2.2 255.255.255.252
 delay 15
router eigrp 1
 network 10.0.2.2 0.0.0.0
 network 10.1.2.1 0.0.0.0

 

hostname R3
interface Serial0/0
 bandwidth 10000000
 ip address 10.1.3.1 255.255.255.252
 delay 30
interface Serial0/1
 bandwidth 10000000
 ip address 10.0.3.2 255.255.255.252
 delay 30
router eigrp 1
 network 10.0.3.2 0.0.0.0
 network 10.1.3.1 0.0.0.0

 

hostname R4
interface Loopback0
 bandwidth 10000000
 ip address 100.100.100.100 255.255.255.255
 delay 20
interface Serial0/0
 bandwidth 10000000
 ip address 10.1.1.2 255.255.255.252
 delay 10
interface Serial0/1
 bandwidth 10000000
 ip address 10.1.2.2 255.255.255.252
 delay 15
interface Serial0/2
 bandwidth 10000000
 ip address 10.1.3.2 255.255.255.252
 delay 30
router eigrp 1
 network 10.1.1.2 0.0.0.0
 network 10.1.2.2 0.0.0.0
 network 10.1.3.2 0.0.0.0
 network 100.100.100.100 0.0.0.0

 

R0#show ip route
D    100.0.0.0/8 [90/10496] via 10.0.1.2, 00:09:58, Serial0/0      <- only successor
      10.0.0.0/30 is subnetted, 6 subnets
D       10.1.3.0 [90/13056] via 10.0.1.2, 00:09:58, Serial0/0
C       10.0.2.0 is directly connected, Serial0/1
D       10.1.2.0 [90/7936] via 10.0.2.2, 00:09:58, Serial0/1
C       10.0.3.0 is directly connected, Serial0/2
D       10.1.1.0 [90/5376] via 10.0.1.2, 00:09:58, Serial0/0
C       10.0.1.0 is directly connected, Serial0/0

 

R0#traceroute 100.100.100.100

Type escape sequence to abort.
Tracing the route to 100.100.100.100

  1 10.0.1.2 68 msec 28 msec 28 msec    <--- only successor
  2 10.1.1.2 48 msec 60 msec *

 

R0#show ip eigrp topology all-links
IP-EIGRP Topology Table for AS(1)/ID(10.0.3.1)

P 10.1.3.0/30, 1 successors, FD is 13056, serno 6
         via 10.0.1.2 (13056/10496), Serial0/0
         via 10.0.2.2 (15616/11776), Serial0/1
         via 10.0.3.2 (15616/7936), Serial0/2
P 10.0.2.0/30, 1 successors, FD is 4096, serno 2
         via Connected, Serial0/1
P 10.1.2.0/30, 1 successors, FD is 7936, serno 4
         via 10.0.2.2 (7936/4096), Serial0/1
         via 10.0.3.2 (19456/11776), Serial0/2
         via 10.0.1.2 (9216/6656), Serial0/0
P 10.0.3.0/30, 1 successors, FD is 7936, serno 3
         via Connected, Serial0/2
P 10.1.1.0/30, 1 successors, FD is 5376, serno 5
         via 10.0.1.2 (5376/2816), Serial0/0
         via 10.0.3.2 (18176/10496), Serial0/2
         via 10.0.2.2 (10496/6656), Serial0/1
P 10.0.1.0/30, 1 successors, FD is 2816, serno 1
         via Connected, Serial0/0
P 100.0.0.0/8, 1 successors, FD is 10496, serno 7
         via 10.0.1.2 (10496/7936), Serial0/0    <-- Successor, the lowest FD
         via 10.0.3.2 (20736/13056), Serial0/2  <-- NON-feasible successor, successor FD < R3 AD
         via 10.0.2.2 (13056/9216), Serial0/1    <-- Feasible successor,successor FD > R2 AD

 

Unequal path load balanced

 

hostname R0

router eigrp 1
 variance 2                  <---10496 * 2(variance) > AD value load balancing
 network 10.0.1.1 0.0.0.0
 network 10.0.2.1 0.0.0.0
 network 10.0.3.1 0.0.0.0

 

R0#show ip route
D    100.0.0.0/8 [90/13056] via 10.0.2.2, 00:01:57, Serial0/1  <-- feasible successor
                 [90/10496] via 10.0.1.2, 00:01:57, Serial0/0       <-- successor
     10.0.0.0/30 is subnetted, 6 subnets
D       10.1.3.0 [90/15616] via 10.0.3.2, 00:01:57, Serial0/2
                 [90/15616] via 10.0.2.2, 00:01:57, Serial0/1
                 [90/13056] via 10.0.1.2, 00:01:57, Serial0/0
C       10.0.2.0 is directly connected, Serial0/1
D       10.1.2.0 [90/7936] via 10.0.2.2, 00:01:57, Serial0/1
                 [90/9216] via 10.0.1.2, 00:01:57, Serial0/0
C       10.0.3.0 is directly connected, Serial0/2
D       10.1.1.0 [90/5376] via 10.0.1.2, 00:01:57, Serial0/0
C       10.0.1.0 is directly connected, Serial0/0

 

R0#traceroute 100.100.100.100

[Unequal Load Balanced]
Tracing the route to 100.100.100.100

  1 10.0.1.2 36 msec
    10.0.2.2 44 msec
    10.0.1.2 12 msec
  2 10.1.2.2 72 msec
    10.1.1.2 72 msec
    10.1.2.2 88 msec

 

R0#show ip eigrp topology all-links
P 10.1.3.0/30, 1 successors, FD is 13056, serno 10
         via 10.0.1.2 (13056/10496), Serial0/0
         via 10.0.3.2 (15616/7936), Serial0/2
         via 10.0.2.2 (15616/11776), Serial0/1
P 10.0.2.0/30, 1 successors, FD is 4096, serno 2
         via Connected, Serial0/1
P 10.1.2.0/30, 1 successors, FD is 7936, serno 4
         via 10.0.2.2 (7936/4096), Serial0/1
         via 10.0.1.2 (9216/6656), Serial0/0
         via 10.0.3.2 (19456/11776), Serial0/2
P 10.0.3.0/30, 1 successors, FD is 7936, serno 3
         via Connected, Serial0/2
P 10.1.1.0/30, 1 successors, FD is 5376, serno 5
         via 10.0.1.2 (5376/2816), Serial0/0
         via 10.0.2.2 (10496/6656), Serial0/1
         via 10.0.3.2 (18176/10496), Serial0/2
P 10.0.1.0/30, 1 successors, FD is 2816, serno 1
         via Connected, Serial0/0
P 100.0.0.0/8, 1 successors, FD is 10496, serno 11
         via 10.0.1.2 (10496/7936), Serial0/0     <- Successor, the lowest FD
         via 10.0.2.2 (13056/9216), Serial0/1     <- Feasible successor,successor FD > R2 AD    

         via 10.0.3.2 (20736/13056), Serial0/2   <- NON-feasible successor, successor FD < R3 AD



출처 : http://blog.naver.com/bobos_neo

728x90

댓글