Skip to main content

How to setup LAN with crossover connection between two Windows PC (with cable color code)

Raj is an ardent coder who loves exploring new technology. He is an IT pro with 9 years of exp in C#, Angular, React, Vue.

LAN between two computers using Crossover Connection

Crossover cabling is essential if you want to share files between your laptop and desktop (basically two computers). Its very cheap to prepare a crossover able. You just need two RJ45 jacks, CAT5e cable (length depends on your requirement) and one crimping tool. Apart from these one more important thing is there, that is color coding which I am going to tell you in this article.

The process of crimping is so simple that, if carefully followed, a newbie can also do this with no difficulty. Because this is a crossover connection (i.e. PC to PC connection, no hub or switch is required) it is a bit confusing than direct LAN cabling. But, once you understand the color coding, it will become the easiest job in the world. So, pay attention & read carefully.

Crossover connection


Crossover connection with RJ-45


If you facing any difficulty to understand these color code or you have no idea about cable crimping then you can purchase any crossover cable from below mentioned amazon list.

Crossover cable for online purchase

If you are ready with your cable, now you can configure IP address and share a folder which will be common for both computer to share files.

Related Article

  • How to assign IP Addresses to the client & server PC?
    In this tutorial we will learn how to assign IP address to a computer. Before that I should make it clear that every PC will have its own unique IP address. Assigning same IP to other PC will give you...
  • How to share an internet connection on LAN?
    If you have a fully functional LAN then net sharing is few click away, yes few clicks. I assumed that you have already a broadband connection and account configured on your PC. Just go to “My Network...
  • How to share folder in windows XP
    In this tutorial we will learn how to share a folder or file so that other user on network can share file with your PC. This is very easy process which will allow you to a file or folder or drive of your...
  • What is LAN (Local Area Network) ?
    LAN is acronyms of Local Area Network. LAN is required everywhere, whether it is office home or somewhere else. LAN is a small computer network (small version of internet) covering a small area like home,...
  • Extend Your Computer’s Life
    A computer is a complex electronic device which we own proudly. But to remain its proud owner we need to take care of it. To extend life of computer, it must be regularly examined as we do for various...


yogendra shrma on March 27, 2012:

please give color coding for rollover cable

daniel on February 17, 2012:

please i need help for colour arrangement on cat5e cable switch and the connector rj45.

and there is limited or no connectivity.


Ankit on January 09, 2012:

Dude how do i use my friends internet connection, he's hving BSNL ka lan at home I stay little away from his home So how do i use It

Jst can u mail me Some steps to my id-

Joe on December 16, 2011:

Scroll to Continue

Hi, Iam an M.Tech student and doing a project in cloud computing..For this i need to conect 2 laptops for file access and sharing.If u could give me more details abt d connection and d procedure, it wil be realy helpful for me....Thanks...

jobin, sobin on December 25, 2010:

thanks dude really it helped a lot

swaroop pratap singh on August 17, 2010:

thanks a lot for providing such a wonderful information...

Beramka on July 05, 2010:

hi guys,

i have a problem extending my first computer desktop on my second computer, can somebody explain step by step how to do it thanks for the help...

RAJKISHOR SAHU (author) from Bangalore, Karnataka, INDIA on April 01, 2010:

Mr. Vivek Try this solution:

"Access is denied" error message when you try to access a folder on LAN

Few visitors reported that they are unable to share LAN using above tutorial and after trying a lot I came to know that may be some security issue is not letting you to access PC from LAN. If you are able to ping from both PC and not able to see shared resources on the LAN then please follow this.

To resolve this problem, you must turn off Simple File Sharing, and then take ownership of the folder:

1. Turn off Simple File Sharing.

Click Start, and then click My Computer.

On the Tools menu, click Folder Options, and then click the View tab.

Under Advanced Settings, click to clear the Use simple file sharing (Recommended) check box, and then click OK.

2. Right-click the folder that you want to take ownership of, and then click Properties.

3. Click the Security tab, and then click OK on the Security message, if one appears.

4. Click Advanced, and then click the Owner tab.

5. In the Name list, click your user name, Administrator if you are logged in as Administrator, or click the Administrators group.

If you want to take ownership of the contents of that folder, click to select the Replace owner on sub containers and objects check box.

6. Click OK.

You may receive the following error message, where Folder is the name of the folder that you want to take ownership of:

You do not have permission to read the contents of directory Folder. Do you want to replace the directory permissions with permissions granting you Full Control? All permissions will be replaced if you press “Yes”.

7. Click Yes.

8. Click OK, and then reapply the permissions and security settings that you want for the folder and the folder contents.

vivek Bhardwaj on March 30, 2010:

sir please give me the solution that i have tried to connect two pc in which one was laptop & other is desktop . i was using the lan cabel (cat5).i have given the ip to each pc after connecting the cable. now when i wanted to share the data then it has asked for the password.i has given the correct password but there is no sharing between these two pc.

sir please give me the correct solution for this.

my email id is (

Sineone Teleservices on January 15, 2010:

One of the fake company in GURGAON. Company is not paying salary properly to the employee.

hacker on December 10, 2009:

how to make fast brodband connect

RAJKISHOR SAHU (author) from Bangalore, Karnataka, INDIA on October 03, 2009:

@Hello Pete: I will soon post that tutorial too but for your information for Xp-Linux networking needs samba server installed on linux.

Pete on October 03, 2009:

dear Raj, I'm a newbie in all this and I need some little help.

I'm using a Sify broadband which comes directly on a cable to my win XP ethernet card. I also have a second ethernet card on my xp machine. I have a linux ubuntu system which I want to access the internet. Please tell me how to connect my linux ubuntu to win XP and eventually share the internet also. Please mail my details to my email...(

abdullah on September 11, 2009:

we have internet connection and we don't have server we connect directly to a modem and we have 10 hubs each hub has 8 slots. and when we're all using internet the connection slowed down, can you help me about this problem...what should i do to make our connection a fair distribution...thanks and hope you can help me at

subrta on July 08, 2009:


can plz provide some knowledge on hacking. how can we hack a system

Mayuresh on July 05, 2009:

Hey rajkishor,i've jst gt a SIFY broadband connection.i m facing problem with sharing d connection.The first PC is working properly bt on the other PC the connection isn't showing.Pls let me knw hw 2 configre it.

mail me if possible



mediamuslim4u on June 29, 2009:

I do networking as far 150m of hub usual to switch hub rauter. what colour code which need and how way

please email me if u reply

arun kumar on June 14, 2009:

plz tell me. what is the use of crossover conections when conecting the two computer via LAN. because when i have connect the crossover conection and normal DSL cable conection i am able to use lan, so plz clarify it.

(this is my request u to plz give my answer to my id, because how can i find answer for my this question, i don't know. my id is

RAJKISHOR SAHU (author) from Bangalore, Karnataka, INDIA on May 08, 2009:

those articles' link I have proveded in "Related Article" section. Please visit to know more.

rlakies on March 29, 2009:

Hey buddy i would go into the details of setting up the needed static IP adress and subnet. Without those it wont work to well :)

RAJKISHOR SAHU (author) from Bangalore, Karnataka, INDIA on March 17, 2009:

Need help on this topic or have suggestion for improvement, are always welcome.

Related Articles