Binding MAC to IP Statically

Timur thor at telecom.sarkor.uz
Mon Sep 8 07:01:31 PDT 2003


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!



More information about the freebsd-questions mailing list