From: Mike Wright <mike.wright@mailinator.com>
To: netfilter list <netfilter@vger.kernel.org>
Subject: arptables question
Date: Mon, 06 Oct 2014 00:17:23 -0700 [thread overview]
Message-ID: <54324203.9030806@mailinator.com> (raw)
Hi all,
I'm trying to learn arptables.
Theoretical question: a box has two interfaces, 172.16.100.1 and
172.16.200.1. I want each interface to ARP REPLY to ARP who has
requests for all addresses in their /24 space.
Would this accomplish that?
-A FORWARD -j ACCEPT -d 172.16.100.0/24 --destination-mac 66:ec:27:90:78:00
-A FORWARD -j ACCEPT -d 172.16.200.0/24 --destination-mac 36:07:04:99:cd:09
If that's not any would somebody show me the correct rule?
Thanks for any help,
Mike Wright
reply other threads:[~2014-10-06 7:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=54324203.9030806@mailinator.com \
--to=mike.wright@mailinator.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 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.