Lab 4 2: Packet Tracer Single Router Lab - Hsanokklis/2023-2024-Tech-journal GitHub Wiki

Objective: Review the role of routers in networking and configure a simple routed network

Goals:

  • Gain more experience with switching and routing technology and Packet Tracer

Set up

  1. Check the network addresses on the PC's from 10.10.100.X and make sure that 10.10.10.1 is set as the gateway.

image

I set the default gateway for all 4 computers to be 10.10.10.1

  1. Add a Cisco 2950-24 switch

  2. Add a new generic PC4 (with the same mask and gateways as the other PCs

  3. Connect the 2 switches with a crossover cable using port Fa0/1 on both switches

image

Fully set up network

  • The Ip address for PC4 is 10.0.0.4
  • The network mask is 255.255.255.0
  • The default gateway is 10.0.0.1

Ensure that all PCs can successfully ping one another before moving on

image

I tested the pings between all the PCs and they were all successful

Creating a second network

Create a separate network using a different address (20.20.20.0/24)

  1. **Change the IP configuration of PC4 with the following info

IP: 20.20.20.104

Netmask: 255.255.255.0

image

Gateway: 20.20.20.1

image

image

Both 10.0.0.0/24 and 20.20.20.0/24 networks are configured but they cannot ping each other because switches operate using MAC addresses. In order for these 2 networks to communicate, a router needs to connect them because it operates at the layer 3 of the OSI model and sends packets where they are addressed to

  1. Insert a 1841 router between the switches

  2. Connect them with straight through cables(and remove the crossover cable AND MAKE SURE the ports are turned on in the router config)

  3. Configure the router so that the ethernet Ip address/subnet masks match the networks they are connected to

image

configured network with a router

Commands

Open CLI on the router

you need to be at the router# prompt

If the prompt is router(conf)# type exit or if at router(conf-if)# type exit twice until you return to the router#

  • Type in show ip route

the bottom 2 rows with the C in front represent the current routes, the C means that the networks are DIRECTLY CONNECTED to the router

Deliverable

Submit a screenshot of the "show ip route" command with the current routes

image