Community discussions

MikroTik App
 
Gombeen666
Member Candidate
Member Candidate
Topic Author
Posts: 224
Joined: Tue Jun 25, 2019 5:33 pm

Is VLAN's from Mikrotik Tagged or Untagged

Mon Jun 13, 2022 6:42 pm

I am trying to figure out when multiple VLAN's coming out of Mikrotik router (RouterBOARD M11G) and connecting to a D-Link DGS-1210-28 Managed Layer 2 Switch port,
are the VLAN's tagged or untagged !
 
tdw
Forum Guru
Forum Guru
Posts: 2032
Joined: Sat May 05, 2018 11:55 am

Re: Is VLAN's from Mikrotik Tagged or Untagged

Mon Jun 13, 2022 7:38 pm

It depends on how you configure the interfaces on the devices. You can have all VLANs tagged only (sometimes referred to as a trunk interface or port), or one untagged and the remainder tagged (sometimes referred to as a hybrid interface or port).
 
User avatar
tangent
Forum Guru
Forum Guru
Posts: 1656
Joined: Thu Jul 01, 2021 3:15 pm
Contact:

Re: Is VLAN's from Mikrotik Tagged or Untagged

Mon Jun 13, 2022 8:26 pm

Attach your configuration, and we can tell you.
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: Is VLAN's from Mikrotik Tagged or Untagged

Mon Jun 13, 2022 8:35 pm

Export with hide-sensitive, remove manually any more sensitive info and post that configuration inside code tags...
 
Gombeen666
Member Candidate
Member Candidate
Topic Author
Posts: 224
Joined: Tue Jun 25, 2019 5:33 pm

Re: Is VLAN's from Mikrotik Tagged or Untagged

Mon Jun 13, 2022 9:17 pm

Here is a few vlan's on the RBM11G which I create a bridge for each Ether + Wlan interfaces?

[admin@M11G] > interface vlan print
Flags: X - disabled, R - running
# NAME MTU ARP VLAN-ID INTERFACE
0 R ;;; PPPoE_AP01
VLAN3500_Ether1 1500 enabled 3500 ether1
1 R ;;; PPPoE_AP01
VLAN3500_Wlan1 1500 enabled 3500 wlan1
2 R ;;; MGT_AP01
VLAN3508_Ether1 1500 enabled 3508 ether1
3 R ;;; MGT_AP01
VLAN3508_Wlan1 1500 enabled 3508 wlan1
4 R ;;; PPPoE_AP02
VLAN3510_Wlan1 1500 enabled 3510 wlan1
5 R ;;; PPPoE_AP02
VLAN3510_Ether1 1500 enabled 3510 ether1
6 R ;;; MGT_AP02
VLAN3518_Wlan1 1500 enabled 3518 wlan1
7 R ;;; MGT_AP02
VLAN3518_Ether1 1500 enabled 3518 ether1
 
tdw
Forum Guru
Forum Guru
Posts: 2032
Joined: Sat May 05, 2018 11:55 am

Re: Is VLAN's from Mikrotik Tagged or Untagged

Mon Jun 13, 2022 9:33 pm

That provides no useful information.

As other have said post the output of /export hide-sensitive (RouterOS 6) or /export (RouterOS 7) after redacting any other potentially sensitive information (serial number, public IP addresses, scripts containing credentials)
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: Is VLAN's from Mikrotik Tagged or Untagged

Mon Jun 13, 2022 9:35 pm

What egresses the above ports will have a Tag applied...
 
Gombeen666
Member Candidate
Member Candidate
Topic Author
Posts: 224
Joined: Tue Jun 25, 2019 5:33 pm

Re: Is VLAN's from Mikrotik Tagged or Untagged

Mon Jun 13, 2022 10:09 pm

Hopefully this will provide more info on my VLAN config !

/interface bridge
add comment="PPPoE_AP01" name=VLAN3500-Br protocol-mode=none
add comment="MGT_AP01" name=VLAN3508_Br protocol-mode=none
add comment="PPPoE_AP02" name=VLAN3510-Br protocol-mode=none
add comment="MGT_AP02" name=VLAN3518_Br protocol-mode=none
add comment="PPPoE_AP03" name=VLAN3520-Br protocol-mode=none
add comment="MGT_AP03" name=VLAN3528_Br protocol-mode=none
/interface vlan
add comment=PPPoE_AP01 interface=ether1 name=VLAN3500_Ether1 vlan-id=3500
add comment=PPPoE_AP01 interface=wlan1 name=VLAN3500_Wlan1 vlan-id=3500
add comment=MGT_AP01 interface=ether1 name=VLAN3508_Ether1 vlan-id=3508
add comment=MGT_AP01 interface=wlan1 name=VLAN3508_Wlan1 vlan-id=3508
add comment=PPPoE_AP02 interface=ether1 name=VLAN3510_Ether1 vlan-id=3510
add comment=PPPoE_AP02 interface=wlan1 name=VLAN3510_Wlan1 vlan-id=3510
add comment=MGT_AP02 interface=ether1 name=VLAN3518_Ether1 vlan-id=3518
add comment=MGT_AP02 interface=wlan1 name=VLAN3518_Wlan1 vlan-id=3518
add comment=PPPoE_AP03 interface=ether1 name=VLAN3520_Ether1 vlan-id=3520
add comment=PPPoE_AP03 interface=wlan1 name=VLAN3520_Wlan1 vlan-id=3520
add comment=MGT_AP03 interface=ether1 name=VLAN3528_Ether1 vlan-id=3528
add comment=MGT_AP03 interface=wlan1 name=VLAN3528_Wlan1 vlan-id=3528
/interface bridge port
add bridge=VLAN3500_Br comment=PPPoE_AP01 interface=VLAN3508_Wlan1
add bridge=VLAN3500_Br comment=PPPoE_AP01 interface=VLAN3508_Ether1
add bridge=VLAN3508_Br comment=MGT_AP01 interface=VLAN3508_Wlan1
add bridge=VLAN3508_Br comment=MGT_AP01 interface=VLAN3508_Ether1
add bridge=VLAN3510-Br comment=PPPoE_AP02 interface=VLAN3510_Ether1
add bridge=VLAN3510-Br comment=PPPoE_AP02 interface=VLAN3510_Wlan1
add bridge=VLAN3518_Br comment=MGT_VLAN3508 interface=VLAN3518_Ether1
add bridge=VLAN3518_Br comment=MGT_VLAN3508 interface=VLAN3518_Wlan1
add bridge=VLAN3520-Br comment=PPPoE_AP03 interface=VLAN3520_Ether1
add bridge=VLAN3520-Br comment=PPPoE_AP03 interface=VLAN3520_Wlan1
add bridge=VLAN3528_Br comment=MGT_VLAN3508 interface=VLAN3528_Ether1
add bridge=VLAN3528_Br comment=MGT_VLAN3508 interface=VLAN3528_Wlan1
 
tdw
Forum Guru
Forum Guru
Posts: 2032
Joined: Sat May 05, 2018 11:55 am

Re: Is VLAN's from Mikrotik Tagged or Untagged

Mon Jun 13, 2022 10:20 pm

All of those VLANs (3500, 3508, 3510, 3518, 3520, 2528) will be tagged on egress/ingress on the physical interfaces. There are a number of issues with using multiple bridges with VLANs, see https://help.mikrotik.com/docs/display/ ... figuration, a single VLAN-aware bridge is the preferred setup.
 
User avatar
chechito
Forum Guru
Forum Guru
Posts: 3135
Joined: Sun Aug 24, 2014 3:14 am
Location: Bogota Colombia
Contact:

Re: Is VLAN's from Mikrotik Tagged or Untagged

Mon Jun 13, 2022 10:28 pm

as TDW says you must use bridge vlan filtering on a single bridge

if you are used to other vendor switch configuration, bridge vlan filtering will be easy to understand

https://help.mikrotik.com/docs/display/ ... +switching

follow only CRS3xx, CRS5xx guides, on CRS 1xx/2xx and other switch chips the info can refer to other ways specific for this devices
 
Gombeen666
Member Candidate
Member Candidate
Topic Author
Posts: 224
Joined: Tue Jun 25, 2019 5:33 pm

Re: Is VLAN's from Mikrotik Tagged or Untagged

Mon Jun 13, 2022 10:46 pm

I must do some more reading and convert over to a single VLAN-aware bridge, strangely I have no issue when the RBM11G is connected to a TP-Link T2600G-28TS switch but
the D-Link DGS-1510-28X switch just does not accept my current Vlan configuration?

Many thanks to you both for this very helpful advice !
 
User avatar
tangent
Forum Guru
Forum Guru
Posts: 1656
Joined: Thu Jul 01, 2021 3:15 pm
Contact:

Re: Is VLAN's from Mikrotik Tagged or Untagged

Mon Jun 13, 2022 10:49 pm

There are a number of issues with using multiple bridges with VLANs

…for devices with switch chips. For the OP's device, it looks like everything devolves to software bridging, so I'm not sure reconfiguring for a single bridge will provide any useful improvement. (Block diagram)
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 12979
Joined: Thu Mar 03, 2016 10:23 pm

Re: Is VLAN's from Mikrotik Tagged or Untagged

Mon Jun 13, 2022 11:29 pm

There are a number of issues with using multiple bridges with VLANs

…for devices with switch chips. For the OP's device, it looks like everything devolves to software bridging, so I'm not sure reconfiguring for a single bridge will provide any useful improvement. (Block diagram)

Performance wise single bridge will indeed be same as current config. Configuration readability wise it'll be much cleaner setup. Bonus of converting config to single bridge wozld be knowledge, useful when configuring devices that support L2 HW offload.
 
User avatar
Buckeye
Forum Veteran
Forum Veteran
Posts: 906
Joined: Tue Sep 11, 2018 2:03 am
Location: Ohio, USA

Re: Is VLAN's from Mikrotik Tagged or Untagged

Mon Jun 13, 2022 11:30 pm

…for devices with switch chips. For the OP's device, it looks like everything devolves to software bridging, so I'm not sure reconfiguring for a single bridge will provide any useful improvement. (Block diagram)
This is the first time I have seen a mention of the RBM11G. But it is based on the same SoC MediaTek MT7621A as the RB750Gr3 and RB760iGS, but evidently no use of the switch ASIC that the MT7621A has built in.

I wonder why the MT7621A was chosen for the board, if they didn't intend to use the switch?
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 12979
Joined: Thu Mar 03, 2016 10:23 pm

Re: Is VLAN's from Mikrotik Tagged or Untagged

Mon Jun 13, 2022 11:50 pm

I wonder why the MT7621A was chosen for the board, if they didn't intend to use the switch?

I guess they used the SoC because they developed other devices around same SoC at the same time. Making design phase faster, possibly making production cheaper (if they selected different SoC, it might even be more expensive due to low volume purchases).
And switch chip is there, but it's configuration interface is hidden because it's useless: with only two ports (ether1 and switch1-cpu), frame ingressing through one of ports can only egress through other port. No switch chip logic is needed ... so nothing to configure.
 
User avatar
tangent
Forum Guru
Forum Guru
Posts: 1656
Joined: Thu Jul 01, 2021 3:15 pm
Contact:

Re: Is VLAN's from Mikrotik Tagged or Untagged

Tue Jun 14, 2022 12:06 am

It's possible the diagram is misleading, and the device really does have a 2-port hardware switch. The output of "/interface bridge port print" will tell.
 
tdw
Forum Guru
Forum Guru
Posts: 2032
Joined: Sat May 05, 2018 11:55 am

Re: Is VLAN's from Mikrotik Tagged or Untagged

Tue Jun 14, 2022 1:00 am

There are a number of issues with using multiple bridges with VLANs
…for devices with switch chips.
No, there can be an number of issues when using switch chips or not. In this case the Bridged VLAN on physical interfaces scenario is likely to cause problems.
 
User avatar
tangent
Forum Guru
Forum Guru
Posts: 1656
Joined: Thu Jul 01, 2021 3:15 pm
Contact:

Re: Is VLAN's from Mikrotik Tagged or Untagged

Tue Jun 14, 2022 1:47 am

…for devices with switch chips.
…the Bridged VLAN on physical interfaces scenario…

I suspect that's a problem of RSTP not moving between hardware and software bridges properly.

If that's what's happening, it'll show up in "/interface bridge port monitor [find]" output.

@Gombeen666, I've asked you now for two additional sets of output. We'll remain stuck speculating like this until you provide the hard data for us to chew on. :)
 
User avatar
Buckeye
Forum Veteran
Forum Veteran
Posts: 906
Joined: Tue Sep 11, 2018 2:03 am
Location: Ohio, USA

Re: Is VLAN's from Mikrotik Tagged or Untagged

Tue Jun 14, 2022 3:25 am

It's possible the diagram is misleading, and the device really does have a 2-port hardware switch. The output of "/interface bridge port print" will tell.
The Development release notes for 7.1rc5 has the following:

*) bridge - added HW offload support for vlan-filtering on MT7621 switch chip (hEX, hEX S, RBM33G, RBM11G, LtAP);

But is still seems unlikely (to me) that the miniPCIe slot is connected to the switch.

So my guess is that that reference in the release notes if basically that support was added for the MT7621 SOC, and they then listed the products that used that SOC.

The "switch ASIC" that is part of the MT7621A evidently behaves like the MT7530 switch chip (source: [PATCHv4,0/3] : net: dsa: mt7530: support MT7530 in the MT7621 SoC)
 
User avatar
chechito
Forum Guru
Forum Guru
Posts: 3135
Joined: Sun Aug 24, 2014 3:14 am
Location: Bogota Colombia
Contact:

Re: Is VLAN's from Mikrotik Tagged or Untagged

Tue Jun 14, 2022 3:48 am

I must do some more reading and convert over to a single VLAN-aware bridge, strangely I have no issue when the RBM11G is connected to a TP-Link T2600G-28TS switch but
the D-Link DGS-1510-28X switch just does not accept my current Vlan configuration?

Many thanks to you both for this very helpful advice !
dlink switch logging does not show any useful?

did you verified dlink switch mac adress database for updates on interface connected to MikroTik Router?
 
Gombeen666
Member Candidate
Member Candidate
Topic Author
Posts: 224
Joined: Tue Jun 25, 2019 5:33 pm

Re: Is VLAN's from Mikrotik Tagged or Untagged

Tue Jun 14, 2022 1:45 pm

@ tangent hopefully this info will help?

I have setup all my bridges with protocol-mode=none as I am not using STP ?

/interface bridge
add comment="PPPoE_AP01" name=VLAN3500-Br protocol-mode=none

Here is some of the interface bridge port monitor output!

/interface bridge port monitor 1
;;; PPPoE_AP01
interface: VLAN3500_Wlan1
status: in-bridge
port-number: 2
role: designated-port
edge-port: no
edge-port-discovery: yes
point-to-point-port: no
external-fdb: no
sending-rstp: no
learning: yes
forwarding: yes
/interface bridge port monitor 2
;;; PPPoE_AP02
interface: VLAN3510_Ether1
status: in-bridge
port-number: 1
role: designated-port
edge-port: no
edge-port-discovery: yes
point-to-point-port: no
external-fdb: no
sending-rstp: no
learning: yes
forwarding: yes
/interface bridge port monitor 3
;;; PPPoE_AP02
interface: VLAN3510_Wlan1
status: in-bridge
port-number: 2
role: designated-port
edge-port: no
edge-port-discovery: yes
point-to-point-port: no
external-fdb: no
sending-rstp: no
learning: yes
forwarding: yes
/interface bridge port monitor 4
;;; PPPoE_AP03
interface: VLAN3520_Ether1
status: in-bridge
port-number: 1
role: designated-port
edge-port: no
edge-port-discovery: yes
point-to-point-port: no
external-fdb: no
sending-rstp: no
learning: yes
forwarding: yes
/interface bridge port monitor 5
;;; PPPoE_AP03
interface: VLAN3520_Wlan1
status: in-bridge
port-number: 2
role: designated-port
edge-port: no
edge-port-discovery: yes
point-to-point-port: no
external-fdb: no
sending-rstp: no
learning: yes
forwarding: yes
/interface bridge port monitor 8
;;; MGT_AP01
interface: VLAN3508_Wlan1
status: in-bridge
port-number: 1
role: designated-port
edge-port: no
edge-port-discovery: yes
point-to-point-port: no
external-fdb: no
sending-rstp: no
learning: yes
forwarding: yes
/interface bridge port monitor 9
;;; MGT_AP01
interface: VLAN3508_Ether1
status: in-bridge
port-number: 2
role: designated-port
edge-port: no
edge-port-discovery: yes
point-to-point-port: no
external-fdb: no
sending-rstp: no
learning: yes
forwarding: yes
 
User avatar
tangent
Forum Guru
Forum Guru
Posts: 1656
Joined: Thu Jul 01, 2021 3:15 pm
Contact:

Re: Is VLAN's from Mikrotik Tagged or Untagged

Tue Jun 14, 2022 5:44 pm

Thanks, but that leaves us still wanting the output of "/interface bridge port print", which goes to the question of whether multiple bridges creates a performance difference on that hardware.
 
Gombeen666
Member Candidate
Member Candidate
Topic Author
Posts: 224
Joined: Tue Jun 25, 2019 5:33 pm

Re: Is VLAN's from Mikrotik Tagged or Untagged

Tue Jun 14, 2022 6:48 pm

Here you go -

> interface bridge port print detail
Flags: X - disabled, I - inactive, D - dynamic, H - hw-offload
;;; PPPoE_AP01
interface=VLAN3500_Ether1 bridge=VLAN3500-Br priority=0x80 path-cost=10 internal-path-cost=10
edge=auto point-to-point=auto learn=auto horizon=none auto-isolate=no restricted-role=no
restricted-tcn=no pvid=1 frame-types=admit-all ingress-filtering=no
unknown-unicast-flood=yes unknown-multicast-flood=yes broadcast-flood=yes tag-stacking=no
bpdu-guard=no trusted=no multicast-router=temporary-query fast-leave=no
;;; PPPoE_AP01
interface=VLAN3500_Wlan1 bridge=VLAN3500-Br priority=0x80 path-cost=10 internal-path-cost=10
edge=auto point-to-point=auto learn=auto horizon=none auto-isolate=no restricted-role=no
restricted-tcn=no pvid=1 frame-types=admit-all ingress-filtering=no
unknown-unicast-flood=yes unknown-multicast-flood=yes broadcast-flood=yes tag-stacking=no
bpdu-guard=no trusted=no multicast-router=temporary-query fast-leave=no
;;; PPPoE_AP02
interface=VLAN3510_Ether1 bridge=VLAN3510-Br priority=0x80 path-cost=10 internal-path-cost=10
edge=auto point-to-point=auto learn=auto horizon=none auto-isolate=no restricted-role=no
restricted-tcn=no pvid=1 frame-types=admit-all ingress-filtering=no unknown-unicast-flood=yes
unknown-multicast-flood=yes broadcast-flood=yes tag-stacking=no bpdu-guard=no trusted=no
multicast-router=temporary-query fast-leave=no
;;; PPPoE_AP02
interface=VLAN3510_Wlan1 bridge=VLAN3510-Br priority=0x80 path-cost=10 internal-path-cost=10
edge=auto point-to-point=auto learn=auto horizon=none auto-isolate=no restricted-role=no
restricted-tcn=no pvid=1 frame-types=admit-all ingress-filtering=no unknown-unicast-flood=yes
unknown-multicast-flood=yes broadcast-flood=yes tag-stacking=no bpdu-guard=no trusted=no
multicast-router=temporary-query fast-leave=no
;;; PPPoE_AP03
interface=VLAN3520_Ether1 bridge=VLAN3520-Br priority=0x80 path-cost=10 internal-path-cost=10
edge=auto point-to-point=auto learn=auto horizon=none auto-isolate=no restricted-role=no
restricted-tcn=no pvid=1 frame-types=admit-all ingress-filtering=no unknown-unicast-flood=yes
unknown-multicast-flood=yes broadcast-flood=yes tag-stacking=no bpdu-guard=no trusted=no
multicast-router=temporary-query fast-leave=no
;;; PPPoE_AP03
interface=VLAN3520_Wlan1 bridge=VLAN3520-Br priority=0x80 path-cost=10 internal-path-cost=10
edge=auto point-to-point=auto learn=auto horizon=none auto-isolate=no restricted-role=no
restricted-tcn=no pvid=1 frame-types=admit-all ingress-filtering=no unknown-unicast-flood=yes
unknown-multicast-flood=yes broadcast-flood=yes tag-stacking=no bpdu-guard=no trusted=no
multicast-router=temporary-query fast-leave=no
;;; MGT_AP01
interface=VLAN3508_Wlan1 bridge=VLAN3508_Br priority=0x80 path-cost=10 internal-path-cost=10
edge=auto point-to-point=auto learn=auto horizon=none auto-isolate=no restricted-role=no
restricted-tcn=no pvid=1 frame-types=admit-all ingress-filtering=no unknown-unicast-flood=yes
unknown-multicast-flood=yes broadcast-flood=yes tag-stacking=no bpdu-guard=no trusted=no
multicast-router=temporary-query fast-leave=no
;;; MGT_AP01
interface=VLAN3508_Ether1 bridge=VLAN3508_Br priority=0x80 path-cost=10 internal-path-cost=10
edge=auto point-to-point=auto learn=auto horizon=none auto-isolate=no restricted-role=no
restricted-tcn=no pvid=1 frame-types=admit-all ingress-filtering=no unknown-unicast-flood=yes
unknown-multicast-flood=yes broadcast-flood=yes tag-stacking=no bpdu-guard=no trusted=no
multicast-router=temporary-query fast-leave=no
;;; MGT_AP02
interface=VLAN3518_Ether1 bridge=VLAN3518_Br priority=0x80 path-cost=10 internal-path-cost=10
edge=auto point-to-point=auto learn=auto horizon=none auto-isolate=no restricted-role=no
restricted-tcn=no pvid=1 frame-types=admit-all ingress-filtering=no unknown-unicast-flood=yes
unknown-multicast-flood=yes broadcast-flood=yes tag-stacking=no bpdu-guard=no trusted=no
multicast-router=temporary-query fast-leave=no
;;; MGT_AP02
interface=VLAN3518_Wlan1 bridge=VLAN3518_Br priority=0x80 path-cost=10 internal-path-cost=10
edge=auto point-to-point=auto learn=auto horizon=none auto-isolate=no restricted-role=no
restricted-tcn=no pvid=1 frame-types=admit-all ingress-filtering=no unknown-unicast-flood=yes
unknown-multicast-flood=yes broadcast-flood=yes tag-stacking=no bpdu-guard=no trusted=no
multicast-router=temporary-query fast-leave=no
;;; MGT_AP03
interface=VLAN3528_Ether1 bridge=VLAN3528_Br priority=0x80 path-cost=10 internal-path-cost=10
edge=auto point-to-point=auto learn=auto horizon=none auto-isolate=no restricted-role=no
restricted-tcn=no pvid=1 frame-types=admit-all ingress-filtering=no unknown-unicast-flood=yes
unknown-multicast-flood=yes broadcast-flood=yes tag-stacking=no bpdu-guard=no trusted=no
multicast-router=temporary-query fast-leave=no
;;; MGT_AP03
interface=VLAN3528_Wlan1 bridge=VLAN3528_Br priority=0x80 path-cost=10 internal-path-cost=10
edge=auto point-to-point=auto learn=auto horizon=none auto-isolate=no restricted-role=no
restricted-tcn=no pvid=1 frame-types=admit-all ingress-filtering=no unknown-unicast-flood=yes
unknown-multicast-flood=yes broadcast-flood=yes tag-stacking=no bpdu-guard=no trusted=no
multicast-router=temporary-query fast-leave=no
 
User avatar
tangent
Forum Guru
Forum Guru
Posts: 1656
Joined: Thu Jul 01, 2021 3:15 pm
Contact:

Re: Is VLAN's from Mikrotik Tagged or Untagged

Tue Jun 14, 2022 8:24 pm

Did you edit that output? There are no interface numbers on each starting line.

I ask because what we really want to know is if there are any "H" flags on the start of each line indicating hardware offloading.

If you did not edit it, then the complete lack of "H" flags disproves the hypothesis that the SoC is using its hardware switch in a 2-port bridge mode. Everything devolves to software switching, so there's no performance penalty for using multiple bridges.

Since we've also ruled out [R]STP use, I don't see why you can't have as many bridges as you like.
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: Is VLAN's from Mikrotik Tagged or Untagged

Tue Jun 14, 2022 8:42 pm

All of those VLANs (3500, 3508, 3510, 3518, 3520, 2528) will be tagged on egress/ingress on the physical interfaces.
They will be tagged on egress...
Not on ingress....

On egress a tag will be applied..
On ingress the vlan id will be checked and removed accordingly...
 
Gombeen666
Member Candidate
Member Candidate
Topic Author
Posts: 224
Joined: Tue Jun 25, 2019 5:33 pm

Re: Is VLAN's from Mikrotik Tagged or Untagged

Tue Jun 14, 2022 8:57 pm

@tangent
Yes for clarity I edited the output !
There was no HW on output ?

Also as this PTP is in active production!
I think it's best so not to disturb customers that I build a similar PTP so I can fault find why this config works with TP-link and not D-Link switch?
 
dadaniel
Member Candidate
Member Candidate
Posts: 221
Joined: Fri May 14, 2010 11:51 pm

Re: Is VLAN's from Mikrotik Tagged or Untagged

Tue Jun 14, 2022 9:56 pm

why this config works with TP-link and not D-Link switch?
D-Link switches have always been a pile of junk...
 
User avatar
Larsa
Forum Guru
Forum Guru
Posts: 1611
Joined: Sat Aug 29, 2015 7:40 pm
Location: The North Pole, Santa's Workshop

Re: Is VLAN's from Mikrotik Tagged or Untagged

Tue Jun 14, 2022 10:06 pm

@dadaniel wrote: D-Link switches have always been a pile of junk...

Just for your information, D-link currently has at least three major model series with three different operating systems thus you better be more specific about you claims.
 
User avatar
chechito
Forum Guru
Forum Guru
Posts: 3135
Joined: Sun Aug 24, 2014 3:14 am
Location: Bogota Colombia
Contact:

Re: Is VLAN's from Mikrotik Tagged or Untagged

Tue Jun 14, 2022 10:44 pm

why this config works with TP-link and not D-Link switch?
D-Link switches have always been a pile of junk...
D-Link is a relevant player in enterprise switching since years, corporate models offer features still unavailable in MikroTik, in fact TP-link is behind D-link in matter of switching
 
Gombeen666
Member Candidate
Member Candidate
Topic Author
Posts: 224
Joined: Tue Jun 25, 2019 5:33 pm

Re: Is VLAN's from Mikrotik Tagged or Untagged

Fri Jun 17, 2022 3:07 pm

Update - I setup a similar PTP circuit with new test VLAN's from the CCR

RBM11G PTP > RBM11G PTP > RB750 > RBM11G AP > LHG 5 CPE

And using new test Vlan's, the test CPE has internet connectivity using the D-Link switch!

But when I move the patch lead for the active production PTP from TP-link Switch over to D-Link , customers lose connectivity even after waiting for a min?

I checked on the first RBM11G when connected to TP-Link switch

[admin@PTP] > /interface pppoe-client scan VLAN3500-Br
SERVICE MAC-ADDRESS AC-NAME
WLW2 XX:00:00:00:00:XX CCR

But when I repeat the same check on D-Link - no PPPoE server appearing ?

And all time I am pinging 3 X customers CPE's Public IP's registered to 3 AP's which have different Vlans, AP01=VLAN3500, AP02=VLAN3510, AP03=VLAN3520 and NONE of these customers have internet connectivity when I connect to D-Link switch
 
tdw
Forum Guru
Forum Guru
Posts: 2032
Joined: Sat May 05, 2018 11:55 am

Re: Is VLAN's from Mikrotik Tagged or Untagged

Fri Jun 17, 2022 4:21 pm

Depending on how the D-Link and TP-Link switches are connected to the rest of your infrastructure it may be switch FDB entries have to age out, this can be as much as 5 minutes depending on the make/model and/or settings where configurable.
 
Gombeen666
Member Candidate
Member Candidate
Topic Author
Posts: 224
Joined: Tue Jun 25, 2019 5:33 pm

Re: Is VLAN's from Mikrotik Tagged or Untagged

Fri Jun 17, 2022 5:55 pm

Is it possible to do a selective FDB entries reset?
 
tdw
Forum Guru
Forum Guru
Posts: 2032
Joined: Sat May 05, 2018 11:55 am

Re: Is VLAN's from Mikrotik Tagged or Untagged

Fri Jun 17, 2022 6:24 pm

It depends if the switch firmware provides any access to the switch chip FDB management.
 
Gombeen666
Member Candidate
Member Candidate
Topic Author
Posts: 224
Joined: Tue Jun 25, 2019 5:33 pm

Re: Is VLAN's from Mikrotik Tagged or Untagged

Sun Jun 19, 2022 6:14 pm

To add to my woes!

It appears that I have a VLAN loop on my TP-Link switch (TP-Link T2600G-28TS)

Any recommendations as the logs on the TP-link are not reporting anything ?

Who is online

Users browsing this forum: sindy and 28 guests