Re: [mpls-linux-devel] Does zebra have multitable support?
Status: Beta
Brought to you by:
jleu
From: Zaida V. <za...@gm...> - 2008-06-26 19:16:54
|
Do you have any references (links, docs,...) about network namespaces? You mentioned it before but I haven't been able to find it. It would be really interesting to take a look at that info, as we have already proposed two alternatives based on different tables in zebra but we are not taken into account that project (the one about network namespaces). It's no sense to implement something that will not work with it at all. About the two alternatives we were contemplating: The first one consisted on creating different tables in bgp based on a 'tag' wich would be associated with a vrf in zebra, and each vrf with a different socket (netlink) to install the routes in the kernel in separate tables (FIB). We are still not sure if this is possible (I'll have to investigate the code a little bit more ) The second solution would be to create different zebra process' one per vrf, and each of them will be associated with a different socket. The problem here will be mainly how the one and only bgpd daemon should manage more than one zebra. Is this a too crazy idea? I mean, having many zebrad at the same time for different vrfs? Will everything crash? =) Note that we came accross this ideas just looking at raw code and have no idea of how it will get on with what you just said. I hope I explained myself, Zaida Varona On Thu, Jun 26, 2008 at 4:08 PM, James R. Leu <jl...@mi...> wrote: > There exists a patch for quagga that implemented the full > VRF support on top of linux-vrf. It would be interesting to > port this to network namespace on linux 2.6.25+ > > On Thu, Jun 19, 2008 at 03:17:18PM +0200, Zaida Varona wrote: > > Just a quick question... Does zebra have multitable support for Linux? I > > have searched on internet and the only info I have seems quite old. > > > > Some people have pointed out that "rib->table=vrf_id" in" > > zebra_rib.c/rib_add_route()" should make it, but some other believe > that's > > not the best approach. > > > > If it's not supported yet, advice about how it should be done, or what > > should be taken into account, is thanked ^^ > > > > > > > > Zaida Varona > > > > > > P.S.: Before anybody sends me to de quagga mailing list, I'm working on > > making BGP work in a BGP/MPLS IP VPN based on the MPLS-LINUX project. I'm > > new to all this so be kind :) and sorry for my english :S > > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://sourceforge.net/services/buy/index.php > > _______________________________________________ > > mpls-linux-devel mailing list > > mpl...@li... > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-devel > > > -- > James R. Leu > jl...@mi... > |