Re: [mpls-linux-general] How to separate tcp traffic from udp traffic using MPLS
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2005-12-05 20:21:21
|
MPLS-linux builds on the existing netfilter (iptables) infrastructure that exists in the linux kernel. After building/installing a MPLS enabled iptables you can do: iptables -A OUTPUT -p tcp -j spec_nh --spec_nh 0x8847:0x2 This maps all TCP traffic to the special nexthop 0x8847:0x2, where 0x8847 mean MPLS and 0x2 mean NHLFE with the key of 0x2. Basically if you can build an iptables rules to do what you want at L3, then you can simply add the spec_nh target and it will map to MPLS. On Mon, Dec 05, 2005 at 07:34:28PM +0000, Carlos Veiga wrote: > Hello, > =20 > I?m studying MPLS using the project mpls-linux to mount some testbeds = networks and analyze the Traffic Engineering capabilities of MPLS. Some pa= pers results show that the TCP traffic is affected by UDP traffic in the c= ore of MPLS networks. > =20 > I?m trying to separate the UDP traffic from the TCP traffic using two = differents LSP?s. I would like to know how can I do that using the mpls(ip= route/iptables with mpls patch) command. I?m know how to create static LS= P?s based on the destination IP to determine the path of packets, but I do= n?t know how to determine the path based on the protocol (tcp/udp). > =20 > =20 > Figure of my network topology: > =20 > =20 > LSP1(TCP) ---> > =20 > _____LSRC_____ =20 > / \ > / \ > ---LER A---LSRB LSRE----LER F > \ / =20 > \_____LSRD_____/ =20 > =20 > =20 > LSP2(UDP) ---> > =20 > =20 > Thanks for any help. >=20 > =09 > --------------------------------- > Yahoo! doce lar. Fa?a do Yahoo! sua homepage. --=20 James R. Leu jl...@mi... |