[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Attaching qdisc to a class

Marival Cruz Romero escribió:
>         Hi,
>         I'm trying to mark the packets from an application and I'd like to
> shape the output with queuing disciplines. I've tried to assign a
> different TBF queue to two classes but when I active one of them the
> other one is replaced. I make...

	Hi, Marival!

		Well... I am not an expert, but I think that you should add something

	tc class add dev eth 0 parent 1:0 classid 1:1 dsmark ...
>         tc class change dev eth0 classid 1:1 dsmark mask 0x3 value 0xb8
>         tc class change dev eth0 classid 1:2 dsmark mask 0x3 value 0x88

	But you use "class change" instead.

	Hope it helps