Networking Forums

Networking Forums > Computer Networking > Linux Networking > DSCP & Default Linux routing

Reply
Thread Tools Display Modes

DSCP & Default Linux routing

 
 
itsanandr@gmail.com
Guest
Posts: n/a

 
      02-13-2006, 03:03 PM
Hi all,
I'd appreciate if someone can clarify this for me.

From the source code (ip_forward.c), it seems that skb->priority is
set from the "TOS bits" (mask 0x1E) in the TOS byte. Assume that an end
point application sets the value 0xb8 in the TOS byte (for expedited
forwarding). When this packet passes through a Linux router with
default configuration, it will set the skb->priority to 4 (TOS bits
will be binary 1100), as calculated by the function rt_tos2priority().

If the egress link has 4 priority queues (for example IEEE 802.11e
has 4 access categories), then skb->priority of 4 will map to access
category #2 (Video). But expedited forwarding means it should map onto
access category #3 (Voice), which means skb->priority should be set to
6 or 7. Is this a bug or am I missing something?

Thanks in advance.

-Anand

 
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
Two default gw in kernel routing table Binary Linux Networking 16 02-23-2007 04:17 PM
RRAS twin NIC and routing to default gateway Jon Rowlan Windows Networking 8 11-16-2006 08:56 PM
WAP55AGv2 Default Gateway routing issue Scott Nelson - Wash DC Wireless Internet 0 05-28-2005 04:08 PM
how to set default entry in routing table? kernel.lover Linux Networking 1 03-15-2005 10:40 PM
Linux: Default gateway fails, must use local IP for default gw instead John Sasso Wireless Internet 2 07-08-2004 08:30 AM



1 2 3 4 5 6 7 8 9 10 11