routing for second interface #95

Closed
evanc wants to merge 4 commits from second-interface-routing into main
Showing only changes of commit 127cd52258 - Show all commits

View file

@ -96,7 +96,7 @@ in {
path = [pkgs.bash pkgs.iproute];
script = ''
ip route add 193.1.96.160/28 dev eth1 src 193.1.96.165 table rt2
ip route add default via 193.1.96.165 dev eth1 table rt2
ip route add default via 193.1.96.161 dev eth1 table rt2
ip rule add from 193.1.96.165/28 table rt2
ip rule add to 193.1.96.165/28 table rt2
'';