Linux Netfilter discussions
 help / color / mirror / Atom feed
From: sean <seandarcy2@gmail.com>
To: netfilter@lists.netfilter.org
Subject: how do I set the MAC address in POSTROUTING?
Date: Thu, 30 Nov 2006 19:23:07 -0500	[thread overview]
Message-ID: <eknslc$rpq$1@sea.gmane.org> (raw)

I want to use -m mac --mac-source on our server. 
Unfortunately,  lots of packets are coming in without the 
MAC address set:

  MAC-ADDRESS-TEST: IN=ppp0 OUT= MAC= SRC=ww.xx.yy.zz 
DST=zz.yy.xx.ww LEN=52
  TOS=0x00 PREC=0x00 TTL=51 ID=41426 DF PROTO=TCP SPT=52437 
DPT=445 WINDOW=63 RES=0x00 ACK URGP=0

This is from a linux client.

How do I set up the client to insert its MAC address? Can I 
use some mange voodoo on the client PSOTROUTING chain?

Is this even an iptables issue? Is the MAC address being 
stripped out somewhere?

sean



             reply	other threads:[~2006-12-01  0:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-01  0:23 sean [this message]
2006-12-01  0:53 ` how do I set the MAC address in POSTROUTING? Daniel Musketa
2006-12-01 15:17   ` sean
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='eknslc$rpq$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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox