Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to set DHCP / computer name on iMac

Posted on 2011-09-11
25
Medium Priority
?
1,055 Views
Last Modified: 2012-05-12
How do I change or enter the DHCP name of an iMac so that when I login to my home router, I can see that the iMac has connected?  At present, I think it is the one which is not showing any name.

I have the new iMac using the Lion OS.

0
Comment
Question by:abdb469
  • 11
  • 11
  • 2
  • +1
25 Comments
 
LVL 80

Accepted Solution

by:
arnold earned 1600 total points
ID: 36519813
0
 

Author Comment

by:abdb469
ID: 36519893
is computer name and host name the same thing?  I didnt understand the instructions on the page.  Pls explain.
0
 
LVL 80

Expert Comment

by:arnold
ID: 36519927
They are one and the same.  use the post guiding you through the use of the system preferences to set the sharing computer name.
I think by default there is no hostname which means that when you view the DHCP server/listing you see a blank or * and then an Ethernet Address (MAC Address) in the form of xx:xx:xx:xx:xx:xx.
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 20

Expert Comment

by:n2fc
ID: 36519935
Yes, they are!
0
 

Author Comment

by:abdb469
ID: 36519966
if they are one and the same, then the existing computer name "Dan's iMac" is not showing in the router.
0
 
LVL 80

Expert Comment

by:arnold
ID: 36520749
Dan's iMac might not be what the hostname is set to.

If you open a terminal and run the hostname command, it will likely be empty of *.
Follow the system preferences and see.
Dan's iMac is that the label on the Hard Drive?
0
 

Author Comment

by:abdb469
ID: 36521239
Sorry I'm new to macs, what do you mean by opening a "terminal"?
0
 
LVL 80

Expert Comment

by:arnold
ID: 36522146
http://www.mac512.com/osx/systempref.htm

Go through system preferences and set the hostname within network identity.
0
 
LVL 10

Assisted Solution

by:EdTechy
EdTechy earned 400 total points
ID: 36522598
Open system preferences and then click on Network. On the left, click on Wifi. In the lower right click on Advanced. Click on the TCP/IP tab. Enter your computer name in the DHCP ClientID box. That name should now show on your router.
0
 

Author Comment

by:abdb469
ID: 36526632
Ed,
I think your suggestion is the right one as I just found it whilst playing around before looking at your thread again, but having added a client ID and refreshing the router page again, the client id still does not show on the router.

0
 
LVL 80

Expert Comment

by:arnold
ID: 36526650
Did you reboot the system in between?  You can try the release/renew.?
The ID is set when the IP is acquired. Subsequnet are just renewal notices saying I have IP X is it ok for me to keep it?
0
 
LVL 10

Expert Comment

by:EdTechy
ID: 36529163
Go back to the preferences and see if the id is still set. You have to click ok and when that window goes away, click Apply on the main network preferences page. It is also possible that your router does not pick up the id from mac. Just guessing on that though.
0
 

Author Comment

by:abdb469
ID: 36595123
yes, done all that but still doesnt show in the router.
0
 
LVL 80

Expert Comment

by:arnold
ID: 36596309
Try deleting the router entry for the mac address/IP and then get the Mac request/renew the IP.

0
 

Author Comment

by:abdb469
ID: 36597512
how do you delete the router entry, I dont think its possible.  Only way is to restart the router I believe so that existing data stats are wiped.

Also what happens if for example I have the ethernet cable from the router going into a Vonage (voice over IP telephone) device and that vonage device has another ethernet output which then links to a different computer (so that the computer can daisey wheel of the back of the Vonage).  Does this appear as only one mac address i.e. Vonage's in the main router settings or will I see 2 mac addresses?  

I know I can obviously check myself, but I've never seen a DHCP name for the vonage device and furthermore there are 2 blank clients showing on the router page.  
0
 
LVL 80

Expert Comment

by:arnold
ID: 36598967
I think the vonage connection is a pass through.
Since your router allocates the IPs, there should be a place that lists all the reserved/allocated IPs and where you can delete the entry.

Which router are you dealing with?

You can use the MAC address at http://www.coffer.com/mac_find/ to determine to which manufacturer this device/system belongs.
0
 

Author Comment

by:abdb469
ID: 36954184
I'm using a belkin router.  What do you mean by pass through; that the IP address of the computer connected to the vonage device is not being shown because it is going bia the vonage box?
0
 
LVL 80

Expert Comment

by:arnold
ID: 36955881
Possibly Yes, It depends on the functionality of the vonage box which I think is acting as a router or it just forwards the requests your computer makes.
.
Presumably this is what your setup looks like
Internet <=> belkin <=> Vonage <=> Mac
Though I am uncertain why you do not have the following setup

                              Vonage Box
                               /
Internet <=> belkin
                               \
                              Mac
0
 

Author Comment

by:abdb469
ID: 37038301
It's like this.

                                  PC 2
                                 /
                Vonage Box
                               /
Internet <=> belkin ------- PC 1
                               \
                              Mac
0
 
LVL 80

Expert Comment

by:arnold
ID: 37039148
And the belkin router is not reflecting the hostname for the Mac after you made the changes?
0
 

Author Comment

by:abdb469
ID: 37118026
It does, intermittently.  
0
 
LVL 80

Expert Comment

by:arnold
ID: 37118054
What is the length of the IP lease?
Does the intermittently have to do with the belkin being rebooted?
i.e. your lease time is 7 days, and in the event the belkin is rebooted within this seven days windows, it reflects that something is using x.x.x.x but not reflecting the name?

This can be explained by the mechanism that the Mac already has an IP leased to it so it does not send a request for an IP it either simply using it and the belkin reflects the IP/Mac based on usage, or after the lease expires, the Mac merely issues a DHCP renew request which the belkin approves, but does not retain the hostname originally provided to get the IP.
This can be confirmed:
1) reboot the belkin and the Mac. IP assigned, hostname reflected?
2) the belkin works continously as is the Mac, the lease expires and the Mac renews the IP but the belkin does not reflect the hostname?
3) rebot the belikin, while the mac remains up, does the client list reflect the IP but not the hostname?
0
 

Author Comment

by:abdb469
ID: 37196333
this is getting a little more technical than I am used to.  what do you mean by lease time?
0
 
LVL 80

Expert Comment

by:arnold
ID: 37197595
One of the options within DHCP is the duration for which the Allocated IP is assigned.
i.e. you turn computer A on. It requests an IP from the DHCP server and gets IPA which includes the period of time computer A has "rights" (lease time) for the IP.  when the lease expires, computer A will go through the process of renewing the IP it has, if the DHCP server already allocated the IP, the request to renew will be rejected and computer A will go through the process of obtaining a new IP.

http://www.tcpipguide.com/free/t_DHCPLeaseLifeCycleOverviewAllocationReallocationRe.htm

The issue could be that the belkin flushed the host/IP when the Lease expires, such that when the Mac attempts to renew which it might, the belkin only has the IP that is being renewed and since it flushed the hostname/IP from the original request, all that remains is the MAC Address and the IP the mac has, the hostname is not there.
0
 

Author Closing Comment

by:abdb469
ID: 37287908
sorry didnt have time to fully test this, but will close the q anyway.  thx.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
An introduction to the wonderful sport of Scam Baiting.  Learn how to help fight scammers by beating them at their own game. This great pass time helps the world, while providing an endless source of entertainment. Enjoy!
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question