Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Pascal Hambourg <pascal.mail@plouf.fr.eu.org>
To: Jacky Lam <lamshuyin@gmail.com>
Cc: netfilter@vger.kernel.org
Subject: Re: Ebtables usage
Date: Wed, 16 Feb 2011 09:50:58 +0100	[thread overview]
Message-ID: <4D5B8FF2.2000806@plouf.fr.eu.org> (raw)
In-Reply-To: <AANLkTikarsE3D+pyj_xKtR1F-Dy32+BKCiKWRZo18HMC@mail.gmail.com>

Jacky Lam a écrit :
> I want to share a network service by two computers but I don't have
> any extra router or switch, but one computer has 2 ethernet cards and
> running Linux. But that computer is old and slow. So I want to know if
> I can set up that computer as a ethernet level switch/bridge.

What kind of network service ? Is that service running on the old computer ?
You can set up a computer as an ethernet bridge, but that old computer
may not be fast enough to handle gigabit traffic.

> That means I am done right (except the two rules at the beginning) to
> setup a ethernet switch? I don't need to setup any rules by iptables
> or ebtables?

You need iptables and ebtables rules for IP and ethernet packet
filtering and mangling. You don't need them if the box does only plain
routing or bridging.

  reply	other threads:[~2011-02-16  8:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-15  9:04 Ebtables usage Jacky Lam
2011-02-15  9:48 ` Pandu Poluan
2011-02-15 10:06   ` Jacky Lam
2011-02-15 10:47     ` Pascal Hambourg
2011-02-15 22:53       ` Jacky Lam
2011-02-16  8:50         ` Pascal Hambourg [this message]
2011-02-16  9:32           ` Jacky Lam
2011-02-17 11:28             ` Pascal Hambourg

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=4D5B8FF2.2000806@plouf.fr.eu.org \
    --to=pascal.mail@plouf.fr.eu.org \
    --cc=lamshuyin@gmail.com \
    --cc=netfilter@vger.kernel.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