Created
March 4, 2022 18:56
-
-
Save jeffbeagley/72a9335659a40f7b8fc40215e02eda9d to your computer and use it in GitHub Desktop.
Route to specific interface based on CIDR with Ubuntu Route Tables
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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