All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Gavin" <gavin@raha.com>
To: lartc@vger.kernel.org
Subject: [LARTC] mac address
Date: Tue, 02 Apr 2002 11:33:48 +0000	[thread overview]
Message-ID: <marc-lartc-101774727315869@msgid-missing> (raw)

Hello,

Would I be right in thinking that if I have a gateway running cbq like this:

Clients------------------eth0-Gateway-eth1-----------------------internet
10.0.0.0/8                  10.0.0.1            1.2.3.4

and I was doing..

#iptables -t mangle -A PREROUTING  -m mac --mac-source 00:00:00:00:00:01 -j
MARK --set-mark 1

 - where 00:00:00:00:00:01 was the mac address of one of my clients, I would
be unable to control traffic from eth0 to my client using the MARK, as
packets would have a source mac address of the internet server?

Or does the gateway remember the source mac address of the client when a
reply comes to it from the internet?

Thanks,

Gavin

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

                 reply	other threads:[~2002-04-02 11:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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-101774727315869@msgid-missing \
    --to=gavin@raha.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.