Course : cloud and network security c2-2025
Student name: Otaga Ilya
Student no: CS-CNS09-25035
Week 2 assignment building network using
packet tracer
Step 1 connecting pc B to the router
steps:
1. Physical connection
Place pc and router on the working area
➢ assign a note to identify the pc as pc B
➢ use a copper straight through to connect pc B to the router
2 . configure router interfaces
➢ console into the router and enter privilege mode
➢ enter configuration mode config t
➢ assign a hostname to the device hostname R1 I
➢ enter the following command to configure the router to connect to pc
B
➢ set the banner message of the day to warn against unauthorized
access then show the status of the interface configured using show
interface brief command.
➢ Findings: the interface is correctly configured and is up
NOTE: i decided to configure the interfaces one by one for better
troubleshooting since initially both pcs were not reaching each other
and i couldn’t figure which interface was the problem.
3. Test connectivity
Steps:
➢ Tested the connectivity between pc B and router by pinging the
router on pc b cmd
Findings: the ping was successful hence connection is correct
➢ Step 3 configure the interface g0/0/1 to connect to switch then
connected the switch to the router via copper straight through
➢ Connect to pc A TO SWITCH using copper straight through
➢ Configure the ip configurations for pc A
➢ TEST CONNECTIVITY BETWEEN PC A and the router using ping
command: ping 192.168.1.1
➢ Findings: ping successful hence the connection is okey
4. Configure the switch
➢ Set switch name to S1
➢ No ip domain-lookup to prevent the switch from trying to resolve
wrong inputs.
➢ set the interface vlan 1 to given ip and enable no shutdown
➢ set the switch default gateway
Step 4: Verify connectivity end-to-end connectivity.
a. From PC-A, ping PC-B.
b. From S1, ping PC-B.
All the pings successful.
Fig 1 ping PC B from PC A
Fig 2 ping PC B from S1
Part 3: Display Device Information
In Part 3, you will use show commands to retrieve interface and routing
information from the router and switch.
Step 1: Display the routing table on the router.
Command: show ip route
What code is used in the routing table to indicate a directly connected
network? Both l and c
How many route entries are coded with a C code in the routing table?
2
What interface types are associated to the C coded routes?
GigabitEthernet0/0/0
GigabitEthernet0/0/1
b. Use the show ipv6 route command on router R1 to display the IPv6
routes.
Step 2: Display interface information on the router R1.
a. Use the show ip interface g0/0/1 to answer the following questions.
Command: show ip interface <int name>
Interface g0/0/0
Interface g0/0/1
What is the operational status of the G0/0/1 interface?.
GigabitEthernet0/0/1 is up, line protocol is up
What is the Media Access Control (MAC) address of the G0/1 interface?
is 00d0.bcca.d802
How is the Internet address displayed in this command?
Internet address is 192.168.1.1/24.
To see the IPv6 interface information, enter the show ipv6 interface
brief command on R1.
show ipv6 interface brief
. Enter the show ip interface brief command on the switch S1.
show ip interface brief
1. If the G0/0/1 interface showed that it was administratively down,
what interface configuration command would you use to turn the
interface up? Navigate to interface g0/0/1
no shutdown
2. What would happen if you had incorrectly configured interface G0/0/1 on the
router with an IP address of 192.168.1.2?
Pc A and pc B would not be able to communicate as all packet sent by A will not reach
the destination