* [LARTC] ingress DSCP marking
@ 2001-01-11 9:33 Tom
0 siblings, 0 replies; only message in thread
From: Tom @ 2001-01-11 9:33 UTC (permalink / raw)
To: lartc
<PRE>I want to set the DSCP at the ingress of the router.
I tried the following:
iptables -A OUTPUT -t mangle -d 10.10.10.12 -j MARK --set-mark 1
tc qdisc add dev eth0 handle ffff:0 ingress dsmark indices 64 set_tc_index
tc class change dev eth0 classid ffff:1 dsmark mask 0x3 value 0xb8
tc filter add dev eth0 parent ffff:1 protocol ip prio 1 handle 1 fw
classid ffff:1
But the DSCP value isn't set correctly.
What's wrong with it? If I try to mark the packets at the outgoing
interface then the
DSCP value is set. Why doesn't it work at the ingress?
Tom Aernoudt
</PRE>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-01-11 9:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-11 9:33 [LARTC] ingress DSCP marking Tom
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.