Computing.Net > Forums > Networking > names not ips on my network

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

names not ips on my network

Reply to Message Icon

Name: djx01dlob
Date: July 21, 2004 at 13:56:25 Pacific
OS: Windows XP Pro/Home
CPU/Ram: 256mb's / 64 mb's
Comment:

Hi!

I havbe 2 computers on a network one running xp hom and the other xp pro

I would lke o be able to have each computer have like a name instead of ip.

Neither computer is on the internet its just an offline network

I have one setup as like a webserver for the network and i would also like to have a name to acess it rather than ahving to type in the ip of the server computer.

Hope somebody can help

Darren



Sponsored Link
Ads by Google

Response Number 1
Name: Don Arnett
Date: July 21, 2004 at 14:11:48 Pacific
Reply:

You can't 'not have an IP', but you can set it so that you can use the name instead of the IP.

Edit this file:

WINNT/System32/drivers/etc/hosts


Put in entries like this for each computer:

192.168.1.53 computername1
192.168.1.55 computername2

I believe that is all that you need. You should be able to use the name instead of the IP in most cases.


0

Response Number 2
Name: djx01dlob
Date: July 21, 2004 at 14:13:33 Pacific
Reply:

I thought i need some sort of DNS or something.

Whawt about the webserver. I want to be able to acces that on the other computer on teh netwrok by typing in say something.com

Darren


0

Response Number 3
Name: Don Arnett
Date: July 21, 2004 at 14:14:02 Pacific
Reply:

On WinNT & WinXP, the file is at:

C:\WINNT\System32\drivers\etc\hosts


On Win98, I believe that it's at:

C:\Windows\System32\drivers\etc\hosts


On UNIX/Linux systems, it's at:

/etc/hosts


0

Response Number 4
Name: djx01dlob
Date: July 21, 2004 at 14:23:41 Pacific
Reply:

Hi,

I run xp proa dn hom and i aint got a win nt folder in my c:/ directory

Darren


0

Response Number 5
Name: Jeruvy
Date: July 21, 2004 at 14:37:20 Pacific
Reply:

Please post your own thread next time, easier to find =)

XP does not create winnt dir, just windows.

Regardless of version.

HTH,


J.
j e r u v y a t y a h o o d o t c o m


0

Related Posts

See More



Response Number 6
Name: rick
Date: July 21, 2004 at 18:17:17 Pacific
Reply:

use the search feature that some propeller head spent years on. you can find hosts file wherever it is.

hosts file is dns lite. (sort of), lol


0

Response Number 7
Name: wanderer
Date: July 21, 2004 at 19:07:58 Pacific
Reply:

I don't believe the above information is correct.

You do not want to use a Hosts file but the LMHoSTS file in the Microsoft world. You will find an example lmhosts.sam in C:\Windows\System32\drivers\etc for XP.

The trick here is after you have created the lmhosts [with NO extension] file you have to IMPORT it. You do this by going to tcp/ip properties/advanced/wins tab.

The check box is already checked for import lmhosts file. You have to click on the import LMHOSTS and browse to the etc folder and highlight the lmhosts file you created.

reboot

NOW YOU CAN PING/RESOLVE BY NAME.


0

Response Number 8
Name: Jamie_McCoy
Date: July 21, 2004 at 19:33:07 Pacific
Reply:

????

when you install XP you are asked to give it a name

mines called HOUSEPC

i can do a 'ping HOUSEPC' and have it work like i entered the IP...

you can assign a name by going to control panel, system

Regards, Jay Mc


0

Response Number 9
Name: heropsycho
Date: July 21, 2004 at 22:39:00 Pacific
Reply:

Jamie -

You're right. Normally that works, but sometimes can screw up. To be sure netbios names (which is what most of us are talking about) work, you should use the lmhosts.txt referred to here in the thread, or make a WINS server, which is probably stupid in this scenario.

DNS is resolving names within a domain based network. Don't think you want to go that far.

MCSE, MCSA Messaging, baby!


0

Response Number 10
Name: djx01dlob
Date: July 22, 2004 at 06:28:00 Pacific
Reply:

Is it possible to set a network with a network server on a domain without internet acces adn for free?

Darren


0

Response Number 11
Name: heropsycho
Date: July 22, 2004 at 15:21:12 Pacific
Reply:

Absolutely. You simply need to setup a DNS server if you're wanting to resolve ip address using DNS names. Windows 2000/2003 Server have DNS built in, as well as WinXP Pro, although WinXP wasn't made to do such a thing specifically particularly in large scale networks.

You could also through together a linux DNS server out of junk parts.

Just some thoughts.

Paying for a domain name is simply registering with internic that www.whatever.com = your net ip address on the global network known as the internet. No one can stop you from forming a domain named even yahoo.com if it's not net connected. It's YOUR atonomous network. IP and DNS don't care if they're on a small LAN or a global internet WAN. It still works the same.

Warning: If you choose a domain name in a Windows Active Directory LAN network, and then change your domain later because you want to be on the internet, much pain will be in your future.

MCSE, MCSA Messaging, baby!


0

Response Number 12
Name: wanderer
Date: July 23, 2004 at 17:10:30 Pacific
Reply:

Jamie McCoy it is easy to resolve a local name to ip since that is cached locally. Where the problem comes in is resolving a name across the network. Especially if netbios is not enabled to be transported via tcp/ip. This is where the lmhosts file comes in.

I believe a lmhosts file to be far superior to using Wins. This is due to the fact that the lmhosts, when imported, caches all the information in the lmhosts file locally. So all name to ip and ip to name requests are handled at the local station and NEVER make it to the wire for resolution. Since I only do client server and not peer to peer this means all name resolution is not done thru broadcasts but by local cache.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Networking Forum Home


Sponsored links

Ads by Google


Results for: names not ips on my network

Unknown IP address on my network www.computing.net/answers/networking/unknown-ip-address-on-my-network/5085.html

can not get on the network or internet www.computing.net/answers/networking/can-not-get-on-the-network-or-internet/6794.html

want to implement ISA on my network www.computing.net/answers/networking/want-to-implement-isa-on-my-network/10226.html