All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pascal Hambourg <pascal.mail@plouf.fr.eu.org>
To: netfilter@lists.netfilter.org
Subject: Re: how do I set the MAC address in POSTROUTING?
Date: Sun, 10 Dec 2006 20:52:48 +0100	[thread overview]
Message-ID: <457C6590.7070103@plouf.fr.eu.org> (raw)
In-Reply-To: <457C395F.1000702@gmail.com>

sean a écrit :
> 
> The internet routers just look at the ip address, so I wouldn't think 
> they'd strip out the MAC address, do they?

Routers *do* strip the source and destination MAC addresses (and any 
other layer 2 specific information) when forwarding an IP packet. If 
applicable, the source MAC address is replaced by the MAC address of the 
router output interface and the destination MAC address is replaced by 
the next hop interface MAC address. That's what I meant when saying that 
layer 2 information is not routed.



  reply	other threads:[~2006-12-10 19:52 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
2006-12-01 15:49     ` Pascal Hambourg
2006-12-10 16:44       ` sean
2006-12-10 19:52         ` Pascal Hambourg [this message]
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=457C6590.7070103@plouf.fr.eu.org \
    --to=pascal.mail@plouf.fr.eu.org \
    --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.