Last active
August 29, 2015 14:06
-
-
Save OnkelTem/7cdbd9345f6ea0366e6e to your computer and use it in GitHub Desktop.
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
$ ip route get 192.168.1.1 from 192.168.1.108 | |
>> | |
192.168.1.1 from 192.168.1.108 dev eth0 | |
# ip rule add from 192.168.1.108 table 10000 | |
# ip route add throw 192.168.1.108 table 10000 | |
# ip route add default dev wlan0 via 192.168.1.1 table 10000 | |
$ ip route get 192.168.1.1 from 192.168.1.108 | |
>> | |
192.168.1.1 from 192.168.1.108 via 192.168.1.1 dev wlan0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment