[CentOS] Quagga ECMP

Thu Dec 10 18:03:52 UTC 2009
Gavin Carr <gavin at openfusion.com.au>

On Thu, Dec 10, 2009 at 07:23:06PM +0200, Cristian Carstea wrote:
> yes, that's right, but i am asking here about Quagga, which is a
> routing software (OSPF, BGP etc.), not about kernel multipath, i
> mean if Quagga is compiled with Equal Cost MultiPath (ECMP), the
> "-enable-multipath" compile option. Can someone post here the spec
> file from which quagga rpm was built for CentOS? Thanks. On Thu, Dec
> 10, 2009 at 7:42 AM, Cristian Carstea <cris at crisnet.ro> wrote:
> 
> >>
> >> Hello,
> >>
> >> does anybody know if quagga for CentOS 5.3 is compiled with
> >> -enable-multipath?
> >> I want to implement ECMP over 2 ISP.

Looks like it. Spec file configure on my i386 box is:

+ ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc/quagga --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib/quagga --libexecdir=/usr/libexec/quagga --localstatedir=/var/run/quagga --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --enable-ipv6 --enable-multipath=64 --enable-nssa --enable-opaque-lsa --enable-ospf-te --enable-vtysh --enable-ospfclient=yes --enable-ospfapi=yes --with-libpam --enable-user=quagga --enable-group=quagga --enable-vty-group=quaggavt --enable-rtadv --enable-netlink

which matches the configure options at the top of the spec file:

# configure options
%define     with_snmp   0
%define     with_vtysh  1
%define     with_ospf_te    1
%define     with_nssa   1
%define     with_opaque_lsa 1
%define     with_tcp_zebra  0
%define     with_pam    1
%define     with_ipv6   1
%define     with_ospfclient 1
%define     with_ospfapi    1
%define     with_rtadv      1
%define     with_multipath  64
%define     quagga_uid      92
%define     quagga_gid      92
%define     quagga_user quagga
%define     vty_group   quaggavt
%define     vty_gid     85

Cheers,
Gavin