Advertisement

There's no such thing as a stupid question, but they're the easiest to answer.
Login
Search

Advertisement

Networking Networking
Search Search
Search for:
Tech Support Guy > > >

How I Find Out My DHCP Hostname?


(!)

Battygurl's Avatar
Battygurl Battygurl is offline
Member with 31 posts.
THREAD STARTER
 
Join Date: Feb 2006
Experience: I should know my stuff :/
13-May-2006, 07:47 PM #1
Question How I Find Out My DHCP Hostname?
Forgive my ignorance,I tried to google for answers,thanks in advance!!
TerryNet's Avatar
Computer Specs
Moderator with 67,256 posts.
 
Join Date: Mar 2005
Location: Ottawa, IL
13-May-2006, 07:59 PM #2
Apparently you may be one of only two people in the world who know what a DHCP Hostname is. Can you give us some hints?

The only thing I could find was this: http://forums.practicallynetworked.c...id=500#post500
Battygurl's Avatar
Battygurl Battygurl is offline
Member with 31 posts.
THREAD STARTER
 
Join Date: Feb 2006
Experience: I should know my stuff :/
13-May-2006, 08:02 PM #3
Thanks!
Quote:
Apparently you may be one of only two people in the world who know what a DHCP Hostname is. Can you give us some hints?
I was askin the forum, i dont know the answer :/
wacor's Avatar
Account Disabled with 27,340 posts.
 
Join Date: Feb 2005
Location: You will never know
Experience: Depends on the definition
13-May-2006, 09:37 PM #4
maybe it might help to ask you in what context you are asking the question?

in other words what makes you ask the question?
hewee's Avatar
Computer Specs
Member with 56,135 posts.
 
Join Date: Oct 2001
Location: Sacto. Ca.
14-May-2006, 12:35 AM #5
CarlssonMB's Avatar
CarlssonMB CarlssonMB is offline
Senior Member with 809 posts.
 
Join Date: Oct 2004
14-May-2006, 10:29 AM #6
Maybe you mean dns hostname?
lotuseclat79's Avatar
Member with 20,583 posts.
 
Join Date: Sep 2003
Location: -71.45091, 42.27841
14-May-2006, 10:41 AM #7
Quote:
Originally Posted by Battygurl
Forgive my ignorance,I tried to google for answers,thanks in advance!!
Hi Battygurl,

Good question!

First, for the sake of discussion, let's assume you are on a corporate network - for a company named XYZ. The Internet website would be something like: http://www.XYZ.com. Within the Intranet (internal network of the company), your computer is given an identifying name, say: battygurl, so your hostname on the Intranet would be: battygurl.XYZ.com, and it would be given a specific Intranet ip address with which it would be associated. Then if battygurl were also your user account name, then your email address on the Internet would be: battgurl@XYZ.com and XYZ's internal software would be able to resolve from your account that when you retrieve your email, it is delivered to your computer named battgurl.XYZ.com to the email account named battygurl.

DHCP or Dynamic Host Configuration Protocol works like this: for each session that a computer comes up on a network, it doesn't know its TCP/IP address, so it broadcasts to the entire segment its on once to say "I need an ip address" which the DHCP server on its segment supplies. DHCP reduces the number of duplicate ip addresses on a network. In the good old days, administrators used to assign internal ip addresses, and as a consequence, duplicate ip addresses would occur - due to human error.

The ip address in effect is leased for the session. When the lease runs out, the workstation software must broadcast again for an ip address.

Your computer's hostname is associated with the ip address. WINS or other server software running on the internal network resolves your computer's ip address and other remote computers ip addresses vs their hostname. Its all TCP/IP related.

You can open up a command prompt window and execute the command: hostname.exe
to find out its name. In the example above, it would, of course, be: battygurl

In Linux/Unix, to set your hostname involves two things:

1. "hostname <whatever>" to set the hostname for the current session, and
2. The "HOSTNAME=" line in /etc/sysconfig/network

-- Tom
__________________
The independence created by philosophical insight is - in my opinion - the mark of distinction
between a mere artisan or specialist and a real seeker after truth. - Einstein 1944
Imagination is more important than knowledge. - Einstein
CarlssonMB's Avatar
CarlssonMB CarlssonMB is offline
Senior Member with 809 posts.
 
Join Date: Oct 2004
14-May-2006, 10:48 AM #8
Well that covers everything, nice explanation lotus
lotuseclat79's Avatar
Member with 20,583 posts.
 
Join Date: Sep 2003
Location: -71.45091, 42.27841
14-May-2006, 10:58 AM #9
Quote:
Originally Posted by CarlssonMB
Maybe you mean dns hostname?
Hi CarlssonMB,

I believe DNS hostnames resolve Internet domain names for hosts with names to route Internet traffic accordingly by the major components of the ip address, and hostnames and Intranet hostnames are resolved otherwise by the internal DHCP, WINS or other name servers keeping track inside the Intranet to route the traffic internal to a network within the domain - if I am not mistaken.

For example, 217.205.4.69 would identify the company as the first two numbers assigned to the company, the 3rd number would identify the 4th subnet within the company, and the last number would identify a particular workstation on the 4th segment, i.e. identified by 69. My point is that DNS servers would only be interested in the first two numbers of the ip address in order to route any communication around the Internet to/from the workstation.

-- Tom
TerryNet's Avatar
Computer Specs
Moderator with 67,256 posts.
 
Join Date: Mar 2005
Location: Ottawa, IL
14-May-2006, 01:36 PM #10
Thanks lotuseclat79!

So, in short, for us Windows amateurs, the DHCP Hostname is what is termed "Full computer name" on the Computer Name tab of My Computer Properties. At least, that's the name that was shown when I executed 'hostname' in a Command Window. Thanks again.
CarlssonMB's Avatar
CarlssonMB CarlssonMB is offline
Senior Member with 809 posts.
 
Join Date: Oct 2004
14-May-2006, 01:51 PM #11
dhcp hostname = FQDN?
valis's Avatar
Moderator with 64,082 posts.
 
Join Date: Sep 2004
Location: as above
14-May-2006, 02:42 PM #12
Quote:
Originally Posted by TerryNet
Thanks lotuseclat79!

So, in short, for us Windows amateurs, the DHCP Hostname is what is termed "Full computer name" on the Computer Name tab of My Computer Properties. At least, that's the name that was shown when I executed 'hostname' in a Command Window. Thanks again.
what i got too.
Couriant's Avatar
Couriant   (James) Couriant is offline Couriant is a Trusted Advisor with special permissions.
Trusted Advisor with 30,920 posts.
 
Join Date: Mar 2002
Location: Chillin in AZ
14-May-2006, 06:43 PM #13
Quote:
Originally Posted by CarlssonMB
dhcp hostname = FQDN?
nope.

That's SERVER01.MICROSOFT.COM as appose to SERVER01.
CarlssonMB's Avatar
CarlssonMB CarlssonMB is offline
Senior Member with 809 posts.
 
Join Date: Oct 2004
15-May-2006, 01:47 PM #14
nevermind, I see, just the machine name
As Seen On

BBC, Reader's Digest, PC Magazine, Today Show, Money Magazine
WELCOME TO TECH SUPPORT GUY!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.


(clock)
THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 


WELCOME
You Are Using: Server ID
Trusted Website Back to the Top ↑

Content Relevant URLs by vBSEO 3.3.2