All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Joachim Wickman" <jwickman@tawi.fi>
To: lartc@vger.kernel.org
Subject: [LARTC] HTB and TC on MAC addresses
Date: Thu, 12 Jun 2003 18:03:43 +0000	[thread overview]
Message-ID: <marc-lartc-105544132619072@msgid-missing> (raw)

[-- Attachment #1: Type: text/plain, Size: 633 bytes --]

Hi 

I've searched the archive for a solution where I want to limit/shape WLAN users. I only know's their MAC, because they get their IP from dhcp.

> Why not, just use negative offsets with U32 to access
>the 14-byte eth frame header before the IP header:
>
>Decimal Ofs	Description
>-----------------------------------
>-14:		DST MAC, 6 bytes
>-8:		SRC MAC, 6 bytes
>-2:		Eth PROTO, 2 bytes, eg. ETH_P_IP
>0:		Protocol header (IP Header)
>

Is the above true? If so, can you give me an example with MAC address 00:04:e2:5f:eb:e4.

And, is it possible to shape so everyone gets 256kbit each?

Thx, 
  Joachim


[-- Attachment #2: Type: text/html, Size: 1561 bytes --]

             reply	other threads:[~2003-06-12 18:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-12 18:03 Joachim Wickman [this message]
2003-06-12 18:07 ` [LARTC] HTB and TC on MAC addresses David Boreham
2003-06-12 19:14 ` Martin A. Brown
2003-06-13 13:26 ` Burnside, Andrew
2003-06-15 20:59 ` Trevor Warren
2003-06-16  7:29 ` Joachim Wickman
2003-06-16  7:50 ` Stef Coene
2003-06-16 13:02 ` Joachim Wickman
2003-06-16 16:53 ` Stef Coene
2003-06-16 16:54 ` Stef Coene

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-105544132619072@msgid-missing \
    --to=jwickman@tawi.fi \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.