Routing Commands for various Platforms

Add route to macOS
sudo route -n add -net 10.0.0.0/8 172.19.5.78

Add route to ubuntu

sudo route add -net 172.31.255.0/24 gw 172.16.1.2 eno2

Show routing table ubuntu

route -n
ip route
netstat -rn