Article ID: 150575 - View products that this article applies to.
This article was previously published under Q150575
The process for setting up a TCP/IP peer-to-peer network connection between two computers is not intuitively obvious, especially if you have never set up networks before. This article describes how to put together a TCP/IP peer-to-peer network connection between your PC and your Macintosh quickly and easily.
General Physical Network Connection IssuesThere are three common types of network cabling: Twisted Pair, ThinNet, and ThickNet.
If you are using twisted-pair, which is thin wire with wide phone connectors (RJ-45), both your PC and Macintosh need to be plugged into a network hub so power is flowing through the network cable to carry data. Depending on the manufacturer and model, hubs usually allow between four and 20 machines to network.
Typically no extra hardware is required if you are using either ThinNet, which looks like Cable TV wiring with a round plug, or ThickNet, which is heavy, 1/4 inch cable with D-shell 15-pin connectors. The network cards can be connected to each other directly.
Several newer Macintosh models have a built-in network connector called FriendlyNet. You are required to obtain a network transceiver, such as Asante's 10T Adapter, to use one of the cables mentioned above.
Choosing IP Addresses for Your MachinesFor simplicity, use class B IP addresses for your peer-to-peer network. The specifications for class B IP addresses are as follows:
Here's a good example of a set of IP address to use:
Macintosh: 18.104.22.168 PC Running Windows NT or Windows 95: 22.214.171.124
Configuring TCP/IP on the MacintoshIf you see MacTCP on your Macintosh control panel, you are running MacTCP. If you see TCP/IP instead, you are running Apple's Open Transport.
The new PCI-based PowerMacs only come with Open Transport. Older models of the Macintosh come with MacTCP on the System 7.x installation media. Check Apple's documentation for installation details.
To configure your system using MacTCP:
To configure your system using Open Transport TCP/IP:
Configuring TCP/IP on Windows NT
Configuring TCP/IP on Windows 95
Testing the TCP/IP ConnectionTo test the network connection, use the Ping command line utility on the PC. Open an MS-DOS/Command window and type one of the following:
C:\>ping mymacReplace 126.96.36.199 and mymac with whatever you set in the Hosts file. Using mymac causes the TCP/IP service to look up the name in the Hosts file to resolve it to an IP address. The expected output from Ping looks like the following:
If you receive a Bad IP address error, you need to check your Hosts file entry to ensure that the IP address and name match what is set on the Macintosh.
C:\>ping 188.8.131.52 Pinging 184.108.40.206 with 32 bytes of data: Reply from 220.127.116.11: bytes=32 time=10ms TTL=254 Reply from 18.104.22.168: bytes=32 time<10ms TTL=254 Reply from 22.214.171.124: bytes=32 time<10ms TTL=254 Reply from 126.96.36.199: bytes=32 time<10ms TTL=254
If you receive a Request timed out error, you need to check the physical network connection and ensure that the IP address in the Hosts file matches what is set on the Macintosh. If you are running MacTCP, you can run MacTCP Ping to initialize the TCP/IP network.
Article ID: 150575 - Last Review: July 13, 2004 - Revision: 1.2
Contact us for more help
Connect with Answer Desk for expert help.