LARTC
[Top] [All Lists]

[LARTC] classification of incoming traffic with tc

To: <lartc@mailman.ds9a.nl>
Subject: [LARTC] classification of incoming traffic with tc
From: "Tim Enos" <tenos@ll.mit.edu>
Date: Tue, 26 Jun 2007 13:16:06 -0400
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
List-archive: <http://mailman.ds9a.nl/pipermail/lartc>
List-help: <mailto:lartc-request@mailman.ds9a.nl?subject=help>
List-id: "Mailinglist of the Linux Advanced Routing &amp; Traffic Control project" <lartc.mailman.ds9a.nl>
List-post: <mailto:lartc@mailman.ds9a.nl>
List-subscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe>
List-unsubscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe>
Sender: lartc-bounces@mailman.ds9a.nl
Thread-index: Ace4Fa5VOYOc/Ys4Qq6fOzXWv2b50A==
Hi all,

Another requirement we have is that traffic entering the DS domain be
classified then subsequently assigned a (different?) DSCP based upon its
classification.

For illustrative purposes only let's say (for traffic entering the DS domain
on dev eth0):

- WWW traffic would be marked BE

- traffic destined for 10.10.10.10 would be marked AF11

- VoIP traffic from 20.20.20.20 would be marked EF

- packets 500 bytes in length would be marked AF22

I'm looking for the Linux router to classify and mark the incoming traffic,
_not_ the originating host(s). From what I can see, dsmark only works on
egress qdiscs (is this indeed the case?). I need something that works on an
ingress (qdisc?). 

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

<Prev in Thread] Current Thread [Next in Thread>