Networking Forums

Networking Forums > Computer Networking > Linux Networking > Problem setting DSCP value

Reply
Thread Tools Display Modes

Problem setting DSCP value

 
 
Washington Ratso
Guest
Posts: n/a

 
      05-19-2011, 11:00 PM
I would like to set the DSCP value of ALL traffic coming in on eth0
going from a source (10.175.1.6) to a destination (10.175.2.2) to a
certain value (14). To do this, I used the following command:

iptables -t mangle -A PREROUTING -i eth0 -s 10.175.1.6 -d 10.175.2.2 -
j DSCP --set-dscp 14

With Wireshark, I see that only TCP, H.245, and H.225.0 packets have a
DSCP value of 14. RTP, RTCP, and H.263 still have a DSCP value of 0.

How can I set the DSCP value of ALL packets to 14?
 
Reply With Quote
 
 
 
 
Srinivasa T N
Guest
Posts: n/a

 
      05-20-2011, 01:15 PM
On May 20, 4:00*am, Washington Ratso <jobhunt...@aol.com> wrote:
> I would like to set the DSCP value of ALL traffic coming in on eth0
> going from a source (10.175.1.6) to a destination (10.175.2.2) to a
> certain value (14). To do this, I used the following command:
>
> iptables -t mangle -A PREROUTING -i eth0 -s 10.175.1.6 -d 10.175.2.2 -
> j DSCP --set-dscp 14
>
> With Wireshark, I see that only TCP, H.245, and H.225.0 packets have a
> DSCP value of 14. RTP, RTCP, and H.263 still have a DSCP value of 0.
>
> How can I set the DSCP value of ALL packets to 14?


Did you try to put in POSTROUTING or FORWARD chains?

FYI: http://www.linuxhomenetworking.com/w...WDSY-MDA4o.gif
http://jengelh.medozas.de/images/nf-packet-flow.png

Regards,
Seenu.
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
per packet QoS (DSCP) aapocketz Linux Networking 0 12-08-2008 07:52 PM
Per-packet IP DSCP/TOS Marking srikanta Linux Networking 0 10-16-2008 02:34 AM
iptables : no more TOS but DSCP ? zero°K Linux Networking 0 07-15-2008 01:51 PM
QoS using DSCP Maciej Matachowski Linux Networking 1 02-09-2008 08:01 PM
Using DiffServ / DSCP as QoS on 2000?????? =?Utf-8?B?d2Vhbg==?= Windows Networking 0 11-17-2004 09:44 AM



1 2 3 4 5 6 7 8 9 10 11