[c-nsp] BGP multipath load balancing.. broken sessions upon hash change

Adam Vitkovsky Adam.Vitkovsky at gamma.co.uk
Thu Sep 3 04:06:38 EDT 2015


Another option would be to run GLBP on the 16 processing nodes.
Though that would require to connect them to a L2 segment and use 16 interfaces on the core router to connect to the L2 segment :).
But it would solve the hashing problem :)


adam
>

        Adam Vitkovsky
        IP Engineer

T:      0333 006 5936
E:      Adam.Vitkovsky at gamma.co.uk
W:      www.gamma.co.uk

This is an email from Gamma Telecom Ltd, trading as “Gamma”. The contents of this email are confidential to the ordinary user of the email address to which it was addressed. This email is not intended to create any legal relationship. No one else may place any reliance upon it, or copy or forward all or any of it in any form (unless otherwise notified). If you receive this email in error, please accept our apologies, we would be obliged if you would telephone our postmaster on +44 (0) 808 178 9652 or email postmaster at gamma.co.uk

Gamma Telecom Limited, a company incorporated in England and Wales, with limited liability, with registered number 04340834, and whose registered office is at 5 Fleet Place London EC4M 7RD and whose principal place of business is at Kings House, Kings Road West, Newbury, Berkshire, RG14 5BY.


-----Original Message-----
> From: cisco-nsp [mailto:cisco-nsp-bounces at puck.nether.net] On Behalf Of
> Peter Kranz
> Sent: 03 September 2015 00:05
> To: 'Łukasz Bromirski' <lukasz at bromirski.net>
> Cc: cisco-nsp at puck.nether.net
> Subject: Re: [c-nsp] BGP multipath load balancing.. broken sessions upon
> hash change
>
> I am attempting to load balance ~100 Gbps of inbound traffic across several
> processing nodes. Each node advertising the same /32 back to the core
> router and CEF nicely divides the traffic so that 1/16th of it arrives at each
> node. The problem arises when a node is brought out of rotation, existing
> SSH sessions break since the source IP gets mapped to a new node after CEF
> re-computes. Given the large amount of traffic, it's not easily solvable with
> higher end load balancers for a reasonable cost.
>
> -PK
>
> -----Original Message-----
> From: Łukasz Bromirski [mailto:lukasz at bromirski.net]
> Sent: Wednesday, September 02, 2015 2:56 PM
> To: Peter Kranz <pkranz at unwiredltd.com>
> Cc: cisco-nsp at puck.nether.net
> Subject: Re: [c-nsp] BGP multipath load balancing.. broken sessions upon
> hash change
>
> Peter,
>
> > On 02 Sep 2015, at 22:49, Peter Kranz <pkranz at unwiredltd.com> wrote:
> >
> > I’m using bgp maximum-paths and several peers announcing the same /32
> > to create a poor man’s load balancer. This works well with up to 16
> > peers after which the CEF number of buckets is exceeded.
> >
> > However, if the number of connected peers change, all sessions break,
> > which I would like to avoid.
>
> That’s the way CEF works - it has to rebuild the hash every time new nexthop
> appears or vanishes.
>
> This is 6500 you’ve mentioned in different post, right? What is the overall
> architecture of the thing you’re trying to achieve here (remote terminal
> access?).
>
>> Łukasz Bromirski
>
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/


More information about the cisco-nsp mailing list