Setup LAN with Hub or Switch (with cable color code)

Switch or HUB allows us to add more computers in our LAN or existing LAN. Switch or HUB is usually needed when we are networking more than two PCs. Why we need Switch or HUB only when networking more than two PCs? Because, for two PC networking we have crossover connection which does not require any expensive hardware like Switch or HUB. So, it is wise to use crossover connection.


Here we are going to connect more than two PCs, so we need a Switch or HUB. These devices are user friendly, and you don’t need to worry about what configuration these device need. The entire attention should be paid in crimping and IP address assigning. Because if you crimped the cables in RJ45 wrongly, you will need a new RJ45 and good quality of RJ45 cost double of ordinary one. I always recommend you good quality of RJ45 & UTP cables.

If you want to purchase switch or hub devices then please check my suggestion of products below or you can visit my Amazon.com store for more option.

Computers connected through Switch (Click to enlarge)

Standard Color Code (Click to enlarge)

Process

Color code of direct LAN cabling is simpler than the crossover LAN cabling, because there no jumble of wires all goes from one RJ45 to another RJ45 directly. No changes at all.

Here is a simple diagram showing you connection of two RJ45 connectors. As you can see that there is various color of wire denoting the standard color code for cable. This should be arranged in this manner. Left side RJ45 is No.1 & right side RJ45 is no. 2.

RJ45 no. 1 & RJ45 no. 2 will have the wires according to standard color code and there will be no changes.

Direct connection (Click to enlarge)

If you have arranged your wires according to standard color code then crimp them cautiously. Now get ready for the next step which is IP address assigning to your Client & Server.

More by this Author


Comments 56 comments

rajkishor09 profile image

rajkishor09 7 years ago from Bangalore, Karnataka, INDIA Author

Follow this instruction to setup LAN with Switch or Hub. If you face any problem, please feel free to contact me through comments.


Punit Patel 7 years ago

Hello,

I am using a server with static IP for ftp connection I have another PC with vista OS I have a D-link swith 8 ports. I am trying to connect my server to my altenate pc. But I am unable to add an ip address since I am using a static IP i cannot use the same IP on vista and when i add a new ip like 192.168.0.2 it wont accept if you are aware about this issue can you please help.

Punit9128@yahoo.com

cloud9128@gmail.com

Regards,

Punit Patel


Mahmudul 7 years ago

I've a broadband internet connection, a tp-link TL-SF1005D 10/100Mbps Desktop Switch and two computers. Now i want to share my internet connection betwn this computers. How can i do this?


rajkishor09 profile image

rajkishor09 7 years ago from Bangalore, Karnataka, INDIA Author

@Mahmudul : you need two patch cable for switch to PCs connection then follow this link and assign ip address

http://hubpages.com/technology/How-to-assign-IP-Ad...


merk 6 years ago

Hi, I hope you still monitor this page. I have a DIR-615 router. I want to connect more devices to it than 4. Can I buy a hub or a switch and connect that to one of the DIR-615 lan ports?

thanks


Boon 6 years ago

Hey, I have a Linksys SD208 Router which has 8 ports. I tried assigning them Static IP Addresses which don't conflict and left DNS and Gateway Fields blank. The computers on the workgroup wont connect.

Any help received is apprecieated


ifyouhardware profile image

ifyouhardware 6 years ago

@merk: yes you can. You can buy a switch and connect it through a RJ45 cable from any switch port, to any DIR-615 router port to enlarge your network.


Bhaskar Tiwari 6 years ago

hello sir

I am using a server with static IP for ftp connection I have another PC with XP OS I have a D-link swith 8 ports. I am trying to connect my server to my altenate pc. But I am unable to add an ip address since I am using a static IP i cannot use the same IP on XP and when i add a new ip like 192.168.0.2 it wont accept if you are aware about this issue can you please help. sir please help mee

My E-Mail Address is --- bhasker.34@rediff.com

Bhaskar Tiwari

From Uttarakhand Almora (INDIA)


Bawan 6 years ago

Hey!

i just bought a ps3 so i decided to buy a switch so i could have internet on my ps3 at same moment as i have internet on the pc. now i want to file share between those two, but i have searched everywhere, tried everything. but i just cant get it work. they dont find eachother. i have a d-link dgs1005d. does a switch allow filesharing between? pls help me!

bawanabdulla7@hotmail.com


Saurabh 6 years ago

hi,

i am using a Bsnl broadand. How can i use Dc++/Strong Dc with this bsnl? Can i create a hub? so that my friends in my city could connect me?


ritanjan 6 years ago

i am using a internet connection via my lan card,the service provider give me ip,subnet mask,dns.alternet dns.

i want share the connection to another computer,how it is possible?plz inform...

ritanjanpaul@gmail.com


ilyas 6 years ago

Hie....hope u are in..i was wondering if i could share my "internet" as well as "file and folder sharing" using the same switch for multiple Pcs in my SmallOffice Network. Guide me to steps please. Thank u. koolguyz0521@gmail.com


rajkishor09 profile image

rajkishor09 6 years ago from Bangalore, Karnataka, INDIA Author

@ilyas : i have already written those article, plz check that in profile.


linen-fabric profile image

linen-fabric 6 years ago from Belarus

Thanks for helpful information!


shailendrasky 6 years ago

hi i want to know how to connect three pc within a lan so that i can use my broadband internet connection using high speed hub.

i have 8 port switch please mention how should i connect the main cable and other cable to share the network


saqib 6 years ago

my hub switch is not work with 2 pc i have adsl conncation what i do


chokies 5 years ago

hi raj, do you have an article about networking infrastructure and directory services, your good in explaining things kindly help me thx in advance


RAJESH WADAKAR 5 years ago

HAi....... I m given enother code sterth thro cable ////

/....

ORANGE WHITE ---- ORANGE

GREEN WHITE ---- BLUE

BLUE WHITE ---- GREEN

BROWN WHITE ---- BROWN.....

MAKE AND ARANGE THE NETWORK .......


rathore 5 years ago

is it possible to have sharing of two pcs one is having xp and another one as 7 and both have internet connections.


FilipinoNet 5 years ago

I just read your article and it's very interesting not to mention you made it very simple on how to set-up LAN with HUB or SWITCH..... I do have a background regarding this article but I am not so confident doing this but i am going to try this at home when.. I am planning to put up internet cafe in our home maybe two or three at the beginning... thanks for this...


Mahesh 5 years ago

Raj kishor sir, can you tell me how can i create a LAN connection with a server,i need to give internet connection through server .If the server is off then nobody will'nt be able to access internet for that what should i do??waiting for you reply


rajesh 5 years ago

hi. can we setup a lan with a bunch of laptops , a switch and crossover cables, without any internet connection and router?? i want to play multiplayer games with my friends this way... it will be appreciated if u help...


sunil kumar  5 years ago

Hi i need to set up lan i have an idea but no experience so if i want to connect lan myself how to go with it give me a real picture how to make a lan setup take an example i want set up software company pls do me a favoure


ilyas  5 years ago

@rathore its definitely possible.! u may even connect to .Think of internet server.! a good example.


destoa ben 5 years ago

what are the high bandwidth platform for application like Voice over IP (VoIP) and Video Conferencing that can be used to connect with University partners and other university campuses


smita 5 years ago

hey hi i have well established LAN at my hostel network then is there any additional need of switch


jeffrey 5 years ago

i have the real color arrangement

orange

white orange

green

white blue

green

white blue

brown

white brown


emmanuel 5 years ago

I have two win xp Pcs and two HP color Laserjet dn5550 printers. I wanted to network these items and bought an eight port D-link switch. I assigned the following IP addresses to the two PCs; 192.168.0.1 and 192.186.0.2, and for the printers; 192.168.0.194 and 198.168.0.195.

When I pinged the two printers from each Pcs,there was a reply but when I pinged one computer from the other, it gave 'request timed out'. I disabled the firewalls from the PCs it still did not work. I tried sharing the harddisk of the PCs, it did not work also. What can I do to make the two PCs see each other?


ganesh 5 years ago

how to connect switch to switch


Waijd 5 years ago

Hello, I have made LAN network in my office through pc to network hub. Now I have 12 PC connected with LAN with no TCP/IP address. I made the network cable with the following sequence.

White Orange

Orange

White Green

Blue

White Blue

Green

White Brown

Brown

Everything is working good on the LAN on XP and Win 7. Now I want to make a server in the office. Please can you tell me what should I do? May I change the cable colour sequence or may I use TCP/IP address on the computers.

Please email me on my email address

wajidamir@hotmail.com

and CC on

wajid_aamir@yahoo.com

I will be really thankful to you.

Wajid Hussain


hello 5 years ago

i would like to thank x for this tutorial and help

i would like to ask when ever i need to go for LAN setting from PC to PC or PC to hub or hub to hub etc i forget the color code. will you guide me is their any way to remember these color codes. plz let me know

thankx

astech@india.com

bobby_bhatia_sml@yahoo.co.in


SATYENDRA 5 years ago

HOW DATA OF 5 PC'S IS AUTOMATIC SAVED IN ONE MAIN SERVER PC..ANY ONE KNOW PLEASE HELP ME.


jax 5 years ago

how to kwn that which port on switch belongs to which PC on a network...??

I knw its kind of stupid que. but


Naseeb 5 years ago

Hello, I have made LAN network in my hostel through pc to network hub. Now I have 12 PC connected with LAN with no TCP/IP address. I made the network cable with the following sequence.

White Orange

Orange

White Green

Blue

White Blue

Green

White Brown

Brown

Everything is working good on the LAN on XP and Win 7. Now I want to make a server. Please can you tell me what should I do? May I change the cable colour sequence or may I use TCP/IP address on the computers

Please email me on my email address

r_n_shakir@hotmail.com


rajkishor09 profile image

rajkishor09 5 years ago from Bangalore, Karnataka, INDIA Author

@Naseeb : you don't have to alter cable color coding and TCP/IP depends on your choice. Either you can use dynamic IP or static IP


NMSundaram 5 years ago

Hi...!

Gladly i would like to THANK Mr.Rajkishor09 for this tutorial and Help... By NMSundaram.


EMIOLA KAMILUDEEN 5 years ago

Alloamudulillahi as am see this Page at i really like it is intrested.


sagor 5 years ago

i like it...


Abdul Saboor 4 years ago

I am from Pakistan. I am using ptcl dsl service and I have shared my networking through 2 pair wire it works some one tolled me and give the task it can also work on 1 pair it means we can use networking through on cable like (2 core)Is it possible? One thing else I want to ask that can i attach 2 router on my ptcl line and would they work at same time?


Ajay Patel 4 years ago

Hello, I have made LAN network in my hostel through pc to network hub. Now I have 12 PC connected with LAN with no TCP/IP address. I made the network cable with the following sequence.

White Orange

Orange

White Green

Blue

White Blue

Green

White Brown

Brown

Everything is working good on the LAN on XP and Win 7. Now I want to make a server. Please can you tell me what should I do? May I change the cable colour sequence or may I use TCP/IP address on the computers

Please email me on my email address

ajayptl@yahoo.com


haneefa 4 years ago

plz haneefa210608@gmail.com any question network solution


BAABUL KUMAR BORA 4 years ago

Go through the aboe instruction, if any prblem please feel free Advise from ...............Thanks


saurabh sharma 4 years ago

how to one cable in define to the two rj45 connector

in the one side

and other side the IO punching which is the code in one cable to the two IO connector


Taiwo 4 years ago

Hy, gud day..please I want ??? set up a 10 system cafe in a school settings...can U????? plz put ?? thru the connection settings and the equipments needed? Please reply ??? my mail box..thks in anticipation.


Srini 4 years ago

I need one help. I have 8 computers connected to a broadband internet using D-Link Switch box. I want to find out computer wise usage of Internet. Is it possible ? if yes, Please suggest me


Lantean 4 years ago

I have a Wi-max router, a USB modem, and six client PCs and a server(actually another PC as the server).

Before purchasing the router, i routed all internet connection through the server(that is while using the USB modem). Things were easy and uncomplicated, THEN.

But now things have gotten complicated:

Whenever i'm using the router, i have to use the wall clock rather than using my cafe billing software because i have to look up the time manually.

My client PCs can access the internet it's just that i can't get my trial version of CyberKlock cafe-billing software to work whenever i'm using the router.

Please help cos it's driving me nuts.


Lantean 4 years ago

Almost forgot, when using the router, all the clients are connected through a hub which uses the secondary LAN port on the router while the server uses the primary LAN port.


pramod 9911035642 4 years ago

hi,

in a lan cable there is 4 pairs. but working on only 3pairs which transmit and receive data the rest 1 pair what is role .pls clear the concept.

thanks


deepak netam 4 years ago

kya hai ye sab heeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee


khushbu 4 years ago

I want to know that will it be possible to connect Tata indicom broadband connection to two pc's at the same time using a 2-3 port switch not by modem.As far as i know the Ip provided by them is static.Reply back soon as i need to know it urgently.


pctechgo profile image

pctechgo 4 years ago from US

Nice post that can be used to crimp RJ45 connectors to cabling.

Most switches sold now have auto-detect whether the connecting device is a computer or another switch and automatically enable crossover internally.

Thank you for the Hub and for sharing.


pctechgo profile image

pctechgo 4 years ago from US

Nice straight through connection image and cross-over connection image. Very easy to follow.

Thank you for sharing.


pctechgo profile image

pctechgo 4 years ago from US

What about power over Ethernet wiring? How does the wiring differ? Are the color pairs the same?


surendra saini 4 years ago

thanx ...it's helpful


Girish 4 years ago

I am giving another colour code for lan

white

orange white

green

green white

blue

blue white

brown

brown white


Amy 3 years ago

i'm interested in your products about cat5e lan cable

    Sign in or sign up and post using a HubPages Network account.

    0 of 8192 characters used
    Post Comment

    No HTML is allowed in comments, but URLs will be hyperlinked. Comments are not for promoting your articles or other sites.


    Click to Rate This Article
    working