Lab Part1
Lab Part1
Instructor by:
Rawah Mahdi Abdullah
Page 1
1. Connecting two computers together
- From (end devices) section drag and drop two computers into the white area
- From the (connections) section select (copper cross-over)
We use cross-over when we connect two same type devices together for
example (computer-computer) or (router-router) …
- Click on first computer then select (FastEthernet0)
Then click on the second computer and select (FastEthernet0)
Adding IP Addresses
- click on first computer Desktop IP Configuration Static
Then in the IPv4 Address bar write IP for firs computer for example 192.168.1.1
- Click on the subnet bar the subnet number will automatically appear
- Then close the window and repeat the same steps for second computer, in this
time you can use 192.168.1.2 IP for second computer
Page 2
2. Checking the connection between both computers
- Click on first computer Desktop command prompt
Then write ping 192.168.1.2 , if you get Reply that mean the connection is correct
- Each computer has only one FastEthernet port, so when we want to connect more
than two computers together we need to use (switch)
- From (network devices) section select (switches) then drag and drop one of
switches into white area
- Add more computers to your white area, and add IP Address for all of them
- Then from (connections) section select (straight-line), then click on first computer
and select FastEthernet0 then click on switch and select one of the FastEthernet
ports, And repeat this steps for all computer individually
We use straight-line when we connect two different type devices such
as (computer-switch) or (switch-router) ..
Page 3
4. Connecting router with switch
- From (network devices) section select (router) then drag and drop one of the
routers into white area
- Then using straight-line connect the switch with router through FastEthernet ports
- Then we need an extra computer to program the router, from (end devices)
section drag and drop laptop into the white area
- Using (console) link connect (RS) laptop port with (Console) router port
- To program the router click on the laptop Desktop Terminal Ok
Then write the following commands:
› Enable
# Config Terminal I used 192.168.1.1 IP address
# Interface FastEthernet0/0 For the FastEthernet0/0 router port
# IP Address 192.168.1.1 255.255.255.0 Because of that I must change the
# N o shutdown IP of first computer
# Exit From 192.168.1.1
To 192.168.1.5 for example
Page 4
5. Checking the connection between computers and router using PING command
- Click on first computer Desktop command prompt
Then write ping 192.168.1.1 , if you get Reply that mean the connection is correct
Page 5
EXPERIMENT #2
1. Adding IPs Automatically to the computers using DHCP server
- When we have too many computers in the network its difficult to add IP for all
of them individually, instead of that we can program router to distribute IP
Address automatically using DHCP
- To program the router click on the laptop Desktop Terminal Ok
Then write the following commands:
› Enable
# Config Terminal Network Name
# IP DHCP Pool myNetwork
# net 192.168.1.0 255.255.255.0 Network IP and Subnet
# default-router 192.168.1.1
# Exit
- and also we have to change the static address to DHCP address for each computer
Page 6
2. adding password to the console router port
# Password 12345678
# login
# Exit
Page 7
3. showing the network details
click on the laptop Desktop Terminal Ok Then
› Enable
# show running-config
Password encrypted
successfully
Page 8
4. saving the router information
- when we turn the router off we lose the information, so we can save
the information using the following commands:
› Enable
# copy running-config startup-config
Page 9