[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[altq 231] Re: Diffserv codepoint confusion
I guess you are using altq-1.2 but, if you are interested in diffserv,
you should use altq-2.0. The diffserv implementation in altq-1.2 is
ad-hoc and based on earlier diffserv drafts, while altq-2.0 implements
a framework for traffic conditioning and based on RFCs.
Regarding 0x40, it is a bit patern, 01000000. This DSCP was
recommended for AF11 in the earlier AF drafts but changed later to
Stewart Fallis wrote:
> I hope someone can clarify this for me:
> I am setting up diffserv on AltQ routers and I have read the TIPS document and
> I have the following queries:
> - use 4 queues (4 cbq classes) for 4 AF classes.
> af-1: 010dx0xx > 2Mbps
> af-2: 011dx0xx > 2Mbps
> af-3: 100dx0xx > 2Mbps
> af-4: 101dx0xx > 2Mbps
> class cbq fxp1 af-1 def_class borrow pbandwidth 20 rio
> filter fxp1 af-1 0 0 0 0 0 tos 0x40 tosmask 0xe4
> riometer fxp1 af-1 clear
> My question is Does the 0x40 tos = 0010000 as a bit patern? This does not seem
> to match the af-1 codepoint 010dx0xx as above.
> Hope someone can point me in the right direction.
> Stewart Fallis <firstname.lastname@example.org>
> Connectionless Networking
> Advanced Communications Research