From owner-freebsd-net@FreeBSD.ORG Sat Jun 29 20:43:29 2013 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id EC86BBD3 for ; Sat, 29 Jun 2013 20:43:28 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (gatekeeper.allbsd.org [IPv6:2001:2f0:104:e001::32]) by mx1.freebsd.org (Postfix) with ESMTP id C17141463 for ; Sat, 29 Jun 2013 20:43:27 +0000 (UTC) Received: from alph.d.allbsd.org (p3086-ipbf906funabasi.chiba.ocn.ne.jp [122.26.46.86]) (authenticated bits=128) by mail.allbsd.org (8.14.5/8.14.5) with ESMTP id r5TKh9Nw004160 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 30 Jun 2013 05:43:19 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) (authenticated bits=0) by alph.d.allbsd.org (8.14.5/8.14.5) with ESMTP id r5TKh6e6097502; Sun, 30 Jun 2013 05:43:09 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Sun, 30 Jun 2013 05:42:58 +0900 (JST) Message-Id: <20130630.054258.1958564335251044000.hrs@allbsd.org> To: peter@wemm.org Subject: Re: Looking for a bgp listener that works with RADIX_MPATH / EQMP that's in HEAD From: Hiroki Sato In-Reply-To: References: X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.5 on Emacs 24.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Sun_Jun_30_05_42_58_2013_630)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.4 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (mail.allbsd.org [133.31.130.32]); Sun, 30 Jun 2013 05:43:20 +0900 (JST) X-Spam-Status: No, score=-89.5 required=13.0 tests=CONTENT_TYPE_PRESENT, DIRECTOCNDYN,DYN_PBL,ONLY1HOPDIRECT,RCVD_IN_PBL,SAMEHELOBY2HOP, USER_IN_WHITELIST autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on gatekeeper.allbsd.org 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:43:29 -0000 ----Security_Multipart(Sun_Jun_30_05_42_58_2013_630)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Peter Wemm wrote in : pe> I'm looking for pointers to something that can listen to bgp default pe> route announcements from two outbound gateways and set a RADIX_MPATH pe> compatible default route based on whether one or both are alive. pe> pe> openbgpd from ports is extremely incompatible with RADIX_MPATH on 10. pe> You *have* to turn off fib (kernel routing table) updates or it will pe> destroy your machine when it runs out of physical memory for duplicate pe> routes. pe> pe> I know I can do an evil hack and poll the 'bgp show ...' output and pe> manually update the default route but that means updates are delayed pe> to the poll interval. I'm hoping there is a more elegant solution pe> that already works and is immediately responsive to a change in bgp pe> state. pe> pe> The caveat is it *must* run on 10.x, with RADIX_MPATH enabled. I'd pe> gladly run openbgpd if it actually worked. openbgpd has some pe> awareness of mpath so it might be fixable but openbsd's multipath is pe> different to ours. pe> pe> Ideas? Unfortunately openbgpd does not work well with RADIX_MPATH yet. As you pointed out, it is due to difference of multiple routes support between FreeBSD and OpenBSD. I think FIB handling can be improved, but needs some more investigation for that. I think Quagga and BIRD can work with injecting ECMP routes into RADIX_MPATH-enabled FIB. -- Hiroki ----Security_Multipart(Sun_Jun_30_05_42_58_2013_630)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (FreeBSD) iEYEABECAAYFAlHPRtIACgkQTyzT2CeTzy3IcwCaA5FjFqz4rXU9trkwW9/jCSnJ 0qMAoN//M0QJMlHz3wLiEIHbjM9JTPRf =u4l6 -----END PGP SIGNATURE----- ----Security_Multipart(Sun_Jun_30_05_42_58_2013_630)----