All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Aernoudt tom.aernoudt@intec.rug.ac.be
To: lartc@vger.kernel.org
Subject: [LARTC] ingress DSCP marking
Date: Thu, 11 Jan 2001 09:33:30 +0000	[thread overview]
Message-ID: <marc-lartc-98373940416850@msgid-missing> (raw)

<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>

                 reply	other threads:[~2001-01-11  9:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-98373940416850@msgid-missing \
    --to=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.