On 2011-10-02, Ireneusz Szcześniak <irek.szczesn...@gmail.com> wrote:
> Dnsmasq is a DHCP and DNS server combined.  As I mentioned before, I 
> can't use a DHCP server.
>
> On 02.10.2011 20:02, H.S. wrote:
>> On 02/10/11 12:31 PM, Ireneusz Szcześniak wrote:
>>> Hi,
>>>
>>> I'm planning to install an image of Debian to a number of computers.
>>> Each of these computers will have the same configuration except the
>>> hostname and the IP address.  The IP configuration has to be static. I
>>> can't use a DHCP server.
>>>
>>> QUESTION; Is there a way to assign a hostname and a static IP address at
>>> boot time depending on the MAC address of the computer's network
>>> interface card?
>>
>> I use dnsmasq for exactly this purpose (my home lan is quite small
>> though). Works quite well.
>

Could you elaborate on why you can't use a DHCP server? I ask this
because you can set up dnsmasq to assign a fixed IP address to a client
based on its hostname or MAC address, and to give clients an infinite
lease. Therefore it offers a convenient way to allocate effectively
static IP addresses from a central location.

-- 
Liam O'Toole
Cork, Ireland


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/slrnj8htci.2d1.liam.p.otoole@dipsy.tubbynet

Reply via email to