[mpls-linux-general] Re: ldp-portable labelspace setting
Status: Beta
Brought to you by:
jleu
From: James R. L. <jl...@mi...> - 2001-06-06 20:19:26
|
On Wed, Jun 06, 2001 at 09:25:50AM +0200, Giovanna Piantanida (ERI) wrote: > Dear Mr.Leu, > > we are trying a version of your ldp-portable software, updated with CVS repository files. > The software is currently running on linux 2.4.4 patched with mpls-linux-0.990. > Label distribution in unsolicited mode works actually very well, except we noticed that ldp doesn't set labelspace to 0. > > At present we simply skip the problem running the mpls command > mplsadm -L eth0:0 > from console > > but we were wondering if maybe we are missing something and it is possible to > get the labelspace settled from ldp-portable itself, You're doing it correct. The label space is a responsibility of the "porting" layer. So in this case ldp_linux should be the one to add the label space. I wouldn't take much work to do it. Just add the call (look in mplsadm.c for an example) to ldp_linux.c:add_interface(). For now always assing every interface to label space 0, later on the label space could be a parameter to the 'add interface' command. Do you think your up for it? If not let me know and I'll add it to my todo list :-) Jim PS (I used to work for Ericsson IPI in Raleigh NC USA :-) -- James R. Leu |