From: Pascal Hambourg <pascal.mail@plouf.fr.eu.org>
To: netfilter@lists.netfilter.org
Subject: Re: NAT to one net, bridge to another
Date: Thu, 14 Sep 2006 14:53:57 +0200 [thread overview]
Message-ID: <450950E5.40609@plouf.fr.eu.org> (raw)
In-Reply-To: <200609141307.45172.mike@v6.gaima.co.uk>
Mike Williams a écrit :
>
>>The bridge catches incoming ethernet frames before the IP stack can see
>>them. So an ethernet frame forwarded from colo to public does not hit
>>the IP stack, unless it is an ethernet broadcast.
>
> Or destined for an IP/MAC assigned to the bridge interface?
If a unicast ethernet frame is destined for the MAC address assigned to
the bridge interface, there is no reason that it is forwarded from an
interface of the bridge to another. Ethernet broadcast is an exception
because the frame is forwarded to all the other interfaces of the bridge
and to the IP stack. I guess that multicast ethernet frames have a
special processing too, but I don't know much about this subject.
> That also explains the necessity for ebtables in addition to ip[6]tables.
Yes, ip[6]tables works at the the network layer (routing) and ebtables
at the link layer (bridging).
prev parent reply other threads:[~2006-09-14 12:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-08 11:50 NAT to one net, bridge to another Mike Williams
2006-09-14 6:51 ` Jan Engelhardt
2006-09-14 11:41 ` Pascal Hambourg
2006-09-14 12:07 ` Mike Williams
2006-09-14 12:53 ` Pascal Hambourg [this message]
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=450950E5.40609@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.