Re: [mpls-linux-general] iptables+mpls
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2004-03-20 18:01:09
|
0x8847 is MPLS's protocol id. (think ethernet header) On Sat, Mar 20, 2004 at 12:22:51PM +0100, Zordan Arres wrote: > > > Try this command instead: > > > > > > /sbin/iptables -A OUTPUT -d 1.1.1.2/32 -j spec_nh --spec_nh > > 0x8847:0x2 > > > > > > Where 1.1.1.2/32 is some destination you want mapped to the LSP and > > > 0x2 is the key for the out-going label. > > Ok, it seems to work ... But what means the 0x8847 ? > Are there any changes on other commands ? Yes. the iproute2 command has changed in a similar way: ip route add 1.1.1.1/32 via 11.0.1.2 spec_nh 0x8847 0x2 > Thanks for your quick help > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu jl...@mi... |