1. Objective:
after this session, a student should be able to
a. Apply
as a main theme sub-netting (sub-netting, variable length sub-netting and
super-netting)
b. Learn
and practically use commands in configuration of networking devices.
c. Configure
routers, switches, hubs and computer nodes using packet tracer
d. Add
and removing interfaces from router
e. To
connect dissimilar and similar network devices
2. Physical
tools
a. Routers
3pcs
b. Switches
3pcs
c. Server
1pcs
d. Laptops
or desktops 5pcs
e. Copper
Straight through cables (UTP or STP)
f.
DCE cables
3. Logical
tools
a. IP
address 1pc-------->we can use 192.168.10.0
NB: all these tools are available
in the packet tracer so worry not
4. Activities
sequence:
a. Open
your packet tracer window and you will see the window shown in fig 1. Steps on the start –all program-cisco packet tracer- Cisco Packet Tracer
Fig 1
b. At
the bottom-left where you see a panel rectangle written Routers, above and below it are devices you can use in setting a
network. These devices are either layer 1, 2 or 3 of the OSI model. Adjacent to
the right is a panel that gives you different types of devices in the same
category. Drag two generic Router PT to the whitish panel as shown in fig 2
Fig 2
c. Click
connections and the panel changes as
in fig 3
fig 3
d. Click
serial DCE and then click router-PT Router 0. A menu appears as
shown in fig4.
fig 4
Connect it to the serial 2/0. Click again the router-PT Router 1 and connect it to
the serial 2/0. Add another router so it appear as fig 5 shows.
Fig 5
e. Click switches and select 2950T switch and
connect them with copper straight
through which is thick bold when
u click connections. Your work
should appear as shown in fig6
Fig 6
f.
Each connection from a router to a switch or router
to router is a network (sub-network). Click on the end devices and you will see PC PT (Desktop), laptop PT (laptops), server
etc. Add two Desktop or laptop in each switch using the previous procedure so
that your work should appear as in fig7. NB you can add as many PCs as the
given swatches’ interfaces but for simplicity use two.
Fig 7
g. Now
you have your network layout of fig 7. The next step is to configure the
routers to communicate. The first thing is to determine how you are going to
sub-net your IP address (192.168.10.0) to be able to work for all subnets.
Looking at fig 7, we have six networks (sub networks). The subject of
sub-netting was covered intensively in the class, so we just apply here. Having
six subnets, we need to at least have six or more sub-netted set of address
from (192.168.10.0). So by borrowing 3 bit as the network portion we can
satisfy our needs. This leaves us with at most 32 ip addresses for each network
and so 30 useable ip addresses.
These are:
192.168.10.0----->192.168.10.31
192.168.10.32----->192.168.10.63
192.168.10.64----->192.168.10.95
192.168.10.96----->192.168.10.127
192.168.10.128----->192.168.10.159
192.168.10.160----->192.168.10.191
192.168.10.192----->192.168.10.224
192.168.10.225----->192.168.10.255
Though the first and last subnet
can mod ified and get used we leave that subject here and work out with the six
left as follows
192.168.10.32----->192.168.10.63
192.168.10.64----->192.168.10.95
192.168.10.96----->192.168.10.127
192.168.10.128----->192.168.10.159
192.168.10.160----->192.168.10.191
192.168.10.192----->192.168.10.224
We assign as
follow:
192.168.10.32----->192.168.10.63
to router 0 and router 1
192.168.10.64----->192.168.10.95
to router 0 and router 2
192.168.10.96----->192.168.10.127 to router 1 and router 2
192.168.10.128----->192.168.10.159 to router 0 and switch 0 and its
PCs
192.168.10.160----->192.168.10.191 to router 1 and switch 2 and its
PCs
192.168.10.192----->192.168.10.224 to router 2 and switch 1 and its
PCs
Now already we have our sub-netted
ip addresses and assigned to the respective networks
h. Now
click on router 0 and a pop window appears as in fig 8. Click
on CLI (command line interface for
the router 0). The pop up window changes as in fig 9. The press enter/return key from your keyboard.
Fig 8
Fig 9
i.
Enter the following commands: inside double
quotes, commands are bolded and parameter are in italic. After each command
press enter/return key so that it takes effect.
1. “enable” to enter privilege mode. In
this mode if you need any help, just press “?” from your keyboard which list
all available commands.
2. “configure terminal” to enter global
configuration mode.
3. “Interface serial 2/0” to enter
interface serial 2/0 which connect this router to router 1
4. “Ip address 192.168.10.33 255.255.255.224” to assign this interface the first
ip address from its sub-netted range. And remember 255.255.255.224 is a subnet mask.
5. “Clock rate 56000“ setting clock rate.
6. “no shutdown”
7. “exit” to exit the interface
8. “router rip” to enter touting protocol
and for this case we’ve chosen Rooting Information Protocol, other are EIGRP
etc.
9. “Version 2” to set rip to version two.
10.
“network 192.168.10.32”
11.
“exit”
12.
“exit”
13.
“exit”
j.
We are done with configuring interface serial
2/0 of router 0. Repeat the same procedures for router 1 to configure interface
serial 2/0 by assigning it ip
192.168.10.34 bacause it is the same network.
k. Then
return to router 0 and do the same for interface serial 3/0, but this is
another network and remember we gave it “192.168.10.64----->192.168.10.95 to
router 0 and router 2” in step G, so our first ip address is 192.168.10.65
which can be assigned to this interface. Repeat for interface serial 2/0 of
router 2 by giving it ip address 192.168.10.66 since they are in the same
network
l.
Lastly repeat the procedure in router 2 for
interface 3/0 and router 1 for interface 3/0 which is in
“192.168.10.96----->192.168.10.127 to router 1 and router”. By doing it
correctly all the router will be able to communicate indicated by the green
color instead of the brown. See fig 10 below. If the green light doesn’t
appear, repeat the procedure carefully.
F ig 10
m. Now
we need to configure our fast Ethernet interfaces from each router which
connect the router to the workstation connected through the switch. Repeat
procedure in step “I” as follow: click router 0 and go to the command line:
i.
“enable” to
enter privilege mode. In this mode if you need any help, just press “?” from
your keyboard which list all available commands.
ii.
“configure
terminal” to enter global configuration mode.
iii.
“Interface
fastethernet 0/0” to enter interface fastethernet 0/0 which connect this
router to switch 0
iv.
“Ip
address 192.168.10.129
255.255.255.224” to assign this interface the first ip address from its
sub-netted range. And remember 255.255.255.224 is a subnet mask.
v.
“no shutdown”
vi.
“exit”
to exit the interface
vii.
“exit”
viii.
“exit”
The interface will soon change to green
indicating it is correctly configured and ready for communication. But we also
need to assign computers in this network ip addresses so that they can communicate
with the router and there self through the switch. Remember the gate way is the
ip address assigned to the router and in this case it is 192.168.10.129 for this network and each interface of a router
whether is a serial or fastethernet connect to a different network.
n. Configuring
desktop.
1. Click
desktop/server/laptop etc whatever end device is attached to the switch/hub in
the respective network. The window in fig 11 appears.
Fig 11
Click config and the window will change as
seen in fig 12.
Fig 12
Set gatway to the ip address of the
fastethernet interface connected to this network and for this case
192.168.10.129, fig13 shows this
Fig 13
Click fast Ethernetnet and the window in fig 14 below appears. Here
assign ip addresses in the range this network is given. Any ip address in this
range is valid but it will be wiser to use them in ascending order.
Fig 14
Repeat
these procedures for each fastethernet in the router and its associated
workstations. Your network will entirely light green and you can send pact to
any workstation. Fig 15 depicts this
Fig 15
Congratulation
now you are able to set up entirely your own network.
No comments:
Post a Comment