Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a Cisco router. The firmware webpage has a tab the displays the DHCP client table. As the name suggests it lists all of the DHCP clients on the network. The first column in the table is the "Client Name". Some devices have names and some don't.

Where does the Client Name come from?
Is that part of the DHCP protocol?
It it an optional parameter in the protocol?

I am developing my own embedded ethernet device and it is one of the items that does not have a client name listed and I am trying to figure out why.

share|improve this question
1  
What kind of devices are these, both the ones with names and w/o? –  user142485 Aug 24 '12 at 16:46
    
@user142485 The ones with names are PC's and an Android phone. One of the ones without a name is my custom device (embedded HTTP server, TCPIP server) and there is one other device without a name that I'm not sure what it is. –  PICyourBrain Aug 24 '12 at 16:56
add comment

2 Answers

up vote 3 down vote accepted

Yes, it probably comes from the DHCP requests.

The DHCP protocol allows a "hostname" field to be added in DHCP requests (for a computer to inform about its name) as well as DHCP acknowledgements (for a DHCP server to assign a different hostname). This is specified in RFC 2132 §3.14 for DHCPv4, and in draft-ietf-dhc-v6opts §3.7 for DHCPv6. Many DHCP servers forward the client-specified hostname to the internal DNS server, and display it in the lease management interfaces.

share|improve this answer
add comment

There term for what is happening is called "Reverse Address Resolution" and it can be handled in many ways:

Likely the devices that show up register themselves with the DNS server it has set, then the DHCP client can either just get shared information from the DNS server if the router is also providing DNS or perform a Reverse DNS Lookup on the DNS server if it is not and find the name of the computer.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.