netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* arptables question
@ 2014-10-06  7:17 Mike Wright
  0 siblings, 0 replies; only message in thread
From: Mike Wright @ 2014-10-06  7:17 UTC (permalink / raw)
  To: netfilter list

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-10-06  7:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-06  7:17 arptables question Mike Wright

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).