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

Objective: Identify the need for routing protocols and their role in internetworks with multiple routers.

Goals:

  • Observe the need and purpose and routing protocols
  • Extend the switched network from the previous lab to include a second router
  • Configure RIP to support route propagation for non-directly connected networks.

Set up

  • Set up 2 PCs

PC5

  • IP address: 30.30.30.105
  • default gateway: 30.30.30.1
  • netmask: 255.255.255.0

PC6

  • IP address: 30.30.30.106
  • default gateway: 30.30.30.1
  • netmask: 255.255.255.0

Set up a 2950-24 switch

Set up a 1841 router

IP address on FA0/0 is 30.30.30.1

  • This will be the default gateway for the LAN

image

Fully configured 30.30.30.0/24 network

image

PC5 and PC6 can both ping each other and the router

Preparing to connect the 2 Routers - Save Configuration

The routers will be connected via serial cables

Save the current configuration on the routers

  • Go to CLI and get to router#
  • Type copy start run

image

This saves the running configuration (recent changes) to the startup configuration- so the changes will persist after a reboot

TROUBLESHOOTING: to get to router# from Router> you type enable

Add serial ports to the routers

  1. Select Physical tab on the router
  2. Power the router off
  3. Drag the WIC-1T interface card into
  4. turn power back on

image

the slot is on the left

Connecting the Routers

Connect the Routers via Serial cable

image

Configure the serial connection

they are configured with a subnetmask of /30 because that allows for 2 devices which is all we have.

Router0

  • IP ---> 1.1.1.1
  • Subnet ---> 255.255.255.252

Router1

  • IP ---> 1.1.1.2
  • Subnet ---> 255.255.255.252

image

image

The fully set up network

Testing Communication

PC0 to PC4 should be able to ping one another

image

PC5 and PC6 should be able to ping one another

image

PC0-4 should not be able to ping PC5-6

Go to Router0 CLI and from the Router# type show ip route

  • SUBMIT (1 Point): Record the networks showing up in Router 0's routing table (either via text or screenshot)

image

The routes are the networks directly connected and Router0 does not know about the 30.30.30.0 network

SUBMIT (1 Point): Record the networks showing up in Router 1's routing table (either via text or screenshot)

image

Need for Routing Protocols

In order for all PCs to be able to communicate, the 2 routers need to be able to communicate their routing information to each other. They can then build their routing tables so packets can be directed to the proper interface.

We will use the Routing Information Protocol (RIP). With RIP, the routers will broadcast their routing tables so that neighboring routers can learn about other networks

Go to Router0

Add the 1.1.1.0, 10.10.10.0 and 20.20.20.0 network

image

Go to Router1

Add the 30.30.30.0 and 1.1.1.0 networks

image

  • save the configuration with copy run start on both routers

Validate Routing Tables and RIP

SUBMIT (1 Point) Screenshot of routing table (show ip route) on Router 0 showing all of the networks listed

image

SUBMIT (1 Point) Screenshot of routing table on Router 1 showing all of the networks listed

image

SUBMIT (1 Point) Successful ping between PC0 and PC6

image

Switch to Simulation Mode (stopwatch icon in lower right)

  • Start a capture

  • find a RIP packet from Router0 to Router1

image

  • Click the colored box to see the packet details

Submit (1 Point) Screenshot of the Inbound PDU Details

image

Submit (1 Point): Answer the following question: What is the Destination IP address (IP Header) of that packet? What does that IP indicate?

  • Destination IP address of the packet ---> 255.255.255.255

This indicates that its broadcasting to all the networks

image

Submit (1 Point): Answer the following question: What network information is included in the "Rip Route Packet" section? Why is that information included?

image

The Rip Route Packet contains information about the packet that is being sent