Lab 7.2 - Routing and Routing Tables
Objectives
- View routing tables
- Add routes
- Understand gateways
Exercise 1: Routing Tables
# View the routing table
ip route show
route -n
# Default route
ip route show default
Exercise 2: Add Routes
# Add a route
sudo ip route add 192.168.2.0/24 via 192.168.1.1
# Verify
ip route show
Lab created on: December 2024 - Tested on Ubuntu 24.04