Тип контенту
Профили
Форум
Календарь
Все, що було написано Arlekin_s
-
Доброго всем дня. Возникла такая проблема, на которую я пока не могу найти решение. Надеюсь на ваши светлые умы. есть такой линк: Саки (Mikrotik 411AH 5.14) - 26 км - Кольчугино (Mikrotik 411AH 5.14). и в разные дни, ночью (время постоянно варьируется) падает сигнал на антенну, потом обратно восстанавливается. График прилагается. Кто нибудь сталкивался с такой проблемой ? Нужны ваши советы.
-
да я думаю без разницы... главное чтобы при падении одного канала. переключалось на другой.
-
Ни у кого нет никаких предложений ?
-
что то типа такого... :local PINGCOUNT 5; :local PINGIP "192.168.205.1"; :log info message="SCRIPT START"; :local PINGRESULT [/ping $PINGIP count=$PINGCOUNT]; :log info message="PINGTEST $PINGRESULT"; :if ($PINGRESULT > 0) do={ :log info message="PINGTEST $PINGRESULT"; } else={ :log info message="BRIDGE SET ETHER3"; /interface bridge port set interface=ether3 numbers=1; :delay 20; :local PINGRESULT [/ping $PINGIP count=$PINGCOUNT]; :if ($PINGRESULT > 0) do={ :log info message="PINGTEST $PINGRESULT"; } else={ :log info message="BRIDGE SET ETHER2"; /interface bridge port set interface=ether2 numbers=1; :delay 10; } } :log info message="SCRIPT END"; это мой первый скрипт )) можно пинать ) много вывода в лог.. это только для проверки....
-
да.. и походу у тебя девайс в режиме роутера.. а у меня настроен бриджем... Или может быть у кого есть скрипт.. который будет работать с бриджами..
-
Я вроде бы все описал. Локальная сеть провайдера. Клиент с фейковым ипом. к нему с разных частей города идут 2 канала. если какой то канал отваливается.. то переключатся на другой.. проверять можно любой ип.. как внутренний (желательно конечно шлюз) так и внешний
-
этот скрипт для провайдеров.. а мне нужно для резерва в локальной сети
-
Добрый день. Вот хочу проконсультироваться у спецов по такому вопросу. Есть клиент. К нему заходят с разных мест 2 канала с одинаковым вланом(eth1, eth2), ну и линк на клиента (eth3). Втыкаются они в MikroTik RB750 например. вопрос в следующем. Могу ли я использовать этот микротик как переключалку используя функцию Netwatch. принцип такой.. Создается bridge1 туда загоняются порты eth1, eth3. И через нетвоч если порт в дауне то командой interface bridge port set interface=ether2 numbers=1 менять на другой канал.. ну и каждые например 30 минут проверять не поднялся ли первый канал и переключать обратно. почему я спрашиваю.. Да потому что это работает через раз почему то.. когда хочет переключает.. а когда хочет не переключает..
-
продам сервера HP dl-380 g5 HP dl-140 g3 и HP dl-360 g4p
тема ответил в osv пользователя Arlekin_s в Обладнання
Еще актуально?- 5 ответов
-
- HP dl-380 g5
- HP dl-360 g4p
- (та 1 ще)
-
Конфигурация такая. наша AS 1111 берем у AS 2222 украину и у AS 3333 мир отдаем украину автономке AS 4444. так вот клиент жалуется что ЕГО входящий трафик не идет через украину. Как правильно разрулить еще не знаю. старый админ уволился.. в конфиге бгп черт ногу сломит ((( если что лишнее скажите плиз вот конфиг бгп Current configuration: ! hostname bgp password ***** enable password ***** log file /var/log/quagga/bgpd.log service advanced-vty ! debug bgp events debug bgp updates ! bgp multiple-instance ! router bgp 1111 bgp router-id 11.178.205.90 ! network 111.23.122.0/24 network 222.5.108.0/24 network 222.5.109.0/24 ! aggregate-address 111.23.122.0/24 aggregate-address 222.5.108.0/24 aggregate-address 222.5.109.0/24 ! neighbor 333.245.237.57 remote-as 3333 neighbor 333.245.237.57 description MY WORLD neighbor 333.245.237.57 ebgp-multihop 255 neighbor 333.245.237.57 update-source 333.245.237.58 neighbor 333.245.237.57 weight 20000 neighbor 333.245.237.57 soft-reconfiguration inbound neighbor 333.245.237.57 route-map world-in in neighbor 333.245.237.57 route-map world-out out ! neighbor 101.200.129.73 remote-as 2222 neighbor 101.200.129.73 description MY UA-IX neighbor 101.200.129.73 weight 10000 neighbor 101.200.129.73 next-hop-self neighbor 101.200.129.73 soft-reconfiguration inbound neighbor 101.200.129.73 route-map as2222-uaix-in in neighbor 101.200.129.73 route-map as2222-uaix-out out ! neighbor 101.200.131.73 remote-as 2222 neighbor 101.200.131.73 description MY WORLD_2 neighbor 101.200.131.73 next-hop-self neighbor 101.200.131.73 soft-reconfiguration inbound neighbor 101.200.131.73 route-map world-in in neighbor 101.200.131.73 route-map world-out out ! neighbor 111.23.122.170 remote-as 4444 neighbor 111.23.122.170 description CLIENT_WORLD neighbor 111.23.122.170 soft-reconfiguration inbound neighbor 111.23.122.170 route-map clients-in in neighbor 111.23.122.170 route-map clients-out out ! neighbor 111.23.122.174 remote-as 4444 neighbor 111.23.122.174 description CLIENT_UA-IX neighbor 111.23.122.174 soft-reconfiguration inbound neighbor 111.23.122.174 route-map clientsua-in in neighbor 111.23.122.174 route-map clientsua-out out ! neighbor 111.33.236.125 remote-as 5555 neighbor 111.33.236.125 description "Crimea-IX" neighbor 111.33.236.125 ebgp-multihop 255 neighbor 111.33.236.125 soft-reconfiguration inbound neighbor 111.33.236.125 route-map crimea-in in neighbor 111.33.236.125 route-map crimea-out out ! neighbor 222.5.109.134 remote-as 4444 neighbor 222.5.109.134 description CLIENT_MIX neighbor 222.5.109.134 ebgp-multihop 255 neighbor 222.5.109.134 soft-reconfiguration inbound neighbor 222.5.109.134 route-map clients-in in neighbor 222.5.109.134 route-map clients-out out distance bgp 1 1 9 ! router bgp 1111 view WORD bgp router-id 111.23.122.109 ! access-list 99 permit any access-list DENY-ANY deny any access-list DENY-DEFAULT deny any access-list PERMIT-ANY permit any access-list PERMIT-ANY deny 192.168.0.0/16 access-list PERMIT-ANY deny 10.0.0.0/8 ! access-list as4444-list permit 444.205.164.0/22 access-list as4444-list permit 555.212.64.0/21 exact-match access-list as4444-list permit 555.212.64.0/24 access-list as4444-list deny any access-list term permit 127.0.0.1/32 access-list term deny any ! ip prefix-list DEFAULT seq 5 permit 0.0.0.0/0 ip prefix-list topnet seq 5 permit 111.23.122.0/24 ip prefix-list topnet seq 10 permit 222.5.108.0/23 ip prefix-list topnet seq 15 permit 222.5.108.0/24 ip prefix-list topnet seq 20 permit 222.5.109.0/24 ! ip as-path access-list customers-as permit ^(4444_)+$ ip as-path access-list customers-as permit ^(1111_)+$ ip as-path access-list customers-as permit 1111 ip as-path access-list googlefuck permit ^(13249_15169)$ ! ip community-list standard CLIENTS permit 1111:3 ip community-list standard CRIMEA permit 1111:4 ip community-list standard UKRAINE permit 1111:2 ip community-list standard WORLD permit 1111:1 ! route-map no-google deny 10 match as-path googlefuck ! route-map no-google permit 20 set community 1111:865 ! route-map world-in permit 10 match ip address PERMIT-ANY set community 1111:1 ! route-map as-2222-in permit 11 match ip address PERMIT-ANY set community 1111:1 ! route-map as-2222-map-ix-in permit 11 match ip address PERMIT-ANY set community 1111:2 ! route-map ua-in permit 10 match ip address PERMIT-ANY set community 1111:2 ! route-map clients-in permit 10 match as-path customers-as set community 1111:3 set local-preference 200 ! route-map world-out permit 10 match as-path customers-as ! route-map world-out permit 20 match ip address prefix-list topnet ! route-map as-2222-out permit 20 match ip address prefix-list topnet ! route-map as-2222-out permit 30 match community CLIENTS ! route-map ua-out permit 10 match as-path customers-as ! route-map ua-out permit 20 match ip address prefix-list topnet ! route-map ua-out permit 30 match ip address prefix-list DEFAULT ! route-map clients-default-out permit 10 match ip address prefix-list DEFAULT ! route-map clients-world-out permit 10 match community WORLD ! route-map clients-ua-out permit 10 match community UKRAINE ! route-map clients-out permit 10 ! route-map crimea-in permit 10 match ip address PERMIT-ANY set community 1111:4 set local-preference 125 ! route-map as-2222-map-ix-out permit 10 match as-path customers-as ! route-map as-2222-map-ix-out permit 20 match ip address prefix-list topnet ! route-map clients-world-in permit 10 match ip address PERMIT-ANY set community 1111:1 ! route-map clients-ua-in permit 10 set community 1111:2 ! route-map as2222-uaix-in permit 10 set local-preference 125 set community 1111:2 set weight 21000 ! route-map as2222-uaix-out permit 10 match as-path customers-as ! route-map as2222-uaix-out permit 20 match ip address prefix-list topnet ! route-map clientsua-in permit 10 match as-path customers-as set community 1111:2 ! route-map clientsua-out permit 10 match community UKRAINE ! route-map cleentsua-in permit 10 ! line vty access-class term exec-timeout 0 0 ! end bgp# sh ip bg su BGP router identifier 11.178.205.90, local AS number 1111 RIB entries 760582, using 46 MiB of memory Peers 8, using 20 KiB of memory Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 333.245.237.57 4 3333 2690211 25260 0 0 0 2d02h10m 397691 101.200.129.73 4 2222 144815 65690 0 0 0 02w3d02h 7651 101.200.131.73 4 2222 4188053 62558 0 0 0 21:08:01 Active 111.23.122.170 4 4444 140595 1397865 0 0 0 01w2d04h Connect 111.23.122.174 4 4444 526637 728298 0 0 0 01:26:13 13 111.33.236.125 4 5555 66684 65608 0 0 0 02w3d02h 605 222.5.109.134 4 4444 11717 1190537 0 0 0 1d19h28m Connect
