Re: IP address depending on the MAC
- From: Raf Czlonka <rjc@xxxxxxxxxxxxx>
- Date: Sun, 2 Oct 2011 21:37:33 +0100
On Sun, Oct 02, 2011 at 05:31:59PM BST, Ireneusz Szcześniak wrote:
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 was about to suggest preseeding as well - works great if you combine
it with pxelinux, even if you need to set up a DHCP server on a small
subnet only for that purpose. But if it doesn't, your option is a
script - try some scripts/rules from ifupdown* packages and/or maybe
combined them with one of the IP autoconfig utils found in Debian.
Regards,
--
Raf
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/20111002203733.GA21107@xxxxxxxxxxxxx
- Follow-Ups:
- Re: IP address depending on the MAC
- From: Ireneusz Szcześniak
- Re: IP address depending on the MAC
- References:
- IP address depending on the MAC
- From: Ireneusz Szcześniak
- IP address depending on the MAC
- Prev by Date: Re: Where are the installer images for release 5.0.9 of lenny (old stable)
- Next by Date: Re: key shortcut rendering xterm console full screen
- Previous by thread: Re: IP address depending on the MAC
- Next by thread: Re: IP address depending on the MAC
- Index(es):
Relevant Pages
|