LAB 1: H ?: Ow To Connect Two Computers Using A Crossover Cable and Share Data
LAB 1: H ?: Ow To Connect Two Computers Using A Crossover Cable and Share Data
LAB 1: H ?: Ow To Connect Two Computers Using A Crossover Cable and Share Data
Practical:
First of all check in device manager whether the Ethernet driver is installed or not. (Fig
1.1) If it is not installed then install it. Also make sure that, in network adapters that Ethernet is
not disabled.
(Fig 1.4)
Connect tested crossover cable one end with one computer and other with second
computer.
Fig 1.1
Lab Manual Computer Communication & Networks
Fig 1.2
Fig 1.3
Lab Manual Computer Communication & Networks
Fig 1.4
Go to Ethernet Properties (Fig 1.5) and in items select “Internet Protocol Version 4” and click
on its Properties button (Fig 1.6).
Fig 1.5
Lab Manual Computer Communication & Networks
Fig 1.6
In IPv4 properties window select “use the following IP address” after selection give random IP
address of class C in IP address field (Fig 1.7). As you enter IP address and focus on subnet
mask field, it automatically calculates subnet mask.
Fig 1.7
Now do the same on the other computer and assign the IP address 192.168.20.2 or of your
choice. Because IP address is unique in network on every device.
Lab Manual Computer Communication & Networks
Checking:
To check whether connection is established between two computers or not. Open run>>cmd and
then write
Command:
ping 192.168.20.2 /t from first computers
ping 192.168.20.1 /t from second computer
If there is a problem in cable or connector is not connected correctly (Fig 1.8) then it will not
respond and it will give error e.g. fatal error, Unreachable host etc.
Fig 1.8
If your connection is established and host reply then your connection is successful.
Lab Manual Computer Communication & Networks
Share File/Folder:
Suppose you want to share folder name “Program” to computer one having IP address
192.168.20.1.
Click on the folder or file you want to share and in drop down menu select Share
with>>Specific People
Fig 1.9
A window will appear, add 192.168.20.1 IP address or the computer address with which you
want to share the file/folder. Set permission level for the IP either Read, Write/Read or Owner.
Fig 1.10
Lab Manual Computer Communication & Networks
Now the file/folder you share is accessible by other computer. You just have to open run and
then type the IP address of other computer after two back slashes e.g. \\192.168.20.2
Fig 1.11
Computer will ask username and password. You have to provide the username and password of
second computer user. Then after entering valid credentials a new window will appear
containing shared folder.
In the same way you can share a folder, file, exe files and much more.
Lab Manual Computer Communication & Networks
Practical:
Open my computer and on the above taskbar there is a ”Map Network Drive” option
in network portion. When you click on it, a window appear. It has field for Drive
letter and the folder shared between two computers.
Select the letter according to your choice and in folder field write IP address and after a
slash write the name of folder that is shared. Format: \\192.168.20.2\programs
e.g. \\192.168.20.2\E$
After this computer ask for username and password of other computer. Enter it and this
will make a drive on My computer of your windows so that you will access the shared
folder easily and quickly from your my computer.
Lab Manual Computer Communication & Networks
On right pane of properties select Advanced System Settings. Switch to remote Tab on
Advanced System Settings window. Select Allow remotes access radio button in the
bottom part and then apply the settings. Now you can access this computer on other
systems.
Lab Manual Computer Communication & Networks
In remote desktop connection write the IP address of other computer and click connect
then it will connect you with the desktop of other computer in this way other computer
will go in log off state and desktop of that computer will show in your computer in a
separate window.
Input username and password and then a new window is open for verification
Practical:
Open wamp server and in the taskbar left click on wamp server icon. Select
Apache and in its sub menu open “http.conf” file, this file will open in notepad.
What you have to change is find “ServerName :80” and replace it with
“ServerName *:80” anf after 20 lines there is written “Deny from all” replace it
with ”Allow from all” . Before changing this file make sure you have taken the
backup of this file. Now you can access the wamp server projects in the browser of
other computer using the same localhost or 172.0.0.1 in URL place.