Re: DHCP server - map to host names?
From: John Howells (John.Howells@marconi.com)
Date: 04/22/03
- Next message: Florian Anwander: "Re: /bin/ksh not found"
- Previous message: Derk Gwen: "Re: /bin/ksh not found"
- In reply to: Dave Miner: "Re: DHCP server - map to host names?"
- Next in thread: LHradowy: "Re: DHCP server - map to host names?"
- Reply: LHradowy: "Re: DHCP server - map to host names?"
- Reply: Devin L. Ganger: "Re: DHCP server - map to host names?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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
- Next message: Florian Anwander: "Re: /bin/ksh not found"
- Previous message: Derk Gwen: "Re: /bin/ksh not found"
- In reply to: Dave Miner: "Re: DHCP server - map to host names?"
- Next in thread: LHradowy: "Re: DHCP server - map to host names?"
- Reply: LHradowy: "Re: DHCP server - map to host names?"
- Reply: Devin L. Ganger: "Re: DHCP server - map to host names?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|