Assume i have no cef enabled and there are 2 paths with the same cost ( both traffic share count = 1)
Router#show ip route 20.20.20.1
Routing entry for 20.20.20.0/24
Known via "eigrp 10", distance 90, metric 156160, type internal
Redistributing via eigrp 10
Last update from 192.168.10.2 on FastEthernet0/0, 00:57:33 ago
Routing Descriptor Blocks:
* 192.168.20.2, from 192.168.20.2, 00:57:33 ago, via FastEthernet0/1
Route metric is 156160, traffic share count is 1
Total delay is 5100 microseconds, minimum bandwidth is 100000 Kbit
Reliability 255/255, minimum MTU 1500 bytes
Loading 1/255, Hops 1
192.168.10.2, from 192.168.10.2, 00:57:33 ago, via FastEthernet0/0
Route metric is 156160, traffic share count is 1
Total delay is 5100 microseconds, minimum bandwidth is 100000 Kbit
Reliability 255/255, minimum MTU 1500 bytes
Loading 1/255, Hops 1
q1) if i have ip route-cache set on both my interfaces, does that means that
packets to the same destination will always exit the same interface even if the 2 paths have the same traffic share count ?
q2) if i have two unequal cost paths, with difference traffic share count (e.g. 60,40) and ip route-cache on both interfaces.
Does that means that if the "40 share" path is ever taken to reach a particular destination (e.g. 20.20.20.2), subsequent attempts to reach 20.20.20.2, will always take the "40 share" path ?
Best Answer
Using
ip route-cache
results in per-destination load balancing.Cisco explains this in How Does Load Balancing Work?:Per-packet load balancing can cause problems, so, in general, you should use per-destination load balancing.
By default, Cisco routers use CEF. How Does Unequal Cost Path Load Balancing (Variance) Work in IGRP and EIGRP?: