Solved

hostfile for tcp/IP

Posted on 1998-08-20
5
324 Views
Last Modified: 2013-11-13
I've connected a win95 PC and a mac via TCP/IP.
I tried to reach a HTTP-Server from the mac.
If I entered the IP-adress of the win95 PC everything
works fine´, but I can't enter the name of the PC.
Neither the Microsoft network name nor the domainname.
I think I need a hostfile for the mac, but the format of
hostfiles I use with win95 doesn't work.
0
Comment
Question by:felgen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 10

Expert Comment

by:rbr
ID: 1581351
Sorry there exists no such hostfile like with Windows 95. You have to use the ip or set up a DNS (Domain Name Server).
0
 
LVL 3

Expert Comment

by:rjhawkin
ID: 1581352
list the WIN machine as your DNS from the mac, If that works, I'll re-submit

0
 

Expert Comment

by:cg906903
ID: 1581353
You CAN have a host file on a Mac.

If you are using Open transport there is a button in the TCP/IP control panel to choose the  host file. (it doesn't need to be in a specific location!)

The format is the same as for unix

name                         address
this.is.the.name.com   162.123.12.1
this.is.another.edu       111.54.132.3

0
 

Author Comment

by:felgen
ID: 1581354
cg906903

I used the following host file

mom.schoue.com 192.168.254.3
roy.schoue.com 192.168.254.1

First when clicked the button in the TCP/IP control panel to choose the  host file i got a warning:

This file was not made with the program TCP/IP do you want to
continue?

Second I got a message

ttl 192.168.254.3 in line 1 is not valid

I've tested to get the URL

mom.schoue.com and roy.schoue.com but it doesn't work

If I use the IPs it works well

The Mac and the two PC aren't connected to the Internet.
Between the PC everything works fine.
Why I get this "ttl" message
0
 
LVL 1

Accepted Solution

by:
georgep23 earned 50 total points
ID: 1581355
Thats because the host file format is wrong:

You must create a mac host file with the following format..

domainname<TAB>A<TAB>IPaddress

where <TAB> is pressing the tab key.

Hope this helps.
0

Featured Post

Get HTML5 Certified

Want to be a web developer? You'll need to know HTML. Prepare for HTML5 certification by enrolling in July's Course of the Month! It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

In this article we will discuss some EI Capitan Mail app issues and provide some manual process to resolve them.
Worried about if Apple can protect your documents, photos, and everything else that gets stored in iCloud? Read on to find out what Apple really uses to make things secure.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

635 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