Is anyone here that ant hint for me.
Best Regards Ricardo Pedro
--- Begin Message ---Doing more tests I think that the problem of TC is with this combination.
- To: kuznet@xxxxxxxxxxxxx, diffserv-general@xxxxxxxxxxxxxxxxxxxxx
- Subject: [Linux Diffserv] IPv6 - Ingress qdisc - Dsmark
- From: Ricardo Pedro <ricardo@xxxxxxxxxxxxxx>
- Date: Sat, 06 Mar 2004 02:04:43 +0000
- Delivered-to: ricardo@soferragens.soferragens.pt
- Delivered-to: alias-localdelivery-ricardo@soferragens.pt
- List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=diffserv-general>
- List-help: <mailto:diffserv-general-request@lists.sourceforge.net?subject=help>
- List-id: General discussion of Differentiated Services on Linux <diffserv-general.lists.sourceforge.net>
- List-post: <mailto:diffserv-general@lists.sourceforge.net>
- List-subscribe: <https://lists.sourceforge.net/lists/listinfo/diffserv-general>, <mailto:diffserv-general-request@lists.sourceforge.net?subject=subscribe>
- List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/diffserv-general>, <mailto:diffserv-general-request@lists.sourceforge.net?subject=unsubscribe>
- Sender: diffserv-general-admin@xxxxxxxxxxxxxxxxxxxxx
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040116
For root ingress and in the downstream direction, everything works ok, but in the downstream no.
Once again, I'm asking for help, if the problem is mine, or this is a known bug!!!
Ricardo Pedro
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Diffserv-general mailing list Diffserv-general@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/diffserv-general
--- End Message ---
--- Begin Message ---I was looking to the linux IPv6 code and I have another question:
- To: diffserv-general@xxxxxxxxxxxxxxxxxxxxx
- Subject: [Linux Diffserv] dsfield in IPv6
- From: Ricardo Pedro <ricardo@xxxxxxxxxxxxxx>
- Date: Fri, 05 Mar 2004 21:24:38 +0000
- Delivered-to: ricardo@soferragens.soferragens.pt
- Delivered-to: alias-localdelivery-ricardo@soferragens.pt
- List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=diffserv-general>
- List-help: <mailto:diffserv-general-request@lists.sourceforge.net?subject=help>
- List-id: General discussion of Differentiated Services on Linux <diffserv-general.lists.sourceforge.net>
- List-post: <mailto:diffserv-general@lists.sourceforge.net>
- List-subscribe: <https://lists.sourceforge.net/lists/listinfo/diffserv-general>, <mailto:diffserv-general-request@lists.sourceforge.net?subject=subscribe>
- List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/diffserv-general>, <mailto:diffserv-general-request@lists.sourceforge.net?subject=unsubscribe>
- Sender: diffserv-general-admin@xxxxxxxxxxxxxxxxxxxxx
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040116
-Why doesn't the ipv6 header code (ipv6.h) is correct to be conform to the IPv6 standard:
Traffic Class Flow Label
I know that you can use get_dsfield() and change_dsfield() in ipv6, but the header structure still uses the 32 bits flowlabel.
Regards Ricardo Pedro
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Diffserv-general mailing list Diffserv-general@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/diffserv-general
--- End Message ---
--- Begin Message ---Hi,
- To: kuznet@xxxxxxxxxxxxx, diffserv-general@xxxxxxxxxxxxxxxxxxxxx
- Subject: [Linux Diffserv] Ingress qdisc in IPv6
- From: Ricardo Pedro <ricardo@xxxxxxxxxxxxxx>
- Date: Fri, 05 Mar 2004 20:29:12 +0000
- Delivered-to: ricardo@soferragens.soferragens.pt
- Delivered-to: alias-localdelivery-ricardo@soferragens.pt
- List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=diffserv-general>
- List-help: <mailto:diffserv-general-request@lists.sourceforge.net?subject=help>
- List-id: General discussion of Differentiated Services on Linux <diffserv-general.lists.sourceforge.net>
- List-post: <mailto:diffserv-general@lists.sourceforge.net>
- List-subscribe: <https://lists.sourceforge.net/lists/listinfo/diffserv-general>, <mailto:diffserv-general-request@lists.sourceforge.net?subject=subscribe>
- List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/diffserv-general>, <mailto:diffserv-general-request@lists.sourceforge.net?subject=unsubscribe>
- Sender: diffserv-general-admin@xxxxxxxxxxxxxxxxxxxxx
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040116
I'm trying to build a diffserv testbed and I want to mark the DSCP field in the IPv6 packet at the ingress router.
I'm using the folowing script
/sbin/tc qdisc add dev eth0 handle ffff:0 ingress
/sbin/tc filter add dev eth0 parent ffff:0 protocol ipv6 prio 0xffff u32 ht 0x800:: order 0xfff match ip6 src ::/0 flowid 0x80
/sbin/tc qdisc add dev eth0 handle 1:0 root dsmark indices 256 default_index 0x08
/sbin/tc filter add dev eth0 parent 1:0 protocol ipv6 prio 0xffff tcindex mask 0xff shift 0 fall_through
/sbin/tc class change dev eth0 classid 1:0x00 dsmark mask 0x3 value 0x68
/sbin/tc class change dev eth0 classid 1:0x04 dsmark mask 0x3 value 0xb8
/sbin/tc class change dev eth0 classid 1:0x08 dsmark mask 0x3 value 0x68
/sbin/tc class change dev eth0 classid 1:0x11 dsmark mask 0x3 value 0x28
/sbin/tc class change dev eth0 classid 1:0x12 dsmark mask 0x3 value 0x30
/sbin/tc class change dev eth0 classid 1:0x13 dsmark mask 0x3 value 0x38
/sbin/tc class change dev eth0 classid 1:0x21 dsmark mask 0x3 value 0x48
/sbin/tc class change dev eth0 classid 1:0x22 dsmark mask 0x3 value 0x50
/sbin/tc class change dev eth0 classid 1:0x23 dsmark mask 0x3 value 0x58
/sbin/tc class change dev eth0 classid 1:0x31 dsmark mask 0x3 value 0x68
/sbin/tc class change dev eth0 classid 1:0x32 dsmark mask 0x3 value 0x70
/sbin/tc class change dev eth0 classid 1:0x33 dsmark mask 0x3 value 0x78
/sbin/tc class change dev eth0 classid 1:0x41 dsmark mask 0x3 value 0x88
/sbin/tc class change dev eth0 classid 1:0x42 dsmark mask 0x3 value 0x90
/sbin/tc class change dev eth0 classid 1:0x43 dsmark mask 0x3 value 0x98
This script is not working for upstream traffic. The strange is that this script works for downstream stream.
I think that the IPv6 code is not complete in the TC script, TC filters and other files.
If this is correct can anyone give me a hint how can a try to finish this code.
Best Regards Ricardo Pedro
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Diffserv-general mailing list Diffserv-general@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/diffserv-general
--- End Message ---