Host declaration for multiple hardware interfaces and multiple

Neff_Glen at emc.com Neff_Glen at emc.com
Fri Jan 9 23:19:53 UTC 2009


I administer a lab full dual-homed hosts that get static assignments via DHCP.  My entries look like this:

host rtp909185 { hardware ethernet 00:80:17:84:61:DA; fixed-address 10.6.9.185; option host-name "rtp909185"; }
host ib1sol909185 { hardware ethernet 00:00:5a:9a:51:78; fixed-address 10.6.22.136; }
#
host rtp909186 { hardware ethernet 00:80:17:84:61:A4; fixed-address 10.6.9.186; option host-name "rtp909186"; }
host ic1sol909186 { hardware ethernet 00:00:5a:9a:38:18; fixed-address 10.6.23.130; }
#
host rtp909187 { hardware ethernet 00:80:17:84:62:06; fixed-address 10.6.9.187; option host-name "rtp909187"; }
host i71sol909187 { hardware ethernet 00:00:5a:9a:2e:fc; fixed-address 10.6.18.121; }
#

In dhcpd.conf land, 'host' is not to be confused with 'host-name'.

-G

/*
 * Glen R. J. Neff
 * RTP TSG Lab Team
 * neff_glen at emc.com
 *
 * EMC^2 == E^2
 */



-----Original Message-----
From: dhcp-users-bounces at lists.isc.org on behalf of Bruce Hudson
Sent: Fri 1/9/2009 3:51 PM
To: dhcp-users at lists.isc.org
Subject: Re: Host declaration for multiple hardware interfaces and multiple
 
> As far as I can tell, each host name can have at most one
> "fixed-address" and one "hardware ethernet" parameter but maybe I'm
> missing something obvious.

    A host can definitely have more than one "fixed-address". The trick
is to include all of the addresses in a single declaration.

	host whatever {
	    hardware ethernet 0:1:2:3;4:5;
	    fixed-address 10.0.1.100,10.0.2.100;
	}

The server will use an address appropriate to where the request came
from. 
--
Bruce A. Hudson				| Bruce.Hudson at Dal.CA
UCIS, Networks and Systems		|
Dalhousie University			|
Halifax, Nova Scotia, Canada		| (902) 494-3405
_______________________________________________
dhcp-users mailing list
dhcp-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users


-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 3595 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20090109/53dfefc7/attachment-0001.bin>


More information about the dhcp-users mailing list