Created
September 9, 2015 21:02
-
-
Save afelicioni/800969da59ec3b8df447 to your computer and use it in GitHub Desktop.
routing su interfaccia eth1 aggiuntiva, via alice adsl
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 rule add from 192.168.1.254 table alice | |
ip rule add to 192.168.1.254 table alice | |
ip route add 192.168.1.0/24 dev eth1 src 192.168.1.254 table alice | |
ip route add default via 192.168.1.1 dev eth1 table alice |
tabella da aggiungere in
/etc/iproute2/rt_tables
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
memo: aggiunto su una macchina CentOS in
/etc/rc.d/rc.local