All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] mac address
@ 2002-04-02 11:33 Gavin
  0 siblings, 0 replies; only message in thread
From: Gavin @ 2002-04-02 11:33 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-04-02 11:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-02 11:33 [LARTC] mac address Gavin

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.