приведи к виду:
/etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 10.7.1.81
netmask 255.255.255.192
gateway 10.7.1.65
broadcact 10.7.1.127
/etc/network/if-up.d/static-routes
#!/bin/sh
route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.7.1.65 dev eth0
route add -host 195.98.64.92 gw 10.7.1.65 dev eth0
route add -host 195.98.64.65 gw 10.7.1.65 dev eth0
route add -host 195.98.64.66 gw 10.7.1.65 dev eth0
route add -net 192.168.149.0/24 gw 10.7.1.65 dev eth0
chmod +x /etc/network/if-up.d/static-routes
Привел к виду, через sudo chmod +x...,
последний вопрос зачем добавлять роуты в /etc/network/if-up.d/static-routes если в /etc/ppp/ip-up уже есть что-то подобное....
/etc/ppp/ip-up
#!/bin/sh
LOG=/var/log/ip-scripts.log
CONN_NAME=$6
case $CONN_NAME in
icl2tp)
/sbin/route add -net 192.168.149.0/24 gw 10.7.1.65 1>>$LOG 2>>$LOG
/sbin/route add 195.98.64.92 gw 10.7.1.65 1>>$LOG 2>>$LOG
/sbin/route add 195.98.64.65 gw 10.7.1.65 1>>$LOG 2>>$LOG
/sbin/route add 195.98.64.66 gw 10.7.1.65 1>>$LOG 2>>$LOG
/sbin/route del default 1>>$LOG 2>>$LOG
GW=`/sbin/ifconfig ppp5|grep 'P-t-P' | cut -f 3 -d : | cut -f 1 -d \ `
echo "Gateway = $GW" 1>>$LOG 2>>$LOG
/sbin/route add default gw $GW 1>>$LOG 2>>$LOG
/sbin/route add -net 10.0.0.0/8 gw 10.7.1.65 1>>$LOG 2>>$LOG
# /bin/echo "nameserver 127.0.0.1" >/etc/resolv.conf 2>>$LOG
;;
*)
;;
esac
p.s. КСТАТИ КОМП НАЧАЛ ГРУЗИТЬСЯ АЖ НА 10 сек БЫСТРЕЕ