[c-nsp] Per packet Load balancing

Rodney Dunn rodunn at cisco.com
Tue Sep 7 12:46:33 EDT 2004


On Tue, Sep 07, 2004 at 10:09:59PM +0530, Amol Sapkal wrote:
> Seems the post went in too early.
> I checked after few minutes, the incoming load balancing doesnt work
> now. I think I am missing something.
> 
> This was what was done:
> ip cef enabled globally.
> Following command added to the physical interfaces which have the
> sub-interfaces supposed to 'static load balance' the downlink traffic.
> 
> ip load-sharing per-packet
> 
> 
> What is it that I am missing?

Put that command on the "ingress" interface that feeds the downstream
PVC's.

ie: Your links coming in from the internet.

> 
> 
> 
> On Tue, 7 Sep 2004 22:04:49 +0530, Amol Sapkal <amolsapkal at gmail.com> wrote:
> > Thanks!
> > On Tue, 7 Sep 2004 12:20:59 -0400, Rodney Dunn <rodunn at cisco.com> wrote:
> > > You shouldn't do it that way.
> > >
> > > You can configure CEF to do per-packet load
> > > balancing.
> > >
> > > Turn on CEF globally and then on the inbound
> > > interface feeding the downstream equal cost paths
> > > do "ip load-sharing per-packet".
> > >
> > > Don't leave it like you have it now.  You are process
> > > switching all the traffic.
> > 
> > 
> > This works, I checked on the client router interface. The incoming
> > traffic is load balanced.
> > 
> > Apologies for asking it here (and not reading it myself), what does
> > 'ip load-sharing per-packet' actually do?
> > 
> > >
> > > Rodney
> > 
> > 
> > >
> > 
> > --
> > Warm Regds,
> > 
> > Amol Sapkal
> > 
> > --------------------------------------------------------------------
> > An eye for an eye makes the whole world blind
> > - Mahatma Gandhi
> > --------------------------------------------------------------------
> > 
> 
> 
> 
> -- 
> Warm Regds,
> 
> Amol Sapkal
> 
> --------------------------------------------------------------------
> An eye for an eye makes the whole world blind 
> - Mahatma Gandhi
> --------------------------------------------------------------------


More information about the cisco-nsp mailing list