Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Oct 2008 17:34:34 +0100 (CET)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        Odhiambo Washington <odhiambo@gmail.com>
Cc:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: DHCP and MAC addresses
Message-ID:  <20081027173311.H13073@wojtek.tensor.gdynia.pl>
In-Reply-To: <991123400810270504k745fe683mbca2f58e268ce8fd@mail.gmail.com>
References:  <991123400810270504k745fe683mbca2f58e268ce8fd@mail.gmail.com>

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

> Hello List,
>
> Suppose I have 100 Desktops, and I want my DHCP server to _only_
> assign IP addresses to these hosts, using MAC addresses, is there a
> way to tell the DHCP server to NOT assign any IP address to a machine
> whose MAC address it doesn't know?

of course.

and you can assign IP to each MAC

first

deny unknown-clients;
(dont specify range at all)

then

  host something {
   hardware ethernet 00:11:22:33:44:55;
   fixed-address 1.2.3.4;
   option host-name "something.somewhere";
   option routers router_IP;
  }




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