у меня отдельный скрипт роуты рулит
#!/bin/bash
gwl="*" #гейт локалки (10.173....
gwp="*" #гейт внешки (80.73.85.94)
#STK
route add -net 213.129.32.0 netmask 255.255.224.0 gw $gwl
route add -net 80.73.64.0 netmask 255.255.224.0 gw $gwl
route add -net 10.160.0.0 netmask 255.248.0.0 gw $gwl
route add -net 91.185.224.0 netmask 255.255.224.0 gw $gwl
#STK LOCAL
route add -net 10.160.0.0 netmask 255.248.0.0 gw $gwl
route add -net 10.168.0.0 netmask 255.252.0.0 gw $gwl
route add -net 10.172.0.0 netmask 255.255.0.0 gw $gwl
route add -net 10.173.0.0 netmask 255.255.192.0 gw $gwl
route add -net 10.173.66.0 netmask 255.255.254.0 gw $gwl
route add -net 10.173.68.0 netmask 255.255.252.0 gw $gwl
route add -net 10.173.72.0 netmask 255.255.248.0 gw $gwl
route add -net 10.173.80.0 netmask 255.255.240.0 gw $gwl
route add -net 10.173.96.0 netmask 255.255.224.0 gw $gwl
route add -net 10.173.128.0 netmask 255.255.192.0 gw $gwl
route add -net 10.173.192.0 netmask 255.255.192.0 gw $gwl
route add -net 10.174.0.0 netmask 255.254.0.0 gw $gwl
route add -net 10.176.0.0 netmask 255.240.0.0 gw $gwl
#BBN
route add 80.73.64.225 gw $gwp
route add -net 194.84.86.0 netmask 255.255.255.0 gw $gwp
route add -net 212.16.201.0 netmask 255.255.255.0 gw $gwp
route add -net 212.57.116.0 netmask 255.255.255.0 gw $gwp
route add -net 217.106.69.0 netmask 255.255.255.0 gw $gwp
route add -net 217.106.74.0 netmask 255.255.254.0 gw $gwp
route add -net 217.17.188.0 netmask 255.255.255.0 gw $gwp
route add -net 77.242.0.0 netmask 255.255.240.0 gw $gwp
route add -net 80.72.17.0 netmask 255.255.255.0 gw $gwp
route add -host 80.73.73.250 gw $gwp #нужно, чтобы смотреть статистику
route add -net 80.81.216.0 netmask 255.255.255.0 gw $gwp
route add -net 80.92.198.216 netmask 255.255.255.248 gw $gwp
route add -net 80.92.199.0 netmask 255.255.255.224 gw $gwp
route add -net 81.222.116.0 netmask 255.255.255.0 gw $gwp
route add -net 82.114.131.0 netmask 255.255.255.0 gw $gwp
route add -net 82.114.132.0 netmask 255.255.254.0 gw $gwp
route add -net 82.114.134.0 netmask 255.255.255.0 gw $gwp
route add -net 87.226.165.0 netmask 255.255.255.0 gw $gwp
route add -net 87.226.166.0 netmask 255.255.255.0 gw $gwp
route add -net 87.226.178.0 netmask 255.255.254.0 gw $gwp
route add -net 87.226.235.0 netmask 255.255.255.0 gw $gwp
route add -net 87.226.236.0 netmask 255.255.255.0 gw $gwp
route add -net 88.82.160.0 netmask 255.255.224.0 gw $gwp
route add -net 88.82.172.136 netmask 255.255.255.248 gw $gwp
route add -net 89.113.40.0 netmask 255.255.248.0 gw $gwp
route add -net 91.193.176.0 netmask 255.255.252.0 gw $gwp
route add -net 224.0.0.0 netmask 240.0.0.0 gw 10.173.65.131 #IPTV
route del -net 224.0.0.0 netmask 240.0.0.0 gw 10.173.64.1 #IPTV
Последний раз редактировалось Godfather, 02.03.2008 в 22:13.
|