You are on page 1of 12

Network architecture

TUTORIAL 8

Activity
1. Create the following network on Packet Tracer interface. When
connecting the router to switches make sure the Switch0 is
connected to FastEthernet0/0 interface and Switch1 is connected to
FastEthernet0/1 interface of therouter

2. As shown in the figure above assign the IP addresses 192.168.1.1 and


192.168.2.1 to the nodes PC0 andPC1

1
=

3. What is the class that these IP addresses are belonged? What is the subnetmask?
Ans: The class of these IP addresses are belonged to class C. And the subnet mask is
255.255.255.0.

4. Are PC0 and PC1 are in the same network? Explain the reasons for youranswer
Ans:Yes, they are in the same network because they have same network part which
means the network stream to both are same.

5. Click on PC0 and use its ‘Command prompt’ to ping from PC1. Is your
ping successful? If not explain the reasons forthat
it does not get success.

6. Now we are going to configure the router. Click on the router and go to ‘CLI’tab.
=
7. You’ll see the dialogue ‘Continue with configuration
dialog? [yes/no]:’ at the bottom. Type ‘yes’ and hitenter.

=
8. Then give a suitable router name and give a password when ‘Enter
enable secret:’ is asked. Use the password ‘password’ forthis.
=

9. The enable password is used when you do not specify an enable secret password,
withsome
older software versions, and some boot images. When ‘Enter enable
password:’ is asked assign the password ‘pwd’.
=
=
10. For ‘Enter virtual terminal password:’ give ‘vpwd’ for the password and
hitenter
11. When it says “Enter interface name used to connect tothe
management network from the above interface summary:”
type ‘FastEthernet0/0’ and hit enter as shown below. This allows
you to configure the router’s interface toSwitch0.
12. Then assign the following IP configurations to‘FastEthernet0/0’
13. Then select option 2 in from the followingmessage.

14. Then use the ‘enable’ command and the password ‘password’ to get into
Privileged EXEC mode. This will appear in with ‘#’symbol
=

15. Then type ‘config t’ command to get the configurationterminal.


=

16. Then use the command “interface FastEthernet0/1” to configure other interface of
therouter.
17. Then type (config-if)# ip address 192.168.2.254 255.255.255.0 to assign
anip
address to this interface. And then use “no shutdown” command to turn
the interface on. Then type ‘exit’.

=
18. Then use the following two commands to configure routing. This will enable
packetforwarding

Router(config)#ip route 192.168.2.0 255.255.255.0 fastEthernet0/1


Router(config)#ip route 192.168.1.0 255.255.255.0 fastEthernet0/0

19. Then type ‘exit’ and use “copy running-config startup-


config” command to save configurations.

20. Now your network is up and running. Now try to ping from PC0 to PC1
and comment on your results.
Here after this ping command two networks, the packet can be handed down to the Data Link
layer, framed, and sent to the router’s interface that’s connected to the 192.168.1.1 and
192.168.2.1.

You might also like