Re: DHCP server - map to host names?

From: LHradowy (laura.hradowy@NOSPAM.mts.ca)
Date: 04/22/03


From: "LHradowy" <laura.hradowy@NOSPAM.mts.ca>
Date: Tue, 22 Apr 2003 12:42:43 -0500


"John Howells" <John.Howells@marconi.com> wrote in message
news:3EA50AC2.3DD2E5CA@marconi.com...
>
>
> 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

How would I do this for windows clients?



Relevant Pages

  • Re: dhclient in 6.0
    ... Not really, no, except when DHCP options appear to turn off IPv4LL, or ... I think it's pretty obvious you have a rogue client ... if there was a prior lease matching the ... Ironically, ISC DHCP was built from this mindset, from what I read. ...
    (freebsd-stable)
  • Re: Local Lan DNS Problems
    ... > I've only added the two entries below to the ipcop hosts file as I ... > understand, correct me if wrong, that as theothers use DHCP then they ... Dnsmasq cannot assume that the two requests are from the ... without a client ID.) ...
    (comp.os.linux.networking)
  • Re: My Server is not anymore seen on network plese help ?
    ... here is the client ipconfig. ... wich as adress 192.168.1.102 which it is not reachable for some reason ... As you can see the DHCP ... Microsoft Windows Small Business Server 2003 Best Practices Analyzer ...
    (microsoft.public.windows.server.sbs)
  • Re: ActiveSync 4.2 not working on WM5.0 device over USB Serial Function driver
    ... If you have manually set an IP address on the PC and so turned off the DHCP client on the PC, then you will need to manually set a different and valid IP address on the USB port to allow the device to talk TCP/IP to the PC. ... > I have made sure that all the settings are done as per the requirement. ...
    (microsoft.public.pocketpc)
  • Re: DHCP Strangest Problem I ever Seen in my life
    ... I debuged the switches and ... transmitting the DHCP discover etc? ... > 100 MB port fast ... DHCPDiscover (from client) ...
    (microsoft.public.win2000.networking)