[nsp] ip load-sharing per-packet - cef accelerated ?

Tomas Daniska tomas at tronet.com
Tue Mar 11 12:04:40 EST 2003


> > > Is this what ip cef per-destination does?
> > 	I believe that takes only the dstIP into account.
> 
> Yes, this is what ip cef per-destination does. Only takes dstIP into 
> account.

i believe this is a bit more complex - as far as i know the src address
is also somehow taken into the hash


you can see packets coming from different sources to a single
destination might take different paths, just play a bit with 'sh ip cef
exact-route srcip dstip':


some-router# 
some-router#sh ip cef vrf some-vrf exact-route x.x.x.1 y.y.y.5
x.x.x.1   -> y.y.y.5  : FastEthernet0/1.10 (next hop nh1.nh1.nh1.nh1)
some-router# 
some-router#sh ip cef vrf some-vrf exact-route x.x.x.2 y.y.y.5
x.x.x.2   -> y.y.y.5  : FastEthernet0/0.10 (next hop nh2.nh2.nh2.nh2)
some-router# 
some-router#sh ip cef vrf some-vrf exact-route x.x.x.3 y.y.y.5
x.x.x.3   -> y.y.y.5  : FastEthernet0/0.10 (next hop nh2.nh2.nh2.nh2)
some-router# 
some-router#sh ip cef vrf some-vrf exact-route x.x.x.4 y.y.y.5
x.x.x.4   -> y.y.y.5  : FastEthernet0/0.10 (next hop nh2.nh2.nh2.nh2)
some-router# 
some-router#sh ip cef vrf some-vrf exact-route x.x.x.5 y.y.y.5
x.x.x.5   -> y.y.y.5  : FastEthernet0/0.10 (next hop nh2.nh2.nh2.nh2)
some-router# 
some-router#sh ip cef vrf some-vrf exact-route x.x.x.6 y.y.y.5
x.x.x.6   -> y.y.y.5  : FastEthernet0/1.10 (next hop nh1.nh1.nh1.nh1)
some-router# 
some-router#sh ip cef vrf some-vrf exact-route x.x.x.7 y.y.y.5
x.x.x.7   -> y.y.y.5  : FastEthernet0/1.10 (next hop nh1.nh1.nh1.nh1)
some-router# 
some-router#sh ip cef vrf some-vrf exact-route x.x.x.8 y.y.y.5
x.x.x.8   -> y.y.y.5  : FastEthernet0/0.10 (next hop nh2.nh2.nh2.nh2)
some-router# 
some-router#sh ip cef vrf some-vrf exact-route x.x.x.9 y.y.y.5
x.x.x.9   -> y.y.y.5  : FastEthernet0/0.10 (next hop nh2.nh2.nh2.nh2)
some-router#


--

deejay 



More information about the cisco-nsp mailing list