33 Dynamic Networking – Routing Information Protocol

Jacob Christensen and Mathew J. Heath Van Horn, PhD

As demonstrated in the previous lab, routers need to be told about distant networks in order to communicate with devices 1+ hops away. Doing this task manually is tedious and highly prone to human error, especially as networks start increasing in size. As a result, the Routing Information Protocol (RIP) was developed to allow routing devices to advertise their routing tables with their surrounding neighbors autonomously. Not only did this save configuration time, but it allowed routers to essentially re-calibrate themselves even as devices were added or removed over time. RIP routing is no longer generally used. However, it serves as an excellent starter distance-vector routing protocol because learners can see every step of the process. New learners jumping over RIP into OSPF or EIGRP usually have a huge learning curve with a lot of struggle to understand how these protocols work.  Dr. Heath Van Horn has tried skipping over RIP since it doesn’t have any commercial application, but increased student failures demonstrated that RIP is a necessary stepping stone to learning other protocols.

Estimated time for completion: 15 minutes

Phase 0 – Professional Alignment

As enterprise networks grow, manually maintaining static routes becomes increasingly difficult and prone to error. In this chapter, you will configure Routing Information Protocol Version 2 (RIPv2) to automatically exchange routing information between routers. This introductory dynamic routing lab demonstrates how enterprise networks adapt to changes while reducing the administrative effort required to maintain network connectivity.

DCWF Work Roles

The knowledge and skills developed in this chapter align with the following Department of Defense Cyber Workforce Framework (DCWF) work roles:

  • 511 – Network Operations Specialist
  • 441 – Network Services Specialist
  • 531 – Systems Administrator

NICE Work Roles

This chapter supports competencies associated with the following NICE Workforce Framework for Cybersecurity work roles:

  • Network Operations Specialist
  • Network Services Specialist
  • Systems Administrator

Professional Skills

By completing this chapter, you will begin developing the ability to:

  • Configure routers to exchange routing information using RIPv2.
  • Verify dynamically learned routes in enterprise routing tables.
  • Compare static and dynamic routing approaches.
  • Validate network convergence after routing updates.
  • Analyze routing behavior using network diagnostic tools.
  • Troubleshoot common dynamic routing configuration issues.

What You’ll Be Able to Do

After completing this chapter, you should be able to:

  • Configure RIPv2 on multiple MikroTik routers.
  • Advertise connected networks using a dynamic routing protocol.
  • Verify that routers automatically learn remote network routes.
  • Confirm end-to-end connectivity across multiple interconnected LANs.
  • Examine routing tables to distinguish directly connected, static, and dynamically learned routes.
  • Explain the advantages and limitations of RIPv2 compared with static routing.

 

Learning Objectives

  • Implement the RIPv2 network routing protocol
  • Practice using DHCP from a remote server
  • Determine a network topology from a captured network packet

Prerequisites

Deliverables

3 Screenshots are required to consider this lab complete:

  • Screenshot of GNS3 workspace (LANS labeled with correct IPs and Subnets)
  • Screenshot of DHCP configuration settings
  • Screenshot of Wireshark packet showing RIPv2 network advertisement for all networks

Resources

Contributors and Testers

  • Dante Rocca, Cybersecurity Student, ERAU-Prescott
  • Kyle Wheaton, Cybersecurity Student, ERAU-Prescott

Phase I – Building the Network Topology

The following steps are to create a baseline for completing this lab. It makes assumptions about learner knowledge from completing previous labs.

By the end of this lab your network will look like the following:

GNS3 workspace
Figure 1 – Final GNS3 environment
  1. Open GNS3
    1. Open the previous Chapter 26 lab
    2. Save it as a new project: LAB_13
  2. Modify the network environment:
    1. Remove the manually assigned static routes from Router1

      > ip route remove 0,1,2,3

      terminal command execution
      Figure 2 – Removing static routes
    2. Repeat for the other two routers
  3. Label and organize your network as necessary

Phase II – Configuring RIPv2 on MikroTik RouterOS

RIP (Routing Information Protocol) is one of the original protocols used by the Internet.  Version 2 is the current protocol standard.  RIPv2 is a distance-vector protocol in that the routers must communicate with each other about the routes they know about.  The term “hop” is used to describe the distance from A to B.  In our example, PC1 would take 3 hops to reach PC3:  (start) 10.0.0.0 –> 10.0.4.0 –> 10.0.2.0 (end).  RIP advertisement packets contain the distance vector hop information.  We are going to configure our RED and BLUE networks to use RIPv2 and look at the vector tables.  Fortunately for us, MikroTik has simplified RIPv2 configuration immensely!
  1. Initialize a Wireshark capture between Router1 and Router2
  2. Create a new RIPv2 instance on Router1

    > routing rip instance add name=RIP-ROUTER-01 redistribute=connected,rip

    > routing rip interface-template add interfaces=all instance=RIP-ROUTER-01

  3. Create a new RIPv2 instance on Router2

    > routing rip instance add name=RIP-ROUTER-02 redistribute=connected,rip

    > routing rip interface-template add interfaces=all instance=RIP-ROUTER-02

  4. Focus on the Wireshark capture window
    1. You should start to see RIPv2  Request and Response messages being exchanged to the IP 224.0.0.9 over port 520
      wireshark packet capture
      Figure 3 – Wireshark packet capture filtered for RIP
    2. Opening any one of these packets will reveal the routing table being distributed
      wireshark packet capture
      Figure 4 – RIP packet analysis
    3. The recipient routers will use this information to update their own routing tables

      > ip route print

      terminal command execution
      Figure 5 – Updated routing table
  5. Configure RIPv2 on Router3
  6. Test the network’s new ability to dynamically update its routes
    1. Try requesting a new IP address on PC1 and PC3

      NOTE: Did you remember to configure Router1 for DHCP-Relay?

    2. View the route taken from PC1 to PC3

      > trace 10.0.2.X -P 1

      terminal command execution
      Figure 6 – Tracing path to PC3
    3. Cut the path that the ICMP packet took to test if RIP can dynamically update network paths
      Screenshot of cutting path from Router 1 to Router 2
      Figure 7 – Cutting path from Router 1 to Router 2

      > trace 10.0.2.X -P 1

      terminal command execution
      Figure 8 – Tracing route to PC3

Hopefully this exercise proved how significantly easier routing protocols are compared to manually assigning routes in networks.

Career Connection

Although RIPv2 has largely been replaced by more scalable routing protocols in modern enterprise networks, it remains an excellent introduction to the principles of dynamic routing. Network engineers and systems administrators must understand how routers exchange routing information, build routing tables, and adapt to network changes before progressing to enterprise protocols such as OSPF and BGP. The concepts introduced in this chapter provide the foundation for understanding routing convergence, route selection, and automated path discovery—core skills used throughout enterprise networking.

End of Lab

Deliverables

3 Screenshots are required to consider this lab complete:

  • Screenshot of GNS3 workspace (LANS labeled with correct IPs and Subnets)
  • Screenshot of DHCP configuration settings
  • Screenshot of Wireshark packet showing RIPv2 network advertisement for all networks

Homeworks

Assignment 1 – Update the network build in Assignment 1 from the previous chapter

  • Configure DHCP to support the network
  • Replace static routes with RIPv2
  • RECOMMENDED GRADING CRITERIA
    • Screenshot of GNS3 Workspace with all devices labeled
    • Screenshot of the DHCP configuration
    • Screenshot of RIPv2 packets
    • Wireshark Packet Captures where a Green host can ping
      • Red Host
      • Blue Host
      • Gray Host
  • Sample network environment:
    GNS3 working environment
    Figure 9 – Assignment 1 network

Assignment 2 – Update the network build in Assignment 2 from the previous chapter

  • Configure DHCP to support the network
  • Replace static routes with RIPv2
  • RECOMMENDED GRADING CRITERIA
    • Screenshot of GNS3 Workspace with all devices labeled
    • Trace route command showing that an ICMP packet from a Blue host takes different paths to reach the Purple host (You may have to disconnect some connections to force the change in path)
      • Router2 –> Router5
      • Router2 –> Router1 -> Router5
      • Router2 –> Router3 -> Router1 -> Router5
      • Router2 –> Router3 -> Router1 -> Router4 -> Router5
  • Sample network environment:
    gns3 environment
    Figure 10 – Assignment 2 network
Feedback email
Figure 00 – Contact us via prmaster@erau.edu

License

Icon for the Creative Commons Attribution-NonCommercial 4.0 International License

Mastering Enterprise Networks (3rd Ed) Copyright © 2026 by Mathew J. Heath Van Horn is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License, except where otherwise noted.