Community discussions

MikroTik App
 
User avatar
tucdual
just joined
Topic Author
Posts: 1
Joined: Mon Mar 02, 2020 4:02 pm

MGMT and WIRELESS WIRE DISH

Mon Mar 02, 2020 4:25 pm

Hi,

It's my first step with LHG 60G. The default config give access between the two networks (trunk). :D
But I would configure ip access with the address (master) 10.1.1.4/24 and (slave) 10.1.1.5/24 in Vlan 55 (Vlan 55 is our MGMT Vlan).
I have try to setup through CLI for the 3 different examples give in : https://wiki.mikrotik.com/wiki/Manual:I ... _Filtering :shock:
Which command I need to type to get this aims base on the default setup :?:
Thanks for your help
Best regards
 
killersoft
Member Candidate
Member Candidate
Posts: 273
Joined: Mon Apr 11, 2011 2:34 pm
Location: Victoria, Australia

Re: MGMT and WIRELESS WIRE DISH

Wed Mar 04, 2020 12:39 am

There are a few ways to do a Management-VLAN for MT devices, and you could just add a VLAN against your trunk interface(not a great recommendation, but will get you out of a tough spot ).
OR do it the better way for MT/RouterOS
https://wiki.mikrotik.com/wiki/Manual:B ... _switching

The info below is the basics(**NOTE where it said /interface bridge
set bridge1 vlan-filtering=yes at the BOTTOM ** You can hack yourself off if you don't put that last !! **)
Also add the WLAN interface to the bridge!! And adjust the code as requried for your setup.
I would paste it into a text editor and edit(remove/add bits) prior to applying to your given device.

** Also this concept of using the bridge/vlan in this way, is ideal for AP's if you go down the later path of using CAPsMAN to control Ap's especially where you stack multiple SSID's and VLANs together*
Other devices without a built-in switch chip

It is possible to do VLAN filtering using the CPU, there are multiple ways to do it, but it is highly recommended by using bridge VLAN filtering.

/interface bridge
add name=bridge1
/interface bridge port
add bridge=bridge1 interface=ether1 hw=no
add bridge=bridge1 interface=ether2 hw=no pvid=20
add bridge=bridge1 interface=ether3 hw=no pvid=30
/interface bridge vlan
add bridge=bridge1 tagged=ether1 untagged=ether2 vlan-ids=20
add bridge=bridge1 tagged=ether1 untagged=ether3 vlan-ids=30
add bridge=bridge1 tagged=ether1,bridge1 vlan-ids=99
/interface vlan
add interface=bridge1 vlan-id=99 name=MGMT
/ip address
add address=192.168.99.1/24 interface=MGMT
/interface bridge
set bridge1 vlan-filtering=yes