All of lore.kernel.org
 help / color / mirror / Atom feed
From: sean <seandarcy2@gmail.com>
To: netfilter@lists.netfilter.org
Subject: Re: how do I set the MAC address in POSTROUTING?
Date: Fri, 01 Dec 2006 10:17:20 -0500	[thread overview]
Message-ID: <ekph22$1va$1@sea.gmane.org> (raw)
In-Reply-To: <200612010153.55904.Daniel@musketa.de>

Daniel Musketa wrote:
> On Friday 01 December 2006 01:23, sean wrote:
>>   MAC-ADDRESS-TEST: IN=ppp0 OUT= MAC= SRC=ww.xx.yy.zz
> 
>> Is this even an iptables issue? 
> 
> AFAIK MAC addresses are used in ethernet to address ethernet frames. On ip 
> routed ppp0 no ethernet frames arrive.
> 
> Daniel
> 

OK. If that's the case, then the --mac-source target would 
only work on a LAN, not over the ethernet. This would mean 
thatthe --mac-sourse target has very limited use - only on 
local LANs.

But there is still a place for a MAC address. How can I  put 
one in the packet on the client side? This would allow me to 
use it over the internet.

sean





  reply	other threads:[~2006-12-01 15:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-01  0:23 how do I set the MAC address in POSTROUTING? sean
2006-12-01  0:53 ` Daniel Musketa
2006-12-01 15:17   ` sean [this message]
2006-12-01 15:49     ` Pascal Hambourg
2006-12-10 16:44       ` sean
2006-12-10 19:52         ` Pascal Hambourg
2006-12-11  6:29         ` Cedric Blancher

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='ekph22$1va$1@sea.gmane.org' \
    --to=seandarcy2@gmail.com \
    --cc=netfilter@lists.netfilter.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.