On Tuesday 13 March 2007 22:13, Paul Abrahams wrote:
In fact I have fixed IP addresses assigned using my router's DHCP configuration page, but I don't like the idea of counting on that -- it just seems unnecessarily rigid. Try not to think of static reservations as a rigid method of implementing DHCP, but rather a flexible way to implement static IP's. Static reservations are also quite reliable.
Fully dynamic to me means that your configuration continues to work no matter how the router decides to assign the DHCP addresses --- even in the case, say, where you're adding machines to the LAN or removing them unpredictably. Agreed. Static reservations are a bit of a compromise with a fully dynamic configuration.
I wonder -- if I remove all my machines from the LAN for a month (so the router forgets the configuration) and reconnect them in a different order than I did originally, will the IP addresses still stay the same? Yes. If you are really using static reservations, the router will not "forget" them. It is often the client that keeps the address the same. When a DHCP client renews its address, it will first send a unicast to the previous DHCP server requesting a renewal or new lease of the same IP that it last had.
I thought the way DHCP works is that when the router sees a machine it hasn't seen before, it assigns it the lowest available IP number in the DHCP range. Most do this. (Assuming, of course, that no reservation exists for that MAC address, and the client did not request a different address)
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org