In this article I will discuss how to form a small network at home with two computers and a network switch/hub. For this article we will configure the TCP/IP settings manually. The ingredients needed here are discussed in the PART I of this article.
A. Connecting the computers physically:
First of all power up both your computers and your network switch. Now plug in one end of your patch cord (straight network cable) in the computer's LAN card port and the second end of the patch cord in any port of your network switch. Do the same with the second computer. The two computers are now physically connected.
NOTE: please remember to use a straight network cable that has been tested properly with a cable tester.
B. Configuring the TCP/IP settings:
On your first computer, do the following:
- Go to Start > Settings > Network Connections,
- Right click 'Local Area Connection' and select Properties,
- In the Properties window, double click 'Internet Protocol (TCP/IP)',
- Here, select 'Use the following IP address' radio button,
- For IP address provide IP 192.168.0.1,
- For Subnet mask provide 255.255.255.0,
- Leave rest of the fields blank for now,
- Click OK until you exit both dialog windows.
C. Configure Windows Firewall
If you haven't tampered with the Windows Firewall up till now, then chances are that it is enabled. Your Windows XP Firewall will block any connections keeping the ports closed unless you add an exception. Here, we want Windows to allow file sharing, so we will add this type of communication as an exception.
On all computers, do the following:
- Go to Start > Settings > Network Connections,
- Right click 'Local Area Connection' and select Properties,
- In the 'Advanced' tab click the settings button under Windows Firewall,
- In the 'General' tab, 'On (recommended)' is probably selected. If not, select it,
- In the same tab, uncheck 'Don't allow exceptions', as shown in the image above,
- In the 'Exceptions' tab, find 'File and Printer Sharing' under 'Programs and Services' heading and check it,
- Now click on the 'Edit...' button,
- Click on the 'Change Scope' button,
- In the 'Change Scope' dialog window select 'My network (subnet) only'. This will ensure that this type of communication is only allowed for your network,
- Click OK on all open dialog windows and exit.
D. Verify if both computers are connected
The previously discussed 'ping' command can be used to verify if there is a connection between both the computers. For help using the ping command, please refer to the article: Using the Ping command.
Related articles on this blog
No comments:
Post a Comment