All of lore.kernel.org
 help / color / mirror / Atom feed
From: gypsy <gypsy@iswest.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Re: LARTC Digest, Vol 34, Issue 12
Date: Thu, 13 Dec 2007 02:42:35 +0000	[thread overview]
Message-ID: <47609C1B.AEBF7EEA@iswest.com> (raw)
In-Reply-To: <823158cf0712120830i63861d5fyc7c4836bd6fe2bf0@mail.gmail.com>

"m.a.t.e.o" wrote:
>      #######
>      for the MAC address: M0M1M2M3M4M5
> 
>      tc filter add dev eth1 parent 1: protocol ip prio 5 u32
>      match u16 0x0800
>      0xffff at -2 match u16 0x4455 0xffff at -4 match u32
>      0x00112233 0xffffffff
>      at -8 flowid 1:40
> 
>      #######

Have you tried "protocol all" rather than "protocol ip"?  I tested
M0M1M2M3M4M5 (a long time ago) and it did work for eth1 and imq0.

I guess that when the interface it was used on "saw" the MAC specified
by it then I got a match.  It did not work when the machine was too far
away (in # hops), probably because then the MAC is no longer "visible".

In short, M0M1M2M3M4M5 matched any computer on my internal LAN and the
gateway of my ISP but nothing else.
--
gypsy
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

      reply	other threads:[~2007-12-13  2:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-12 16:30 [LARTC] Re: LARTC Digest, Vol 34, Issue 12 m.a.t.e.o
2007-12-13  2:42 ` gypsy [this message]

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=47609C1B.AEBF7EEA@iswest.com \
    --to=gypsy@iswest.com \
    --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.