Re: DHCP server - map to host names?

From: John Howells (John.Howells@marconi.com)
Date: 04/22/03


From: John Howells <John.Howells@marconi.com>
Date: Tue, 22 Apr 2003 10:26:26 +0100


Dave Miner wrote:

> This isn't quite true, in that the DHCP server allocates address to a client's
> identifier; usually this is defaulted to being based on the MAC address, but
> some clients (such as Solaris and the ISC client for Linux and other Unixes) can
> be set to send an arbitrary string as the client identifier, and this could be a
> hostname in those cases.

Ah, I'd forgotten about that one. So the answer is:

If you can't edit each client configuration or the client configuration
does not support a user defined client id you can't.

Otherwise:

(i) On a Sun client edit /etc/default/dhcpagent and add a
"CLIENT_ID=fred" line. On an ISC or other client that allows it do the
equivalent (and I have no idea what that is!).

(ii) On the Server add a MANUAL entry to the appropriate network table
with the hex value of "fred" (66726564) as the client id.

But this does assume that (a) it is possible and allowed to edit each
client appropriately, and (b) that all the clients allow this. In some
ways having to edit each client negates some of the point of DHCP, since
if you are going to edit each client you might as well give it its IP
address anyway, though clearly using DHCP then makes it is possible to
change the address more easily if the need should ever arise.

John Howells



Relevant Pages

  • Re: Company Web
    ... If we are talking about the default web page hosted by the default web site ... > Damian, can I directly edit the html file and change the link? ... >> going through ISA Web publishing so the client gets the public link on the>> fly. ...
    (microsoft.public.windows.server.sbs)
  • Re: TADOTable exception when post second time
    ... >Then I press the edit button again, edit the values in the data-aware ... The first time you post the data the preEdit client values find a match on the ... Your choices are adCriteriaKey, adCriteriaAllCols, ...
    (borland.public.delphi.database.ado)
  • Re: need some quick advice
    ... When I was in independent contrator, I made sure my contract had a clause ... maintaining any pages that the client altered. ... > something she can edit without any software. ...
    (microsoft.public.frontpage.client)
  • Re: Fix your newsreader settings!
    ... Posts are easy to edit with OE. ... How to turn of the _automatic_ addition of a signature and instead ... - Microsoft messed up when they decided to make OE both a mail client ...
    (rec.models.railroad)
  • Re: Firewall exceptionlist with GP
    ... You can do that if you edit the Group Policy from a Windows XP SP2 computer ... Open mmc and add the Group Policy snapin and browse over to the domain GPO ... > program exception list and ports for that client. ...
    (microsoft.public.windows.group_policy)