Re: QoS mapping

"John T. Kamenik" <[email protected]>
Newsgroups gmane.linux.drivers.vlan
Message-ID <[email protected]>
On Aug 3, 2005, at 4:58 PM, Ben Greear wrote:

> John T. Kamenik wrote:
>
>> I have a linux based bridge/router.  On one side is a VLAN  
>> network,  and on the other an Ethernet network.  The VLAN network  
>> uses the  user_priority field in the VLAN header to perform  
>> various forms of  QoS.  The ethernet network does a similar thing  
>> with the IP ToS  bits.  Is there an easy way to map the ToS bits  
>> to user_priority and  visa versa?  And the solution cannot be "use  
>> a Cisco" :).
>>
>
> I'm sure the linux iptables code can somehow do the translation
> for you...but I don't know the exact details...
>

Iptables is what I thought about using first.  However, iptables does  
not have an understanding of VLANs.  At least not to my knowledge.   
This means that iptables has no knowledge of the user_priority field  
and therefore cannot map to or from it.

The only solution I could think of was to modify the VLAN driver to  
allow the mapping between ToS and user_priority.  In the same vein as  
mapping between user_priority and linux priority.  Before I attempted  
it I wanted to know that I had no better options.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.