how to set skb->priority of ARP packets – A server stack is the collection of software that forms the operational infrastructure on a given machine. In a computing context, a stack is an ordered pile. A server stack is one type of solution stack — an ordered selection of software that makes it possible to complete a particular task. Like in this post about how to set skb->priority of ARP packets was one problem in server stack that need for a solution. Below are some tips in manage your linux server when you find problem about linux, networking, routing, vlan, arp.
As the title already specifies, I’m looking for a way to set the linux skb->priority
of outgoing ARP packets of a given interface on my linux machine that is used as a router.
The skb priority is ultimately used to set the IEEE 802.1Q priority through the egress priority map.
For regular IP/TCP/UDP traffic setting the priority is normally easy enough as it can be set through iptables (-j CLASSIFY --set-class
), cgroups (net_prio), or others, but for the ARP traffic I’m a bit lost.
I think etables with vlan module could be used to specify 802.1Q Tag Control Information fields
Update
vlan module is for matching packets not for setting priority
This article explains how to set 802.1Q Tag Control Information fields