Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Sep 2003 13:29:56 +0100
From:      Ceri Davies <setantae@submonkey.net>
To:        Timur <thor@telecom.sarkor.uz>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Binding MAC to IP Statically
Message-ID:  <20030908122956.GE364@submonkey.net>
In-Reply-To: <20030908075004.GA21373@telecom.sarkor.uz>
References:  <00aa01c3757a$bf2b9430$0b4e1151@blackbox> <3F5B9086.9020404@mac.com> <447k4kgrt7.fsf@be-well.ilk.org> <20030908075004.GA21373@telecom.sarkor.uz>

next in thread | previous in thread | raw e-mail | index | archive | help

--bajzpZikUji1w+G9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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
--=20
User: DO YOU ACCEPT JESUS CHRIST AS YOUR PERSONAL LORD AND SAVIOR?
Iniaes: Sure, I can accept all forms of payment.
                                           -- www.chatterboxchallenge.com

--bajzpZikUji1w+G9
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/XHZEocfcwTS3JF8RAhbQAJ44bVWeN89ie/cuj27ewhqBx17ZCQCgpGWS
DN9MttD512KFyyAK4L9L0LM=
=+vPu
-----END PGP SIGNATURE-----

--bajzpZikUji1w+G9--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030908122956.GE364>