Looking for a bgp listener that works with RADIX_MPATH / EQMP that's in HEAD

Hiroki Sato hrs at FreeBSD.org
Sat Jun 29 20:43:29 UTC 2013


Peter Wemm <peter at wemm.org> wrote
  in <CAGE5yCpTjKOeZDCKGU6QC_FVmNrbPnp4BiZP0fYi5oYxk1DgUw at mail.gmail.com>:

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20130630/4b17d2c1/attachment.sig>


More information about the freebsd-net mailing list