[mpls-linux-general] mpls beta 1.127 - Diffserv
Status: Beta
Brought to you by:
jleu
From: ncc49a <nc...@si...> - 2002-02-04 10:00:51
|
Hi James, I am trying out the diffserv functionality for the latest mpls patch. When I input this instruction: $MPLSADM -v -A -O gen:37:eth0 -o ds2exp:0xff:0x1a:0x1:push:gen:37:set:eth0:ipv4:192.168.1.161 I get the errors saying: 1) Mask for ds2exp is too large, must be less then 0x40 2) Out Instr: No such device or address. I must be using the above instruction wrongly. Can u provide me some pointers on this? Next, for the above mask... is it applied to the DS code point or the entire DS field? I am not sure, but I think "tc" from iproute2 applies the mask to the whole field..., such that a mask of 0x3 and a DS field of 0x6b will give a DS Code Point of 0x1a, which is AF. Thanks a lot! Paul |