Skip to contentSkip to conversation

classification of incoming traffic with tc

LARTC Tim Enos 2 participants 3 messages Jun 26, 2007

lore
Share & tools
lore

Tim Enos

author
#0 lore raw

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
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#1 lore raw
Quoted 4 lines · Tim Enos

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?).

afaik, you can use IMQ or IFB for ingress qdisc.

Daniel
PadiNet Makassar
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

author
#2 lore raw
In reply to Tim Enos

Hi Daniel,

Thanks. So how exactly would I use either IMQ or IFB to classify and subsequently mark incoming traffic with a (new) DHCP?

If you have a configuration example, that would be most helpful.

Quoted 16 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Daniel Harold L.
Sent: Tuesday, June 26, 2007 1:24 PM
To: [email protected]
Subject: Re: [LARTC] classification of incoming traffic with tc

Quoted 1 line · Tim Enos

I'm looking for the Linux router to classify and mark the incoming

traffic,

Quoted 2 lines

_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

Quoted 1 line

ingress (qdisc?).

Quoted 8 lines

afaik, you can use IMQ or IFB for ingress qdisc.

Daniel
PadiNet Makassar
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc