Skip to contentSkip to conversation

arptables question

DISCUSSION Mike Wright 1 participant 1 message Oct 6, 2014

lore
Share & tools
lore
#0 lore 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