Page 1 of 1

Simple peer to peer networking Rate Topic: ****- 1 Votes

#1 Thorian   User is offline

  • Pirate Medic
  • member icon

Reputation: 22
  • View blog
  • Posts: 5,904
  • Joined: 06-June 02

Post icon  Posted 24 January 2006 - 08:33 PM

How to configure a small peer to peer network and enable file sharing for Windows XP

Note: perform the below at your own risk if you open up your network to the internet and a virus ravages your PC. Dream In Code and I the author cannot be held liable.

I would not recommend performing the below on a network that is going to be on the internet if you want to set up a small gaming LAN these directions should be just the ticket.

(You will need to perform the following on each computer)

First we need to ensure that every PC is going to be on the same workgroup by default it should be named workgroup. Here is how to check and make corrections.

Right click on my computer and select properties

From the properties box click on computer name and make a note for what the Computer name and Workgroup is. If the two PC’s are in different workgroups then you will need to change the settings here. Click on the change button and you can name your computers and assign a workgroup for ease of use in this tutorial we will name the first computer “computer1”, and the workgroup “Workgroup”. (Note: the workgroup name is case sensitive)

You at home can use what ever you like just substitute what ever you want for these values click OK and close the properties box. If you made any changes to your computer windows will want to reboot. Now that the work groups are named we can get these guys talking to each other.

Right click on My Network Places

Select properties

Right click on local area connection

select properties

Click on Internet Protocol TCP/IP

Click properties

and check the following picture if it looks like this DHCP is enabled and you should get a 169.254.x.x Ip address automatically from windows.

if it doesn’t or you keep getting the same one

Click use the following IP address ( Here we will be configuring a static IP address)

Enter something like this

Ip address
Subnet mask

( the second computer's IP address would be and so on for each computer)

then click ok

At this point you will want to ping the other machine to test the settings

From the first PC ( click on Start->Run type “command” press enter

At the Dos prompt type ping and press enter if you receive something similar to the below you are ready to start configuring file and print sharing If not you will want to verify your settings

Microsoft® Windows DOS
©Copyright Microsoft Corp 1990-2001.

C:\ 1>ping

Pinging with 32 bytes of data:

Reply from bytes=32 time=3ms TTL=255
Reply from bytes=32 time=1ms TTL=255
Reply from bytes=32 time=1ms TTL=255
Reply from bytes=32 time=1ms TTL=255

Ping statistics for
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 3ms, Average = 1ms

C:\ >

Since we now can ping the other computers your multi-player games should be functioning properly.

If you want to transfer files between computers we will have to do some more configuration.

Open My Computer

Right click on the HDD (C

Select Sharing and security (Or if you don’t have that option, click the "Properties" selection and then the Sharing Tab)

Windows may freak out at this point wanting to know if you are sure you want to do this. Well yeah if we didn’t we wouldn’t be networking the PC’s together. (XP Home may be different if so let me know as I never have used it, they castrated the networking components to make it a value product and you cannot connect more then 4 Computers on to a network as more then that and it just doesn’t see anymore. )

Check the share radio button and set the number of users that you would like to allow ( if this isn’t going on the internet I would allow maximum as security isn’t needed in a stand alone environment and we want to keep this simple) click ok and you should be set.

To test this use a separate computer and fire up explorer and type \\computer1\c and you should connect to the c: drive of the fist computer that you just shared.

Is This A Good Question/Topic? 1
  • +

Replies To: Simple peer to peer networking

#2 nirvanarupali   User is offline

  • D.I.C Stomach
  • member icon

Reputation: 14
  • View blog
  • Posts: 1,120
  • Joined: 01-August 07

Posted 10 March 2008 - 12:39 AM

I have questions: I presume that assigning a static IP address will determine first what class to use, either A,B,C. I think the the example uses a class C. My question is, how to determine what class to use? Thanks.

I am now starting reading on Networking but in theory only.
Was This Post Helpful? 0
  • +
  • -

#3 King Viz   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 29-June 08

Posted 08 July 2008 - 04:20 AM

I tried to network my two computers, both using XP, so it sounds like it should be easy. I ended up being able to ping computer 2 from computer 1, but not the other way round. Both computers say the network is working, but they can only see themselves, not each other.

I've checked all the obvious settings, like turning off Windows firewall on both, naming the workgroup correctly, and I've checked that the IP addresses are the same (ending 1 on computer 1 and 2 on computer 2), the subnet mask is Exactly the same on both. Also I know the cable's working because computer 1 can ping computer 2!

Do you know what is going on? I'd really appreciate an expert's advice...

Was This Post Helpful? 0
  • +
  • -

#4 shoosh   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 29-May 10

Posted 29 May 2010 - 03:05 AM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1