tcpdump

Linux Networking Refresh: Routing

Romulo Santos

In this tutorial we are going to do a refresh on routing in Linux networking. To simulate an environment we will use Linux machines via Lima and the limactl CLI. We will create two virtual machines on two different virtual networks and establish communication between them via a router — a third virtual machine that we will also create.

This is the first part of a series. Here we get routing working between real (virtual) machines; a follow-up will build on the same concepts with network namespaces and container networking.