From owner-freebsd-questions@FreeBSD.ORG Tue Jun 24 18:42:53 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0849E1065672 for ; Tue, 24 Jun 2008 18:42:53 +0000 (UTC) (envelope-from maslak@ihlas.net.tr) Received: from pop3.ihlas.net.tr (smtp.ihlas.net.tr [213.238.128.249]) by mx1.freebsd.org (Postfix) with SMTP id 40BA08FC1C for ; Tue, 24 Jun 2008 18:42:51 +0000 (UTC) (envelope-from maslak@ihlas.net.tr) Received: (qmail 38646 invoked by uid 89); 24 Jun 2008 18:42:50 -0000 X-Mail-Scanner: Scanned by qSheff-II-2.1 (http://www.enderunix.org/qsheff/) Received: from unknown (HELO ihlasnetym) (maslak@ihlas.net.tr@213.238.150.220) by 0 with SMTP; 24 Jun 2008 18:42:48 -0000 Message-ID: <3d1301c8d62a$1992f110$dc96eed5@ihlasnetym> From: "Yavuz Maslak" To: "Chuck Swiger" References: <3d0101c8d61f$65630ea0$dc96eed5@ihlasnetym> Date: Tue, 24 Jun 2008 21:42:48 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1896 Cc: freebsd-questions@freebsd.org Subject: Re: how to reject all mac addresses except some mac addresses usingipfw? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2008 18:42:53 -0000 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" To: "Yavuz Maslak" Cc: 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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >