Date: Tue, 24 Jun 2008 11:01:45 -0700 From: Chuck Swiger <cswiger@mac.com> To: Yavuz Maslak <maslak@ihlas.net.tr> Cc: freebsd-questions@freebsd.org Subject: Re: how to reject all mac addresses except some mac addresses using ipfw? Message-ID: <E866FCED-6BE9-4B3A-9790-7D0580612773@mac.com> In-Reply-To: <3d0101c8d61f$65630ea0$dc96eed5@ihlasnetym> References: <3d0101c8d61f$65630ea0$dc96eed5@ihlasnetym>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E866FCED-6BE9-4B3A-9790-7D0580612773>