Table of Contents

Route IP Traffic And Create Static Routes

General Information

Routing IP traffic and creating static routes.


Lab Setup

The following virtual machines will be used:


Help

Finding help in this section.


Linux Routing

Ensure IP Forwarding is enabled if using router like functionality

# Persistent Change that takes place upon system boot
vim /etc/sysctl.d/overrides.conf
 
net.ipv4.ip_forward = 1


Show Route Table

ip route show

Persistent Static Route

Creating a persistent static route.


Option A: Use nmcli

Interface specific route using nmcli.


Option B: Use nmtui


Option C: Use a static config file

Note: This method is considered “legacy”, but if it works, that is all that matters on the exam.