connect 2 computers directly using crossover cable

13
Connect 2 Computers Directly Using Crossover Cable How do you connect 2 computers sometimes for file or printer sharing? Ha! It's pretty easy! You only need 1 crossover cable and 2 network cards . Plug in network card each to computer and then install network card driver for each computer. Connect the cable to both computers’ network card. Yap.. we have finished the setup. Here comes the network configuration, let’s create a simple network by assigning following network info to each computer's network card: Computer A: IP Address: 10.1.1.1 Subnet mask: 255.255.255.0 Gateway: DNS Servers: Computer B: IP Address: 10.1.1.2 Subnet mask: 255.255.255.0 Gateway: DNS Servers: Since these 2 computers are directly connected, no gateway and DNS servers are needed. Here is step-by-step instructions to assign IP address and other network information in Windows 7 (check this if you are Windows Vista user and check this if you are Windows XP user). After assigning IP address, try to ping the other computer from command prompt , you should be able to ping each other and then sharing printers or files as you wish. Hey.. You have done… :o)

Upload: akibo-tunde-williamson-davies

Post on 26-Dec-2014

171 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Connect 2 Computers Directly Using Crossover Cable

Connect 2 Computers Directly Using Crossover Cable

How do you connect 2 computers sometimes for file or printer sharing? Ha! It's pretty easy! You only need 1 crossover cable and 2 network cards .

Plug in network card each to computer and then install network card driver for each computer. Connect the cable to both computers’ network card. Yap.. we have finished the setup.

Here comes the network configuration, let’s create a simple network by assigning following network info to each computer's network card:

Computer A:

IP Address: 10.1.1.1Subnet mask: 255.255.255.0Gateway: DNS Servers:

Computer B:

IP Address: 10.1.1.2Subnet mask: 255.255.255.0Gateway: DNS Servers:

Since these 2 computers are directly connected, no gateway and DNS servers are needed. Here is step-by-step instructions to assign IP address and other network information in Windows 7 (check this if you are Windows Vista user and check this if you are Windows XP user).

After assigning IP address, try to ping the other computer from command prompt, you should be able to ping each other and then sharing printers or files as you wish. Hey.. You have done… :o)

If you want to learn more about network cable, check how to differentiate straight and crossover cable here.

Page 2: Connect 2 Computers Directly Using Crossover Cable

Quick Way to Configure IP Address and Other Network Information in Windows 7

Let me show you how to configure IP address and other network information in Windows 7 here. As you know IP address must be configured on computer in order to communicate with other computers, because this IP address is the standard address understood by computers and other networking devices in networking world.

You can configure IP address, subnet mask, gateway and DNS servers manually on computer, but you can also configure computer to obtain IP address and other network information from DHCP server (most of the time is configured on router).

Without wasting any more time, let me show you quick way to do it:

1) Go to Start and click on Control Panel.

2) Proceed to click View network status and tasks in Control Panel window.

3) Network and Sharing Center window will appear, then click change adapter settings.

Page 3: Connect 2 Computers Directly Using Crossover Cable

4) Network Connections window will appears. Here you can right click on the network adapter (can be wireless adapter or wired Ethernet adapter) that you wish to configure and click Properties.

5) In the Network Connection Properties window, tick on Internet Protocol Version 4 (TCP/IPv4) and click Properties.

Note: If your computer sits in IPv6 network, you can select Internet Protocol Version 6 (TCP/IPv6) to configure IPv6 address, but it’s not covered here.

Page 4: Connect 2 Computers Directly Using Crossover Cable

Manual IP Assigning

If you wanna do manual configuration, you can now key in the IP address, Subnet mask, Default gateway and DNS servers.

Note: IP address of your computer must be unique. None of the 2 computers in the same network can share same IP address, because it will cause IP address conflict.

Note: Default gateway is a router that can route the traffic to the other network or Internet. DNS server is an application server that can translate URL to IP address. Check with your ISP on what DNS servers you should use. If not, you can try this free Opendns or Google DNS servers.

Page 5: Connect 2 Computers Directly Using Crossover Cable

IP Assigned by DHCP server

If you have DHCP server setup on your router or you have dedicated DHCP server, your computer can be assigned IP address and other network information automatically by selecting Obtain an IP address automatically and Obtain DNS server address automatically.

Page 6: Connect 2 Computers Directly Using Crossover Cable

Note: If you have a notebook, and you use static IP at home and the IP assigned by DHCP server at the office, you can make use of alternate configuration to set IP and network information for these 2 different networks.

Set Obtain an IP address and DNS automatically on General tab as according to what I specified above, so that the notebook will be assigned IP addresses automatically at the office. After that, click Alternate Configuration tab, select User configured option and key in your home network’s static IP and other network information. By setting this, when there is no IP information assigned due to no DHCP server at home, this alternate configuration will be applied automatically, so that you don’t have to spend time on configuring IP manually every time at home.

Page 7: Connect 2 Computers Directly Using Crossover Cable

Return to top of "Quick Way to Configure IP Address and Other Network Information in Windows 7"!!

Back to home-network-help.com

Share this page: What's This?</DIV< td>

Enjoy this page? Here's another way to pay it forward...

Using Ping to Troubleshoot Network Problem

Sometimes if your network connection is down and you can use ping to troubleshoot network problem and then fix it.

Ping is a program used to check whether a host is up and active in network. It’s pretty simple and usually used to troubleshoot network problem. Here is typical home network design, and the technique described applies to wireless network as well.

Page 8: Connect 2 Computers Directly Using Crossover Cable

1) First thing you need to do is to make sure there is light on network card with cable connected. Sometimes network down is due to disconnected network cable or loose cable connection. If you notice no light on your network card after connecting with network cable, make sure the network cable is working and router that connected by this computer is up and active. If you see the light, then proceed to step 2.

2) Go to Start and click on Run.

3) Run window will appear. Type in cmd on Run window and click OK.

4) Key in ping 127.0.0.1 in Command Prompt window. This is network card loopback address. If you receive Reply from 127.0.0.1, it works. If you receive Request timed out, it means network card doesn’t work properly. Unplug and re-seat the network card, connect with network cable then ping loopback address again. If still fails, check the network card driver status in Windows 7, Vista or XP to troubleshoot network card and make sure the card works well. If still fails, most probably the network card cannot be used anymore. Try again by using other network cards. However if you just cannot install network card driver correctly on this computer but it works on other computer, then maybe there is problem on Microsoft Windows OS or its TCP/IP function.

Page 9: Connect 2 Computers Directly Using Crossover Cable

5) Now you can proceed to ping your computer IP address. If you are not sure about computer IP, use ipconfig to find out. If you fail to ping this IP or no IP is configured on computer, check network configuration such as IP address (assigned manually or automatically?), subnet mask, gateway on network card to make sure it's configured correctly.

6) If you able to ping loopback address and your computer IP, now you can proceed to ping router IP address. if you receive Request timed out, make sure router is up and configured properly with correct IP, subnet mask, DHCP and other network settings.

Note: Ensure that your DSL/Cable modem is configured in bridge mode (not routing mode), so that it can work well after connecting to router. If you need more idea, here is an example of configuring DSL modem in bridge mode, you can have a look if you like.

Note: Even if router is up and it's configured properly, you need to check the computer is connected to correct and working router port too, sometimes it might be connected to faulty port or incorrect port (such as uplink port).

Note: If you have enabled firewall on router, make sure firewall is configured correctly without dropping legitimate network packets.

7)If you can ping the router IP, then you should be able to ping the other computers or notebook in your network. If you still fail to ping the router IP or other computers, then you can take a look on the wireless network setup or wired home network setup tutorial in order to get more helps.

8) If you have successfully done above steps and all are working properly, but you still fail to connect to internet, then check your DSL, cable or wireless modem to make sure all cables are connected correctly. Reset your DSL, cable or wireless modem and try internet access after that. If your network is still down after that, contact your ISP for getting further helps to troubleshoot this network problem. This might due to some problems at your ISP side sometimes or the modem is broken.

Page 10: Connect 2 Computers Directly Using Crossover Cable

Note: Sometimes you might find out your computer is connected to network, but just cannot browse Internet websites. So what to do next? Just use nslookup to try resolving the domain name, if there is problem then you can try to use the free DNS servers (208.67.222.222, 208.67.220.220) provided by OpenDNS.

Note: The other possibility, if suddenly you fail to access any webpage, maybe your computer is infected with adware, malware, worm or virus, so you should scan your computer by using antivirus or antispyware with latest signature.

Recommended Readings:

Using WinSockFix to Fix Windows XP Networking ProblemWireless Network Troubleshooting TipsHow to Troubleshoot Network Connectivity Problems from MicrosoftBooks that Can Help to Improve Your Network Troubleshooting Skill and Knowledge

Back to home-network-help.com

Share this page: What's This?</DIV< td>

Enjoy this page? Here's another way to pay it forward...

What are Straight and Crossover cable

Common Ethernet network cable are straight and crossover cable. This Ethernet network cable is made of 4 pair high performance cable that consists twisted pair conductors that used for data transmission. Both end of cable is called RJ45 connector.

The cable can be categorized as Cat 5, Cat 5e, Cat 6 UTP cable. Cat 5 UTP cable can support 10/100 Mbps Ethernet network, whereas Cat 5e and Cat 6 UTP cable can support Ethernet network running at 10/100/1000 Mbps. You might heard about Cat 3 UTP cable, it's not popular anymore since it can only support 10 Mbps Ethernet network.

Straight and crossover cable can be Cat3, Cat 5, Cat 5e or Cat 6 UTP cable, the only difference is each type will have different wire arrangement in the cable for serving different purposes.

Page 11: Connect 2 Computers Directly Using Crossover Cable

Straight Cable

You usually use straight cable to connect different type of devices. This type of cable will be used most of the time and can be used to:

1) Connect a computer to a switch/hub's normal port.2) Connect a computer to a cable/DSL modem's LAN port. 3) Connect a router's WAN port to a cable/DSL modem's LAN port.4) Connect a router's LAN port to a switch/hub's uplink port. (normally used for expanding network)5) Connect 2 switches/hubs with one of the switch/hub using an uplink port and the other one using normal port.

If you need to check how straight cable looks like, it's easy. Both side (side A and side B) of cable have wire arrangement with same color. Check out different types of straight cable that are available in the market here.

Page 12: Connect 2 Computers Directly Using Crossover Cable

Crossover Cable

Sometimes you will use crossover cable, it's usually used to connect same type of devices. A crossover cable can be used to:

1) Connect 2 computers directly.2) Connect a router's LAN port to a switch/hub's normal port. (normally used for expanding network)3) Connect 2 switches/hubs by using normal port in both switches/hubs.

In you need to check how crossover cable looks like, both side (side A and side B) of cable have wire arrangement with following different color . Have a look on these crossover cables if you plan to buy one. You can also find more network cable choices and information from Comtrad Cables.

In case you need to make a crossover cable yourself! You can use this crimper to do it.

Lastly, if you still not sure which type of cable to be used sometimes, try both cables and see which works.

Note: If there is auto MDI/MDI-X feature support on the switch, hub, network card or other network devices, you don't have to use crossover cable in the situation which I mentioned above. This is because crossover function would be enabled automatically when it's needed.