Community discussions

MikroTik App
 
mongobongo
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 66
Joined: Fri Jul 28, 2017 5:13 pm

Bridge VLAN filtering + mac telnet

Tue Apr 24, 2018 4:22 pm

Hi, I am unsure if what I am seeing is what should be occuring so I will post below the scenario in the hope that someone can comment.

Simple setup, a gateway, an AP and a CPE

Gateway

/interface vlan
add interface=ether3_Lan name=vlan10 vlan-id=10
/ip pool
add name=pool_vlan10 ranges=10.0.10.2-10.0.10.254
/ip dhcp-server
add address-pool=pool_vlan10 disabled=no interface=vlan10 lease-time=30s name=dhcp_vlan10
/ip address
add address=10.0.10.1/24 interface=vlan10 network=10.0.10.0
/ip dhcp-server network
add address=10.0.10.0/24 dns-server=10.0.10.1 gateway=10.0.10.1

AP

/interface bridge
add name=bridge-vlan10 pvid=10 vlan-filtering=yes
/interface wireless
disabled=no mode=ap-bridge ssid=vlan10 vlan-id=10 vlan-mode=use-tag
/interface vlan
add interface=ether1 name=vlan10 vlan-id=10
/interface bridge port
add bridge=bridge-vlan10 interface=wlan1
add bridge=bridge-vlan10 interface=ether1
/interface bridge vlan
add bridge=bridge-vlan10 tagged=ether1,wlan1 vlan-ids=10

Now... the DHCP server successfully assigns IP address to the AP (10.0.10.2) and to the CPEs (10.0.10.x), everything seems to work as expected.

Try to access the AP with Winbox, all is good.

Now try to access the AP with mac telnet, nope, no go, wont connect.

Are these characteristics correct for the above setup ?

Thanks
 
User avatar
artz
MikroTik Support
MikroTik Support
Posts: 88
Joined: Tue Oct 17, 2017 5:51 pm
Location: Riga
Contact:

Re: Bridge VLAN filtering + mac telnet

Tue Apr 24, 2018 4:27 pm

There is a problem in your AP's configuration, please check this guide:
https://wiki.mikrotik.com/wiki/Manual:L ... _interface
 
mongobongo
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 66
Joined: Fri Jul 28, 2017 5:13 pm

Re: Bridge VLAN filtering + mac telnet

Tue Apr 24, 2018 5:20 pm

There is a problem in your AP's configuration, please check this guide:
https://wiki.mikrotik.com/wiki/Manual:L ... _interface
Hi, thanks for your reply, I used the wiki link below

https://wiki.mikrotik.com/wiki/Manual:VLANs_on_Wireless (Example with vlan-filtering bridge and wireless vlan-mode)

Is this wiki wrong?

As my setup is exactly the same only I have to input a VLAN ID of 10 on the bridge interface (where we tick to enable vlan-filtering) to allow me to have winbox access using IP address to the AP.

Mac telnet works fine in the above scenario if I do not assign VLAN ID 10, while all connected CPEs get correct DHCP address from the gateway.

Now to the wiki you linked me to, when I click your link it open me at this part of the page

"VLAN interface on a slave interface"

But that is the old method, I have no VLAN interface assigned on the AP, so obviously I cant run

/interface vlan set VLAN99 interface=bridge

Could you please specifically tell me which part of that wiki page I should be following.

Thanks

** EDIT **
I resolved this by adding

/interface bridge port set ether1 pvid=10

From here

https://wiki.mikrotik.com/wiki/Manual:I ... ement_port

I now have access through both IP and mac

Who is online

Users browsing this forum: mgrlobo, sambo521 and 38 guests