O$ - Determine if machine is using DHCP
CLIFFORD ILKAY
clifford_ilkay at dinamis.com
Fri Apr 3 16:02:32 EDT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alex Clay wrote:
> On Apr 3, 2009, at 2:17 PM, Doug Easterbrook wrote:
>
>> out of interest, why does it matter (or whats the business purpose) of
>> how the machine gets its ip?
>>
>> you can get static addresses from DHCP bound to a mac address or
>> dynamic ones.
>
> It matters if you want to detect that your user is running DHCP on their
> database server and advise them against that practice (causes headache
> re-configuring clients with the server's IP changes).
It wouldn't matter if you had DNS on the network and pointed the clients
to the host name rather than the IP address of the db server. DNS was
invented to deal with that very problem. As Doug pointed out, you could
also provision the same IP address to a given host based upon the MAC
address. When we set up a network, typically, there is only one machine
with a static IP address, the machine that is serving dhcp requests.
Every other machine on the network can and should be
dynamically-assigned, even if we're assigning the same IP address to
them every time.
- --
Regards,
Clifford Ilkay
Dinamis
1419-3266 Yonge St.
Toronto, ON
Canada M4N 3P6
<http://dinamis.com>
+1 416-410-3326
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJ1mtYlUaSlL+/juwRAtoyAKDJn+JUTUru7v1lzmtyiA+tEwMUgACfUax3
J8SG2VcSCKmJdO/qrTbT+Do=
=Q+7N
-----END PGP SIGNATURE-----
More information about the omnisdev-en
mailing list