Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jeffbeagley/72a9335659a40f7b8fc40215e02eda9d to your computer and use it in GitHub Desktop.
Save jeffbeagley/72a9335659a40f7b8fc40215e02eda9d to your computer and use it in GitHub Desktop.
Route to specific interface based on CIDR with Ubuntu Route Tables
sudo route add -net <some_destiation_cidr> gw 10.0.2.2 enp0s3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment