Re: [mpls-linux-general] Inheriting EXP bit in tunnel cascade
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2004-08-17 13:13:37
|
On Tue, Aug 17, 2004 at 01:49:06PM +1000, Jon...@cs... wrote: > Dear James, > > > I think you can convert the EXP bits to tcindex(or nfmark) in > > the ILM and then in the NHFLE convert from tcindex(or nfmark) > > back to EXP _before_ each push. > > > > Something like this: > > > > mplsadm2 -A -I gen:16:0 > > mplsadm2 -I gen:16:0 -i > > exp2tc:0:0:1:1:2:2:3:3:4:4:5:5:6:6:7:7:pop:fwd:0x2 > > > > where 0x2 is the key for this NHLFE: > > > > mplsadm2 -A -O 0 > > Key: 0x2 > > mplsadm2 -O 0x2 -o > > tc2exp:0x3f:0:0:1:1:2:2:3:3:4:4:5:5:6:6:7:7:push:gen:17:tc2exp > > :0xf:0:0:1:1:2:2:3:3:4:4:5:5:6:6:7:7:push:gen:18:set:eth1:ipv4:1.1.1.1 > > Silly question... Is there any reason why the mask of first tc2exp is > 0x3f while the second one is 0xf ? Nope. It's a typo. Technically the mask only needs to be 0x7, but 0xf works just fine. > > I think your feature request is a valid one. AS you can see this > > EXP->tcindex, tcindex->EXP is a pain. A simple flag on the > > NHLFE would make this process much easier. > > I agree... Perhaps it is nice to have this option in a newer version, > regardless whether it is the best practice or not. > > Cheers, > Jonathan > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu jl...@mi... |