Технический форум

Технический форум (http://www.tehnari.ru/)
-   Сетевые подключения (http://www.tehnari.ru/f29/)
-   -   Настройка Mikrotik (http://www.tehnari.ru/f29/t249677/)

Smith 29.10.2016 02:06

Настройка Mikrotik
 
Привет всем. Возникли некоторые вопросы по работе с этими устройствами. Имеется rb450g, свитч-чип 8316.
Задача:
Завести 2 сети, одна управления, т.е. из нее микрот получает IP и на этом все. Вторая - локалка.

соответственно решений 2, а может и больше. я знаю только 2.
Первое - накидываем на транк порт 2 влана, один управление, второй влан локалки.
объединяем в бридж оставшиеся порты устройства с вланом локалки - бинго. Все работает, только скорость - 300мбит всего, хочется гигабит. т.к. L3 Траф обрабатывается программно на бридже.

Второй способ это порт-базед влан. Коммутировать вланы в транке на отдельные аксесс порты получается, но вот сделать 2 аксесс порта принадлежащих одному влану - не получается.

рабочий конфиг:

/interface ethernet switch port
set eth1 vlan-header=always-strip vlan-mode=secure
set eth2 vlan-header=always-strip vlan-mode=secure
set eth3 vlan-header=always-strip vlan-mode=secure
set eth5 vlan-header=add-if-missing vlan-mode=secure

/interface ethernet switch rule
add new-dst-ports=ether1 ports=ether5 switch=switch1 vlan-header=present vlan-id=2
add new-dst-ports=ether2 ports=ether5 switch=switch1 vlan-header=present vlan-id=3

add new-dst-ports=ether5 new-vlan-id=2 ports=ether1 switch=switch1 vlan-header=not-present
add new-dst-ports=ether5 new-vlan-id=3 ports=ether2 switch=switch1 vlan-header=not-present

/interface ethernet switch vlan
add ports=ether5 switch=switch1 vlan-id=2
add ports=ether5 switch=switch1 vlan-id=3
add ports=ether1,ether2 switch=switch1 vlan-id=0

но как только я хочу сделать мультипорт то тут же начинаются какието приключения.

/interface ethernet switch rule
add new-dst-ports=ether1,ether3 ports=ether5 switch=switch1 vlan-header=present vlan-id=2
add new-dst-ports=ether2 ports=ether5 switch=switch1 vlan-header=present vlan-id=3

add new-dst-ports=ether5 new-vlan-id=2 ports=ether1,ether3 switch=switch1 vlan-header=not-present
add new-dst-ports=ether5 new-vlan-id=3 ports=ether2 switch=switch1 vlan-header=not-present

/interface ethernet switch vlan
add ports=ether5 switch=switch1 vlan-id=2
add ports=ether5 switch=switch1 vlan-id=3
add ports=ether1,ether2,ether3 switch=switch1 vlan-id=0

подключаю 2 компа к 1 и 3 эзеру и они друг друга не пингуют. со шлюза пингуются оба, но если отключить любой, то пинг на него продолжается. может быть 8316 не умеет мультипорт???


Часовой пояс GMT +4, время: 03:56.

Powered by vBulletin® Version 4.5.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.