Archive for May 17th, 2009
IT Thoughts
Posted by Bloggylife in thoughts on May 17, 2009
Network Tips – Hosts File
Posted by Bloggylife in windows on May 17, 2009
It’s easier to access by name than by IP. That’s what the DNS and WINS is for if you have them set in your network, but there are devices that are not registered and are only accessed by specific people.
Your switches, routers, firewalls, etc.
If you type in a name, it has to be resolved to an IP, before going to the DNS, your windows machine will check its hosts’s file, to see if it is listed there.
You’ll find your Hosts file in:
C:\WINDOWS\system32\drivers\etc
Open hosts file with notepad and enter information in the following format:
ip hostname
example:
10.10.10.2 Core1
To verify your settings, try pinging by name and you should see how the name is resolved.
I’ve been using this for a long time, I even copy my hosts file and pass it around for ease of access to other network admins.


Recent Comments