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

- Jun 11, 2008 at 08:11 AM - Latest reply:  sd
- Oct 18, 2012 at 12:14 AM

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..............
See more 

62 replies

Best answer
- Sep 12, 2008 at 06:45 AM
Thank you
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.

Thank you, Jitendra Kumar 97

Something to say? Add comment

CCM has helped 1684 users this month

that is so very amazing.....
Thanks Bro...
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
Tell colour coding pls...
Thank you
Two pc connect with hub port .IP address eg.. subnetmask beacuse my internet ip is what do I please send Message
Thank you
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.
Registration date
Tuesday April 8, 2008
Last seen
July 23, 2008
- Jun 16, 2008 at 02:11 PM
Thank you
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
thak you so mach give to my answer but hwo to attach the cable in RJ45 cable
sir I don lan between 2 pcs given your instriction
i tried this but I unable to connect the internet please suggest some other method
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 at 10:14 PM
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...
Registration date
Wednesday November 12, 2008
Last seen
August 20, 2009
- Nov 13, 2008 at 02:51 AM
Thank you
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
Thank you
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
Registration date
Tuesday April 8, 2008
Last seen
July 23, 2008
- Jul 23, 2008 at 02:24 PM
Thank you
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
Thank you

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....
Thank you
route add 192.168.0. mask /p

you can use this command once you connect 2 computers using a ethernet cable with RJ45 jack
Thank you
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
Registration date
Saturday November 29, 2008
Last seen
December 8, 2008
- Dec 4, 2008 at 04:58 AM
Thank you
Thank you
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.
Registration date
Monday April 13, 2009
Last seen
April 14, 2009
- Apr 14, 2009 at 07:02 AM
Thank you
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