Dual-Boot Client Systems
A dual-boot client system is a computer on which a user is switching between two
different operating systems. For example, you might have an Intel-based system with
a partitioned disk that has Windows loaded in one partition and Linux loaded in
another partition. You can choose which operating system to use when the system
first starts up. Because the two operating systems are completely independent of one
another, they use two separate DHCP clients, each with its own state.
In some cases, those two different operating systems generate an identical client
identifier (typically from the link-layer address); the DHCP server is then unable to
distinguish one operating system from the other. Each operating system may,
however, have a different expiration time for the lease, even though they share the
same IP address.
Sometimes the operating systems on dual-boot systems have different DHCP client
identifiers. Most commonly, one operating system generates a client identifier from
the link-layer address and the other does not use a client identifier at all. In this case,
many DHCP servers see these two operating systems as fundamentally different
DHCP clients and give each of them a different IP address. Treating a dual-boot
system as two different DHCP clients may be an advantage if, for example, one of
the operating systems provides services that the other does not provide. However,
because each operating system has its own IP address, each dual-boot system
consumes two addresses, which might exhaust the pool of available addresses.
Chapter 23, “Updating the DNS with DHCP,” describes problems with dual-boot
machines that take advantage of DHCP–DNS dynamic updates. Briefly, if you are
using dual boot with dynamic DNS updates, you should be sure that either the two
operating systems use different client identifiers and different hostnames, or that
they use the same client identifier and the same hostname.
Duplicate IP Addresses
When two network interfaces are configured with the same IP address, problems
result. A DHCP server does not give one client a lease on an IP address while some
other client still holds a valid lease on that same address. However, a network user
could misappropriate an IP address without using DHCP by knowing the network
number and subnet mask and testing each valid IP address on the subnet until he or
she found one that is not in use. If the DHCP server subsequently assigned that IP
address to a DHCP client, both the client and the manually configured computer
would be using the same IP address simultaneously.
Some DHCP servers try to avoid allocating duplicate IP addresses by sending an
ICMP echo message to the address before allocating it to a client. If the server
receives a response, the address is already in use. The server marks the address as
Duplicate IP Addresses 427
028 3273 CH24 10/3/02 4:57 PM Page 427