Re: Re: [mpls-linux-general] Newbie problems
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2004-10-13 14:14:14
|
If you use the newest kernel and iptables I've posted (1.938) you can use iptables to sent specific traffic down a LSP. iptables -A OUTPUT -d 1.1.1.1/32 -j spec_nh --spec_nh 0x8847:0x2 Where 0x8847 tells the spec_nh system your setting a MPLS nexthop and 0x2 is the key of the NHLFE created via mplsadm2. (you can use other iptables 'filters', see you an iptables howto for more info on selecting traffic) The key to this working is the -A OUTPUT and the -j spec_nh --spec_nh 0x8847:0x2, in between there you can use whatever iptables 'filters' you want. On Sat, Oct 09, 2004 at 09:28:25PM +0200, Krzysztof Musia? wrote: > > Hi, all > I've got such configuration: > 10.0.0.2 10.0.0.1 10.1.0.1 10.1.0.2 > ETH0 ETH0 ETH1 ETH0 > |LER A|------------|LSR B|------------|LER C| > > > > ... and I want to send some specific traffic via MPLS path and the other via > basic IP. > i.e. streaming audio (running on particular port) is beeing sent via MPLS/IP > and the other via IP > So the question is: > Can I set MPLS path only for the particular port (or maybe it is possible > via tunnel config.) > > Krzysztof Musial > km...@is... > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu jl...@mi... |