From mboxrd@z Thu Jan 1 00:00:00 1970 From: "M. Ziya Ozudogru" Subject: mac/ip match Date: 18 Sep 2003 21:26:00 +0300 Sender: netfilter-admin@lists.netfilter.org Message-ID: <1063909559.19096.12.camel@tux> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: netfilter@lists.netfilter.org Hi Any hints about the following problem will be appreciated. Thanks a lot... I want to assure that only given ip/mac matches will access to the internet (i mean if someone takes the ip that does not belong to his/her mac address no access will be given) . I will give the ip to the mac address by the dhcp.. In my knowledge, i want to set these ip/mac groups using the command: arp -s ip mac and i want to redirect unused ip to an unused mac with the same way... Here comes the problem.. How can i define in iptables to use these arp rules and give access only the one addresses that match the rules and should block all the others ( well i want to block the others [unused ip addresses by using iptables mac macth module ] ) . ? Any hints ? Thanks for your valuable help...