Re: traffic shaping based on MAC address

From: Stephen Hemminger
Date: Sun Apr 26 2009 - 17:47:49 EST


On Sun, 26 Apr 2009 07:26:16 -0400 (EDT)
"sting" <sting@xxxxxxxxxxxxx> wrote:

>
> Obviously, traffic control and iptables operate at the IP layer.
>
> But if I was to do any traffic shaping based on the known MAC address for
> hosts that are on my subnets, what would make the most sense?

The u32 classifier and Qos work with MAC addresses. You just need
to manually give proper offsets and masks (or use latest iproute utilities,
I just added that enhancement).

--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html