I'm not sure about load-sharing by CEF, how it works. Hope somebody can explain it for me:
For example I have two interfaces (f0/0 and f0/1) for equal-cost load-balancing. Now I set cef algorithm for layer4
(config)# ip cef load-sharing algorith include-ports destination
on interface f0/0
(config-if)# ip load-sharing per-packet
(config-if)# ip load-sharing per-destination
What happens now? both interfaces have a route to some host, for example 126.96.36.199. I would like to load-share my http traffic to 188.8.131.52:80.
Global cef config creates one hash for 184.108.40.206:80, so all the traffic to 220.127.116.11:80 should use only one interface, lets say f0/0. But cef config on f0/0 would like to share the traffic per packet, and f0/1 per destination... So I think i do not understand something here.
And one more thing - if i have multiple tunnel interfaces, exiting the same physical interface, so where should i configure load-sharing, on tunnel interfaces or on the physical interface?
I guess "show ip cef " could reveal you how CEF treats your configuration.
It will show, if it's per-packet.
Please remember, that per-packet sharing could lead to packet reordering that could negativly impact application performance or even lead to crash (in case of UDP or some legacy TCP/IP implementation).
[toc:faq]The ProblemOn traditional switches whenever we have a trunk
interface we use the VLAN tag to demultiplex the VLANs. The switch needs
to determine which MAC Address table to look in for a forwarding
decision. To do this we require the switch to do...
[toc:faq]Introduction:Netdr is a tool available on a RSP720, Sup720 or
Sup32 that allows one to capture packets on the RP or SP inband. The
netdr command can be used to capture both Tx and Rx packets in the
software switching path. This is not a substitut...
IntroductionOSPF, being a link-state protocol, allows for every router
in the network to know of every link and OSPF speaker in the entire
network. From this picture each router independently runs the Shortest
Path First (SPF) algorithm to determine the b...