@cympak_tck

Как маршрутизировать VLAN на Mikrotik?

Имеется Mikrotik CRS125-24G-1S на него приходит транк с Dlink в нем 2 (VLAN 2 - 3). На микротике порт выведен из мастера и добавлены VLAN заданы IP адреса VLAN2 - 10.10.2.1/24 и VLAN3 - 10.10.3.1/24 Как собственно сделать чтобы компьютеры из обоих вланов видели друг друга ?
  • Вопрос задан
  • 251 просмотр
Пригласить эксперта
Ответы на вопрос 2
А конфиги ваши где?
Вы так делали?
wiki.mikrotik.com/wiki/Manual:CRS_examples#InterVL...
Ответ написан
Комментировать
@cympak_tck Автор вопроса
set [ find default-name=ether1 ] name=ether1-master-local
set [ find default-name=ether2 ] master-port=ether1-master-local name=\
    ether2-slave-local
set [ find default-name=ether3 ] master-port=ether1-master-local name=\
    ether3-slave-local
set [ find default-name=ether4 ] master-port=ether1-master-local name=\
    ether4-slave-local
set [ find default-name=ether5 ] master-port=ether1-master-local name=\
    ether5-slave-local
set [ find default-name=ether6 ] master-port=ether1-master-local name=\
    ether6-slave-local
set [ find default-name=ether7 ] master-port=ether1-master-local name=\
    ether7-slave-local
set [ find default-name=ether8 ] master-port=ether1-master-local name=\
    ether8-slave-local
set [ find default-name=ether9 ] master-port=ether1-master-local name=\
    ether9-slave-local
set [ find default-name=ether10 ] master-port=ether1-master-local name=\
    ether10-slave-local
set [ find default-name=ether11 ] master-port=ether1-master-local name=\
    ether11-slave-local
set [ find default-name=ether12 ] master-port=ether1-master-local name=\
    ether12-slave-local
set [ find default-name=ether13 ] master-port=ether1-master-local name=\
    ether13-slave-local
set [ find default-name=ether14 ] master-port=ether1-master-local name=\
    ether14-slave-local
set [ find default-name=ether15 ] master-port=ether1-master-local name=\
    ether15-slave-local
set [ find default-name=ether16 ] master-port=ether1-master-local name=\
    ether16-slave-local
set [ find default-name=ether17 ] master-port=ether1-master-local name=\
    ether17-slave-local
set [ find default-name=ether18 ] master-port=ether1-master-local name=\
    ether18-slave-local
set [ find default-name=ether19 ] comment=Sasha name=ether19-slave-local
set [ find default-name=ether20 ] comment=Vova name=ether20-slave-local
set [ find default-name=ether21 ] master-port=ether1-master-local name=\
    ether21-slave-local
set [ find default-name=ether22 ] master-port=ether1-master-local name=\
    ether22-slave-local
set [ find default-name=ether23 ] comment="Na mikrotik 951" name=\
    ether23-slave-local
set [ find default-name=ether24 ] master-port=ether1-master-local name=\
    ether24-slave-local
set [ find default-name=sfp1 ] master-port=ether1-master-local name=\
    sfp1-slave-local
/ip neighbor discovery
set ether19-slave-local comment=Sasha
set ether20-slave-local comment=Vova
set ether23-slave-local comment="Na mikrotik 951"
/interface vlan
add interface=ether19-slave-local name=vlanAsu vlan-id=2
add interface=ether19-slave-local name=vlanBuh vlan-id=3
/ip ipsec proposal
set [ find default=yes ] enc-algorithms=aes-128-cbc
/interface ethernet switch port
set 0 per-queue-scheduling="wrr-group0:1,wrr-group0:2,wrr-group0:4,wrr-group0:8,\
    wrr-group0:16,wrr-group0:32,wrr-group0:64,wrr-group0:128"
set 1 per-queue-scheduling="wrr-group0:1,wrr-group0:2,wrr-group0:4,wrr-group0:8,\
    wrr-group0:16,wrr-group0:32,wrr-group0:64,wrr-group0:128"
set 2 per-queue-scheduling="wrr-group0:1,wrr-group0:2,wrr-group0:4,wrr-group0:8,\
    wrr-group0:16,wrr-group0:32,wrr-group0:64,wrr-group0:128"
set 3 per-queue-scheduling="wrr-group0:1,wrr-group0:2,wrr-group0:4,wrr-group0:8,\
    wrr-group0:16,wrr-group0:32,wrr-group0:64,wrr-group0:128"
set 4 per-queue-scheduling="wrr-group0:1,wrr-group0:2,wrr-group0:4,wrr-group0:8,\
    wrr-group0:16,wrr-group0:32,wrr-group0:64,wrr-group0:128"
set 5 per-queue-scheduling="wrr-group0:1,wrr-group0:2,wrr-group0:4,wrr-group0:8,\
    wrr-group0:16,wrr-group0:32,wrr-group0:64,wrr-group0:128"
set 6 per-queue-scheduling="wrr-group0:1,wrr-group0:2,wrr-group0:4,wrr-group0:8,\
    wrr-group0:16,wrr-group0:32,wrr-group0:64,wrr-group0:128"
set 7 per-queue-scheduling="wrr-group0:1,wrr-group0:2,wrr-group0:4,wrr-group0:8,\
    wrr-group0:16,wrr-group0:32,wrr-group0:64,wrr-group0:128"
set 8 per-queue-scheduling="wrr-group0:1,wrr-group0:2,wrr-group0:4,wrr-group0:8,\
    wrr-group0:16,wrr-group0:32,wrr-group0:64,wrr-group0:128"
set 9 per-queue-scheduling="wrr-group0:1,wrr-group0:2,wrr-group0:4,wrr-group0:8,\
    wrr-group0:16,wrr-group0:32,wrr-group0:64,wrr-group0:128"
set 10 per-queue-scheduling="wrr-group0:1,wrr-group0:2,wrr-group0:4,wrr-group0:8\
    ,wrr-group0:16,wrr-group0:32,wrr-group0:64,wrr-group0:128"
set 11 per-queue-scheduling="wrr-group0:1,wrr-group0:2,wrr-group0:4,wrr-group0:8\
    ,wrr-group0:16,wrr-group0:32,wrr-group0:64,wrr-group0:128"
set 12 per-queue-scheduling="wrr-group0:1,wrr-group0:2,wrr-group0:4,wrr-group0:8\
    ,wrr-group0:16,wrr-group0:32,wrr-group0:64,wrr-group0:128"
set 13 per-queue-scheduling="wrr-group0:1,wrr-group0:2,wrr-group0:4,wrr-group0:8\
    ,wrr-group0:16,wrr-group0:32,wrr-group0:64,wrr-group0:128"
set 14 per-queue-scheduling="wrr-group0:1,wrr-group0:2,wrr-group0:4,wrr-group0:8\
    ,wrr-group0:16,wrr-group0:32,wrr-group0:64,wrr-group0:128"
set 15 per-queue-scheduling="wrr-group0:1,wrr-group0:2,wrr-group0:4,wrr-group0:8\
    ,wrr-group0:16,wrr-group0:32,wrr-group0:64,wrr-group0:128"
set 16 per-queue-scheduling="wrr-group0:1,wrr-group0:2,wrr-group0:4,wrr-group0:8\
    ,wrr-group0:16,wrr-group0:32,wrr-group0:64,wrr-group0:128"
set 17 per-queue-scheduling="wrr-group0:1,wrr-group0:2,wrr-group0:4,wrr-group0:8\
    ,wrr-group0:16,wrr-group0:32,wrr-group0:64,wrr-group0:128"
set 18 per-queue-scheduling="wrr-group0:1,wrr-group0:2,wrr-group0:4,wrr-group0:8\
    ,wrr-group0:16,wrr-group0:32,wrr-group0:64,wrr-group0:128"
set 19 per-queue-scheduling="wrr-group0:1,wrr-group0:2,wrr-group0:4,wrr-group0:8\
    ,wrr-group0:16,wrr-group0:32,wrr-group0:64,wrr-group0:128"
set 20 per-queue-scheduling="wrr-group0:1,wrr-group0:2,wrr-group0:4,wrr-group0:8\
    ,wrr-group0:16,wrr-group0:32,wrr-group0:64,wrr-group0:128"
set 21 per-queue-scheduling="wrr-group0:1,wrr-group0:2,wrr-group0:4,wrr-group0:8\
    ,wrr-group0:16,wrr-group0:32,wrr-group0:64,wrr-group0:128"
set 22 per-queue-scheduling="wrr-group0:1,wrr-group0:2,wrr-group0:4,wrr-group0:8\
    ,wrr-group0:16,wrr-group0:32,wrr-group0:64,wrr-group0:128"
set 23 per-queue-scheduling="wrr-group0:1,wrr-group0:2,wrr-group0:4,wrr-group0:8\
    ,wrr-group0:16,wrr-group0:32,wrr-group0:64,wrr-group0:128"
set 24 per-queue-scheduling="wrr-group0:1,wrr-group0:2,wrr-group0:4,wrr-group0:8\
    ,wrr-group0:16,wrr-group0:32,wrr-group0:64,wrr-group0:128"
set 25 per-queue-scheduling="wrr-group0:1,wrr-group0:2,wrr-group0:4,wrr-group0:8\
    ,wrr-group0:16,wrr-group0:32,wrr-group0:64,wrr-group0:128"
/ip address
add address=192.168.88.50/24 comment="default configuration" interface=\
    ether1-master-local network=192.168.88.0
add address=10.10.2.1/24 interface=vlanAsu network=10.10.2.0
add address=10.10.3.1/24 interface=vlanBuh network=10.10.3.0
/ip dns
set servers=192.168.2.250
/ip route
add distance=1 gateway=192.168.2.250
/lcd
set default-screen=stats-all
/system clock
set time-zone-name=Europe/Moscow
/system routerboard settings
set protected-routerboot=disabled
/tool romon port
add
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы
22 нояб. 2024, в 03:54
1500 руб./за проект
22 нояб. 2024, в 02:56
10000 руб./за проект
22 нояб. 2024, в 00:55
500 руб./за проект