[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Multiple address the same client - dhpcd.conf

Dhcp can configure only one ip per mac address (no alias ip support) you must specify two hosts with two diferent mac address in config file.

If you have one mac (nic card) use a post script in host entry to configure on the same mac a fixed ip and an alias (virtual) ip.

   "You don't know where your shadow will fall",
  Olaf Reitmaier Veracierta (BB) <olafrv@gmail.com>

-----Original Message-----
From: marcus <marcus.jabber@gmail.com>
Date: Fri, 5 Mar 2010 16:04:58 
To: <debian-user@lists.debian.org>
Subject: Multiple address the same client - dhpcd.conf

I need to add two ip address for the same linux client in my network. I use 
debian lenny and dhcpd3.

Looking for help, I read the following text at the dhcpd.conf manual.

#man dhcpd.conf

"If it is desirable to be able to boot a DHCP or BOOTP client on more than one 
subnet with fixed addresses, more than one address may be specified in the fixed-
address declaration, or more than one host statement may be specified matching 
the same client. "

So, I wrote my host declaration as showed above:

host marcus {
option host-name "marcushost";
hardware ethernet  xx:xx:xx:xx:xx:xx;
option routers;
option domain-name-servers,;
option netbios-name-servers;

 and I got following error message

"/etc/dhcp3/dhcpd.conf line 1525: Only one fixed address declaration per host."

I didnt understand that. 

And If I make two host declarations, my client just get ip address on the first 
declaration, not both it.

So, can somebody help?

()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments

Why is it evil? --> http://www.georgedillon.com/web/html_email_is_evil.shtml

To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201003051604.58954.marcus.jabber@gmail.com">http://lists.debian.org/201003051604.58954.marcus.jabber@gmail.com

Reply to: