Lab#2 Creating A LAN
Lab#2 Creating A LAN
Islamabad
Data Communication Networks LAB
Remarks: ……………………………………………
IP Addresses
What is an IP address? Every computer on the Internet has a unique numerical address,
called an Internet Protocol (IP) address, used to route packets to it across the Internet.
Just as your postal address enables the postal system to send mail to your house from
anywhere around the world, your computer's IP address gives the Internet routing
protocols the unique information they need to route packets of information to your
desktop from anywhere across the Internet. If a machine needs to contact another by a
domain name, it first looks up the corresponding IP address with the domain name
service. The IP address is the geographical descriptor of the virtual world, and the
addresses of both source and destination systems are stored in the header of every packet
that flows across the Internet.
Background
This section assumes that you are using Windows NT/2000/XP/7. This is nondestructive
Lab that you can perform on any host without changing the system configuration.
Trace Route
Traceroute is a command which can show you the path a packet of information taken
from your computer to one you specify. It will list all the routers it passes through until it
reaches its destination, or fails to and is discarded. In addition to this, it will tell you how
long each 'hop' from router to router takes.
In Windows, select Start > Programs > Accessories > Command Prompt. This will
giveou a window like the one below.
Enter the word tracert, followed by a space, then the domain name.
C:\tracert google.com
Creating LAN
1. Objective
2. Resources Required
3. Introduction
Connect two computers using cross cable. Use hub/switch if numbers of workstations are
greater than two. Use straight through cable incase of connection with the hub/switch.
Now once you are inside the TCP/IP properties of your computer, click Use the following
IP and enter 192.168.0.1 as IP address and 255.255.255.0 as subnet mask. Leave the
other details blank and click OK.
Now go to TCP/IP properties of the second computer and enter the same details except
the IP address, which should be 192.168.0.2 and click OK.
Now the networks are ready, you might need to restart both computers in some cases. If
you are looking to share the Internet Connection between two computers, go to Local
Area Network properties again and click on sharing tab. Here you can select the enable
internet connection sharing.
Done.