[CentOS] DHCP static hosts and subnet configuration
John
jses27 at gmail.com
Sun Oct 19 18:24:05 UTC 2008
JohnStanley Writes:
>From the dhcp.conf.5 manual. This seems like it would skin the cat for your
needs Specify this in each Scope and you should be set. It will allow you to
have the two different addresses from two different SNs. That is as Per the
the Man Pages (lots o digging). Has to also be in a host declaration
The fixed-address declaration
fixed-address address [, address ... ];
The fixed-address declaration is used to assign one or more fixed
IP
addresses to a client. It should only appear in a host
declaration.
If more than one address is supplied, then when the client boots,
it
will be assigned the address that corresponds to the network on
which
it is booting. If none of the addresses in the fixed-address
state-
ment are valid for the network to which the client is connected,
that
client will not match the host declaration containing that
fixed-
address declaration. Each address in the fixed-address
declaration
should be either an IP address or a domain name that resolves to
one
or more IP addresses.
More information about the CentOS
mailing list