Ask a question Report

How to connect 2 systems using LAN [Solved/Closed]

sanchitgarg - Latest answer on Oct 18, 2012 12:14AM
How to connect two systems through LAN.......?
I tried
IP address eg.. subnetmask
and2nd system subnetmask
and in cmd promt I entered ping
message I got is destination host unreachable
so what should I do
help me..............
Read more 

moins plus
Hello friend,
I read your massage, I known what's you have problem.
About me: -
Name - jitendra Kumar Sharma
From - India (Bihar) muzaffarpur
I am student of BCA 5 SEM.
Your question is how to connect 2 system using LAN?
Ands is: -
1 step: - you have a cable his name is
And RJ45 connector
2step: - make a cross cable

1st point 2nd point of cable wires
Cable each wires setting.
3 steps: your computer have install Ethernet hardware
How to
Right click "my computer"
Move mouse "computer properties"
Click "hardware" tab menu
Click "Device Manager"
Device manager window is open
Check network adapter
"PCI Fast Ethernet NIC" is work or not?
If NIC device is work then do next work
Else Nick device have cross simple then double click NIC device.
And "Enable Device"
Device usage: use this device (enable)

End work
4 steps. Create a ip address to both system are not same (My network places)
Click: - "view network connections" in network tasks
Right click: - local area connection
Ex: Realtek RTL8139 family PCI
Click: properties
Click 'this connection uses the following item:'
Internet protocol (TCP/IP) click "properties"
Use the following IP address
Ex: -
1st PC
Subnet mask
2nd Pc
Subnet mask
Click "ok" "ok"
4 steps: dos command check connection
Ping ip address (other pc)
Ex: ping
They have checking connection
And massage report in network task Firwall setting change
Off (not recommended) both system.
6-check group are same in my computer properties "computer Name"
Ex: "workgroup"
7. Then plug in cable to computer pc1 pc2.
Then massage is display "network cable is plugging with 100mbps"
Then click "network placese" and click "view workgroup computer"

Windows Xp any new
1.568 cable is make in cross 1---3,2----6,3----1,6-----2
2.same work group name
3.if you have problem to generate to ip address so this is not important to computer because automatically assign ip address
4.if Ethernet is not work/ not install
You have installed it with "main board" cd
Insert cd in cd Rom click "my computer" "properties" "hardware" "device manager"
Right click NIC device and choose update device click next to fowling instruction.
5.firwall setting, anti viruse firewall setting.
6. Ms dos command ping is must be using.
Ping command using in dos
If massage is Request timed out.
So you have a cable problem.
Of work group problem.

So I hope you are understand my simple language.

jobbie- Apr 19, 2011 06:25PM
that is so very amazing.....
Pankaj- Apr 28, 2011 01:13PM
Thanks Bro...
wasim- May 4, 2011 11:29AM
Good tutorial ...but it would have been better if you cud have covered the second part.....i.e. after connecting the two PC' needs to transfer how to transfer files between two PC's
sd- Oct 18, 2012 12:14AM
Tell colour coding pls...
moins plus
Two pc connect with hub port .IP address eg.. subnetmask beacuse my internet ip is what do I please send Message

moins plus
To CONNECT 2 computers EXPERTS say that a CROSS OVER cable is needed. BUT today we EXPERIMENTED and used a STRAIGHT CABLE to CONNECT 2 PC's, I dont know how it worked but the CABLE is WORKING fine.

Some ppl say now a days LAN CARDS are AUTO SENSING and they dont mind any type. So you ppl try and POST, I want to see how many ppl succeed in there attempt.

and for cable configuration.

2 Standards 568a & 568b

u can find the configuration from many places but for the ease I am writing it in th following.

4 pairs, 8 cables.

1. Orange White; 2. Orange; 3. Green White; 4. Blue; 5. Blue White; 6. Green; 7. Brown White; 8. Brown

The above config is for 568b, make the same on both sides and it will be a STRAIGHT CABLE.

1. Green White; 2. Green; 3. Orange White; 4. Blue; 5. Blue White; 6. Orange; 7. Brown White; 8. Brown

The above config is for 568a, make one side 568a & other 568b and you will have a CROSSOVER CABLE.

The cables used are 4.

1, 2, 3 & 6

Data came in at 1 goes out from 2, then again in at 3 and goes back from 6.

In crossover 1 = 3; 2=6; 3=1; 6=2

1= Oragne White; 3 = Green White; 2= Orange; 6 = Green

I hope I have written it very simply.

Have fun.

moins plus
make a cross cable for the connection and put the 2 pc under the same workgroup.And finally, add d below configuration 2 d LAN of d 2 system.

IP address eg.. subnetmask
and2nd system subnetmask

It will definitely work.giv me a feedback

kishan- Apr 14, 2009 04:09AM
thak you so mach give to my answer but hwo to attach the cable in RJ45 cable
jaan- May 14, 2009 05:05AM
sir I don lan between 2 pcs given your instriction
biddar- Jul 15, 2009 02:39AM
i tried this but I unable to connect the internet please suggest some other method
chandru- Jul 15, 2009 05:08AM
Make a cross cable for the connection and put the 2 pc under the same workgroup.And finally, add d below configuration 2 d LAN of d 2 system.

IP address eg.. subnetmask
and2nd system subnetmask

The result is destination host notreachable
please send procedure for connecting 2 systems through lan- Aug 19, 2009 10:14PM
my name is dilip.studying btech.i want know how to connect 2 systems in please send the procedure for connect them,please send what are the requirements needed for that..
Please send reply to my mail id...
moins plus
which cable you are using ?????????????

you are connecting through lan cable meanse you need cross over cable
then you can configure the ip how you tried that will work

then you check the workgroup should same otherwish its not working

moins plus
sir the best plan for you is the coming below
"switch 5 Ports+ADSL Router +Windows2003 server + ISA server2004+ + 2 NIC"
with those you have connected the 2pcs +internet
if you don't need the internet just bring Aswitch or Ahub"
if you don't want to install too many stuff and do alot of effort
Bring Alayer3 switch
which connects like aswitch + having the routing information
Or you can deploy the 2003 server +isa
your adsl router has the ip
both clients have ,
you have 2 NICs plugged on you software router "windows 2003 + ISA server"
one of them has Note "gateway"
the other one has

One cable from Adsl router >>>>>Server
Clients cables >>>>>>> Switch
Other cable from the server >>>>>Switch

With the isa server Deployed you have nated your network Congrats

It make the nat service Automatic

You've ust to create arule to Allow all the trafic between both the Int+Ext

If you need any more help i'm at your service just conatct me by E-mail

moins plus
Do u want 2 be sharing files&document btw d 2 pc without internet or u want d 2 pc to be on internet? if its sharing ur documents,file&printer without internet btw d 2pc then u must get a cross-cable. But if u want d 2 pc on internet then u hv to configure router so tht it serve as ur gateway, by setting ip given by ur ISP as ur default gateway&create and ip for d 2 pc. for example


I hope its clear enough

moins plus

I am venkat,i will give some steps and tips

below for you.

1. Kindly check your hub / switch first.
2. Your error msg was destination host unrechable (ie) unable to connect reasons are may LAN cable, HUB problem. Check those things by typing cmd in RUN command then type ping and ping see both of the IP's are connecting or not?
3. Important, check the LAN cables.

Reply me.... if you succeed....

moins plus
route add 192.168.0. mask /p

you can use this command once you connect 2 computers using a ethernet cable with RJ45 jack

moins plus
if u try to connect to sambha server this may go like this
#vi /etc/samba/smb.conf
#service smb restart
#smbuser -a USERNAME
#smbpasswd -a ***********
To connect with LAN wire & on the telnet to with the help of following command can connect two pc's
#chkconfig krbf5 -telnet on
Also one thing make sure that after typing command:
#vi /etc/samba/smb.conf
You have to add certain things in this file.
;comment = Marry's and Fred's stuff path = /
;valid users = mary fred
;public = no
writable = yes
"/etc/samba/smb.conf" 301L,10958C
& esc+shiftzz

moins plus

moins plus
Singh,what is that thing that doesn't work?
1-try the ping command and tell me what happened.
2-setup home or small network from "my network places" make both of two systems on the same work group
3-insert the systems ips with the same subnet,gateway and dns.
4-check your connection speed if it's 10 or 100 mbps.
if all this and still not working then install another Os on both of them
if not Contact me.

moins plus
use ip address for host system as:
press tab button for subnet mask.
default gateway: or 6 or7 as ur wish.
for 2nd system ip address:
it will work

This document entitled « How to connect 2 systems using LAN » from CCM ( is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.

Not a member yet?

sign-up, it takes less than a minute and it's free!

Members get more answers than anonymous users.

Being a member gives you detailed monitoring of your requests.

Being a member gives you additional options.