Re: [mpls-linux-general] QoS on mpls
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2003-11-14 03:01:24
|
On Thu, Nov 13, 2003 at 11:30:13PM +0100, Daniel Perez wrote: > Hello, > It's me again, I have a reed a few documentation, about DiffServ. > It seems possible to do QoS on mpls with it. It's good to hear that you did some reading. You are definitly on the right track. The first thing I would figure out how to do is to do normal QoS without MPLS. This means learning how to apply schedulers and mark packets. Once you have gotten that far, doing it with MPLS is just an incremental step of using an incoming label or EXP bits to do the marking. > I have understand that I need to use "iptables" to mark differents packets , the problem is that I really > don't know how to generate traffic with different class of service and how to configure a LER to make the > difference of the different class of service. As far as generating packets with differnt QoS or CoS, that is up to you. It could be as simple as saying all UDP traffic gets a lower priority then TCP traffic. You can use iptables for that. You could differentiate based on the destinations of the packets, you would use iproute2 for that. There are many packages out there for sending packets, as simple as TTCP and as complicated as packet gen. > > Maybe it's a stupide question, but I'm a novice in MPLS on Linux, and I really need help. > Please, if someone as an example of a configuration, could he please send me a solution. Unfortunatly I do not have an example. Like I said earlier, find an example of how to do QoS, CoS or DiffServ with IPv4 and then I can show you how to modify it to work with MPLS. If you want to look at the 'opcodes' for QoS, check out the readme in the mpls-linux/utils/README. Look at set_exp/exp2tc/exp2ds/nf2exp/tc2exp/ds2exp. -- James R. Leu jl...@mi... |