Skip to content

Instantly share code, notes, and snippets.

@duketwo
Created March 27, 2021 18:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save duketwo/e3ef1518b1a6f84c525ee126029543c9 to your computer and use it in GitHub Desktop.
Save duketwo/e3ef1518b1a6f84c525ee126029543c9 to your computer and use it in GitHub Desktop.
Ip route secondary gateway rule
echo 200 fritz >> /etc/iproute2/rt_tables
ip route add default via 192.168.10.1 table fritz
ip rule add from 192.168.10.133 table fritz
ip rule add from 192.168.1.210 table fritz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment