From owner-freebsd-net@FreeBSD.ORG Sat Jun 29 20:48:58 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3942DD6C for ; Sat, 29 Jun 2013 20:48:58 +0000 (UTC) (envelope-from peter@wemm.org) Received: from mail-vb0-x22f.google.com (mail-vb0-x22f.google.com [IPv6:2607:f8b0:400c:c02::22f]) by mx1.freebsd.org (Postfix) with ESMTP id ED6B9148A for ; Sat, 29 Jun 2013 20:48:57 +0000 (UTC) Received: by mail-vb0-f47.google.com with SMTP id x14so2608311vbb.20 for ; Sat, 29 Jun 2013 13:48:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wemm.org; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/vjV/XrhRd4HdNignPPIBCKNgvyfa990+XwY6wrhAYw=; b=uf+6dbdAtsX/icGvTV9Ld+Mj5iJG2IVpFBo88GQkaJYydCs9GPFPW/prOxbT+GLvPF wWb57hrzC4n37zsUqn7cKsY+XGySWn4PMoGG/y+JD7wGMr4Y2VSfgm0H5ycPFU4sVL9M hfy5NsYKY+FLSFCrSQ2VB830P1m3AokQL7Fp0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=/vjV/XrhRd4HdNignPPIBCKNgvyfa990+XwY6wrhAYw=; b=ScucZ67GSWfcC8+TeLmubROygwf74pa3IQcm+qKn3LRsdPIHcytlVeEihSyKaZevD+ EsFh7m/PXodXN49MZyTcZ4gtt/0hg/NQ0vXmOjuvwNT0V2eIJHIR7EmMPy581FCFXrx5 2gc5oi2Z4ehTz4T9q5ohFtzeZ3YITZWeImG+G+SRoYK0rHnHejyT8f9sUEZQQe5UhpDW 9AYRsYj82sO75c+gSeKrTsiWYD6b2VAD9iUETVPaj2dOhnreezejdoz6SiY2RcjKGqs9 uxWNad1i+t81HuJs2FbjeH+mTMPNDySvNypRQh8N6BG0QMDRXASc2LbVeSEJcg32dqd2 h0fA== MIME-Version: 1.0 X-Received: by 10.220.83.69 with SMTP id e5mr4868017vcl.53.1372538937174; Sat, 29 Jun 2013 13:48:57 -0700 (PDT) Received: by 10.221.37.198 with HTTP; Sat, 29 Jun 2013 13:48:57 -0700 (PDT) In-Reply-To: <945C1E9B-0FEE-4999-AFFB-9AA04336F06A@yahoo.com> References: <945C1E9B-0FEE-4999-AFFB-9AA04336F06A@yahoo.com> Date: Sat, 29 Jun 2013 13:48:57 -0700 Message-ID: Subject: Re: Looking for a bgp listener that works with RADIX_MPATH / EQMP that's in HEAD From: Peter Wemm To: Scott Long Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQkA4AkCRvTuJBGiG/he6eEV2ELneHDvAWnI5X5Chd/lNptRM83hgqX2sNh8ZE66s5Vd6KIG Cc: freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jun 2013 20:48:58 -0000 On Sat, Jun 29, 2013 at 1:28 PM, Scott Long wrote: > We run bird for this task. Can't say if it works on 10 since he haven't > moved to 10 yet, but there have been some experiments with running > a 10 kernel in the 9 userland and bird seems to behave fine with that. > > Scott You run your kernels with RADIX_MPATH on 9.x? Got an example config? In openbgpd speak, I'm doing this: AS 65xxx router-id 8.8.178.xx neighbor 8.8.178.yy { local-address 8.8.178.xx remote-as 65xxx announce none } neighbor 8.8.178.zz { local-address 8.8.178.xx remote-as 65xxx announce none } match from 8.8.178.yy set { localpref 80 } match from 8.8.178.zz set { localpref 80 } The upstream nodes are doing, in part: neighbor 8.8.178.ww { local-address 8.8.178.yy remote-as 65xxx announce default-route } neighbor 8.8.178.xx { local-address 8.8.178.yy remote-as 65xxx announce default-route } match to 8.8.178.ww set { metric 20 } match to 8.8.178.xx set { metric 20 } They're doing other things too, but thats the part that's relevant here. > On Jun 29, 2013, at 1:50 PM, Peter Wemm wrote: > >> I'm looking for pointers to something that can listen to bgp default >> route announcements from two outbound gateways and set a RADIX_MPATH >> compatible default route based on whether one or both are alive. >> >> openbgpd from ports is extremely incompatible with RADIX_MPATH on 10. >> You *have* to turn off fib (kernel routing table) updates or it will >> destroy your machine when it runs out of physical memory for duplicate >> routes. >> >> I know I can do an evil hack and poll the 'bgp show ...' output and >> manually update the default route but that means updates are delayed >> to the poll interval. I'm hoping there is a more elegant solution >> that already works and is immediately responsive to a change in bgp >> state. >> >> The caveat is it *must* run on 10.x, with RADIX_MPATH enabled. I'd >> gladly run openbgpd if it actually worked. openbgpd has some >> awareness of mpath so it might be fixable but openbsd's multipath is >> different to ours. >> >> Ideas? >> -- >> Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV >> _______________________________________________ >> freebsd-net@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV On IRC, talking about C++: I think that it is a good thing I will never meet Bjarne on a street cause really, I don't want to end up in prison or anything