Assign multiple IPs to a single interface using DHCP

|

Is it possible to assign mutliple IP addresses to a single interface using DHCP? The man page for dhcpd.conf suggests one can, but I haven't figured out how to do this. This is desirable so that we can multi-home our hosts to the internal/external IPs on the shared segment and not need to cross a router boundry for things like NFS file shares.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

this is what suggests one could do this

this is what suggests one could do this. In the dhcpd.conf man page reference section for the "host" declerations:

The host statement

host hostname {
[[ parameters ]
[[ declarations ]
}
...
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
parameter, or more than one host statement may be speci-
fied.