Network

Routing Table

Display the routing table.

netstat -nr

IP Forwarding

Configure IP forwarding when you need to route traffic through the Linux machine.

Check packet forwarding status:

sysctl net.ipv4.ip_forward

Allow packet forwarding on a Linux host:

sysctl -w net.ipv4.ip_forward=1