Created
March 27, 2021 18:41
-
-
Save duketwo/e3ef1518b1a6f84c525ee126029543c9 to your computer and use it in GitHub Desktop.
Ip route secondary gateway rule
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
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