Re: [mpls-linux-general] How do I map traffic to an LSP?
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2005-04-19 16:46:00
|
The LDP part of quagga-mpls is not ready for users, it is still in development. You can use the static LSP configuration though. See the examples on http://mpls-linux.sf.net for more info. You can use iptables to map traffic to a LSP. You can also use iproute2 to map traffic to a LSP. For iptables you can use all of the normal iptables commands (google for a iptables howto) with the addition of the spec_nh target (-j spec_nh --spec_nh 0x8847:0x2). Here is a simple iptables examples (you will want to google for a iptables howto to learn more about iptables syntax): iptables -A OUTPUT -d 1.1.1.1/32 -j spec_nh --spec_nh 0x8847:0x2 0x2 is the key of a NHLFE On Tue, Apr 19, 2005 at 08:18:22AM -0700, Florin Rosca wrote: > Hello! > I've installed quagga-mpls and managed to set 2 LSPs > to the same network. > Now I'm trying to map the ftp traffic, on destination > port 21, to go by one LSP and the the other traffic to > go on the other LSP. > How do I do this? > I tryed with "tc /qdisc/class/filter" command, but > didn't manage..... > How do I use iptables? > I installed the rpm from quagga-mpls and when I type > "mpls ldp" in ldpd I get disconected...what is > happening? > Thanks for your answers..... > Florin=20 >=20 >=20 > =09 > __________________________________=20 > Do you Yahoo!?=20 > Plan great trips with Yahoo! Travel: Now over 17,000 guides! > http://travel.yahoo.com/p-travelguide >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: New Crystal Reports XI. > Version 11 adds new functionality designed to reduce time involved in > creating, integrating, and deploying reporting solutions. Free runtime in= fo, > new features, or free trial, at: http://www.businessobjects.com/devxi/728 > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general --=20 James R. Leu jl...@mi... |