how to reject all mac addresses except some mac addresses usingipfw?

Yavuz Maslak maslak at ihlas.net.tr
Tue Jun 24 18:42:53 UTC 2008


I got my second question.
But  I should have asked different my first question.
I have meant that how can I restrict to use an ip address which I already
assigned to a computer, anyone can use at his pc?
----- Original Message ----- 
From: "Chuck Swiger" <cswiger at mac.com>
To: "Yavuz Maslak" <maslak at ihlas.net.tr>
Cc: <freebsd-questions at freebsd.org>
Sent: Tuesday, June 24, 2008 9:01 PM
Subject: Re: how to reject all mac addresses except some mac addresses
usingipfw?


> On Jun 24, 2008, at 10:26 AM, Yavuz Maslak wrote:
> > 1- I want to fix an ip address for each mac address. But some pc and
> > servers have more than an ip address. How can I map multiple ip
> > addresses for a mac address?
>
> Most people use ifconfig, perhaps indirectly via /etc/rc.conf.
>
> > 2- I want to allow these fixed mac addresses using ipfw. After that
> > I want to deny all mac address via the server's local ethernet
> > card.  How can I do these cases?
>
> Few choose to go that route, but you can disable ARP and set up /etc/
> ethers, or you could even fire up your favorite firewall (IPFW, PF,
> whatever), and add allow rules for the permitted MAC addresses, and
> deny all others.
>
> -- 
> -Chuck
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"
>



More information about the freebsd-questions mailing list