VK
Size: a a a
VK
C
VK
IS
MO
C
A
# adding route to ISP PPP-server# Скрипт для Билайна. Я в него не вникал, и не понимаю почему 172.16.0.11, и сегодня уже не хочу. 194.186.70.218 и 194.186.70.222 - DNS-серверы. Планировщиком ставим на репит, получаем результат.
# Getting ISP GW
:local DynGW [/ip route get [ find dst-address=10.0.0.0/8 ] gateway ];
# Renewing routes
/ip route remove [find where dst-address=172.16.0.11/32]
/ip route add dst-address=172.16.0.11 gateway=$DynGW
# Renewing routes to DNS
/ip route remove [find where dst-address=194.186.70.218/32]
/ip route add dst-address=194.186.70.218 gateway=$DynGW
/ip route remove [find where dst-address=194.186.70.222/32]
/ip route add dst-address=194.186.70.222 gateway=$DynGW
:log info "Update route for 172.16.0.11 - Gateway is $DynGW"
IS
IS
C
C
C
А
VK
/ip dhcp-client set [find interface=ether1] add-default-route=special-classless default-route-distance=10
H
А
А
H
H