Can one host has several ips in the setting of host file?

Posted on 2006-10-23
Medium Priority
Last Modified: 2010-03-18
Question by:turbot_yu
LVL 39

Accepted Solution

redseatechnologies earned 800 total points
ID: 17786958
Hi turbot_yu,

No, it can't.

1 IP can have several hosts, but not the other way around

LVL 97

Assisted Solution

by:Lee W, MVP
Lee W, MVP earned 800 total points
ID: 17786977
Technically, you can assign several hosts to one IP - only the first entry will be read though.
LVL 39

Assisted Solution

redseatechnologies earned 800 total points
ID: 17786989
Technically, you can plug a computers power cable into a block of cheese too :)
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

LVL 97

Assisted Solution

by:Lee W, MVP
Lee W, MVP earned 800 total points
ID: 17787020
But that won't work at all... using several hosts to one IP WILL WORK - for the first host.
LVL 48

Assisted Solution

Jay_Jay70 earned 400 total points
ID: 17792319
i am certainly intrigued on how it would work? Kinda goes against everything i know with the lmhosts file :)

Expert Comment

ID: 17793190
Is that Cheddar or a Mild blue?  


Author Comment

ID: 17793757
What I mean is a pc has several NIC, each with its own ip and in different subnet. but has same hostname, when other pc want to point to this pc in different subnet, will the hostname work?

How is the host configuration file work?

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

A brief overview to explain gateways, default gateways and static routes OR NO - you CANNOT have two default gateways on the same server, PC or other Windows-based network device. In simple terms a gateway is formed when a computer such as a serv…
Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Hi, this video explains a free download that you can incorporate into your Access databases, or use stand-alone for contact management. Contacts -- Names, Addresses, Phone Numbers, eMail Addresses, Websites, Lists, Projects, Notes, Attachments…
Suggested Courses

600 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