From owner-freebsd-questions@FreeBSD.ORG Mon Sep 8 07:01:31 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BA0B16A4BF for ; Mon, 8 Sep 2003 07:01:31 -0700 (PDT) Received: from telecom.sarkor.uz (telecom.sarkor.uz [81.95.226.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61FDB43FE9 for ; Mon, 8 Sep 2003 07:01:30 -0700 (PDT) (envelope-from thor@telecom.sarkor.uz) Received: by telecom.sarkor.uz (Postfix, from userid 1000) id 569F0142E5B; Mon, 8 Sep 2003 18:48:54 +0500 (UZT) Date: Mon, 8 Sep 2003 18:48:54 +0500 To: Ceri Davies Message-ID: <20030908134854.GA22089@telecom.sarkor.uz> References: <00aa01c3757a$bf2b9430$0b4e1151@blackbox> <3F5B9086.9020404@mac.com> <447k4kgrt7.fsf@be-well.ilk.org> <20030908075004.GA21373@telecom.sarkor.uz> <20030908122956.GE364@submonkey.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030908122956.GE364@submonkey.net> User-Agent: Mutt/1.3.28i From: thor@telecom.sarkor.uz (Timur) cc: freebsd-questions@freebsd.org Subject: Re: Binding MAC to IP Statically X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2003 14:01:31 -0000 On Mon, Sep 08, 2003 at 01:29:56PM +0100, Ceri Davies wrote: > On Mon, Sep 08, 2003 at 12:50:04PM +0500, Timur wrote: > > > What I'd like to is to be able to assign unused IP > > addresses to some 'invalid' MAC address, so that my router responds with > > 'host unreachable' to incoming packets destined to these addresses.. > > Well, do that then. > > # arp -s 192.168.10.127 02:00:00:00:00:01 > # arp -s 192.168.10.128 02:00:00:00:00:01 > [...] > # ipfw add 1 deny mac 02:00:00:00:00:01 any > # ipfw add 1 deny mac any 02:00:00:00:00:01 > > Ceri Good! Thanks for the tip!