0% found this document useful (0 votes)
3 views9 pages

Lab Part1

The document outlines a step-by-step guide for connecting computers and creating a network using various devices like switches and routers. It includes instructions for assigning IP addresses, checking connections with the ping command, and configuring a DHCP server for automatic IP assignment. Additionally, it covers securing the router console with a password and saving router configurations.

Uploaded by

safen.gyan77
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views9 pages

Lab Part1

The document outlines a step-by-step guide for connecting computers and creating a network using various devices like switches and routers. It includes instructions for assigning IP addresses, checking connections with the ping command, and configuring a DHCP server for automatic IP assignment. Additionally, it covers securing the router console with a password and saving router configurations.

Uploaded by

safen.gyan77
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

EXPERIMENT #1

Hawler Private Institute

Network LAB - Fundamental of Network


How to connect pc and create a network

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

3. Connecting more than two computers together

- 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

- To insert password for the router console port


click on the laptop  Desktop  Terminal  Ok
Then write the following commands:
› Enable
# Config Console number
Terminal # Line
Console 0 The password is 12345678

# Password 12345678
# login
# Exit

Page 7
3. showing the network details
click on the laptop  Desktop  Terminal  Ok Then

write the following commands:

› Enable
# show running-config

One of the information


we can see is the
password

- we can encrypt password using the following commands


› Enable
# Config Terminal
# service password-encryption

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

You might also like