In comp.sys.mac.system Ben <ambenyhathawayhotmail.com> wrote:The iMac is acting as it should. The DHCP spec (RFC 2131) specifies that a> To be breif: my iMacs forget their IP address and choose one at
> random whenever the DHCP server disapears. How can I stop this from
DHCP server give a client (your iMac) an IP address and an associated lease.
The lease stipulates how long the iMac is allowed to claim that IP as its
own. When the lease is up, the iMac must give up the IP address and request
a new one.
When it can't find the DHCP server, there are a few things it can do. What
is most common, and what you are probably seeing, is that the NIC (Network
Interface Card, your ethernet interface) will 'self-assign' an IP address,
usually in the 192.168.x.x subnet. This self assignment is designed to
automatically set up private networking, since several NICs on the same
network, without a DHCP server, should all choose one of these IPs, set
their subnet mask appropriately and thus be able to communicate over IP.
I don't think there is a lot you can do about this. It is up to the
administrator of the DHCP server to specify the length of the lease (usually
range from several hours to a few weeks), and if you can't get this changed
you might be stuck! You could skip the DHCP entirely and manually assign
your own settings, based on those you've seen from the server. This could
break if someone else uses the same IP, the network changes subnets
(unlikely?), and may well go against your DHCP administrator's wishes.
| ^Nothing is foolproof to a sufficiently talented fool^ |
| Heath Raftery, HRSoftWorks _\|/_ |