This commit is contained in:
evanc 2023-09-04 18:31:40 +00:00
parent caf5b4291e
commit 127cd52258

View file

@ -96,7 +96,7 @@ in {
path = [pkgs.bash pkgs.iproute]; path = [pkgs.bash pkgs.iproute];
script = '' script = ''
ip route add 193.1.96.160/28 dev eth1 src 193.1.96.165 table rt2 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 from 193.1.96.165/28 table rt2
ip rule add to 193.1.96.165/28 table rt2 ip rule add to 193.1.96.165/28 table rt2
''; '';