Re: IP address depending on the MAC



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.




--

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/j6a8up$niv$1@xxxxxxxxxxxxxxx



Relevant Pages

  • Re: IP address depending on the MAC
    ... Each of these computers will have the same configuration except the ... Is there a way to assign a hostname and a static IP address at ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: IP address depending on the MAC
    ... Each of these computers will have the same configuration except the ... Is there a way to assign a hostname and a static IP address at ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: IP address depending on the MAC
    ... Each of these computers will have the same configuration except the ... I can't use a DHCP server. ... Is there a way to assign a hostname and a static IP ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: IP address depending on the MAC
    ... I'm planning to install an image of Debian to a number of computers. ... these computers will have the same configuration except the hostname and the ... Is there a way to assign a hostname and a static IP address at ... $ cat /etc/init.d/10setnetworkonlyfirstboot ...
    (Debian-User)
  • IP address depending on the MAC
    ... Each of these computers will have the same configuration except the hostname and the IP address. ... 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? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)