Community discussions

MikroTik App
 
User avatar
kaptain46
just joined
Topic Author
Posts: 22
Joined: Thu Sep 18, 2008 1:27 pm
Location: Rho
Contact:

Untagged VLAN Bridge CISCO

Wed Oct 05, 2016 1:54 am

Hi,
I'm asking about your help for a little problem that I've found today.. little but I cannot understand why :(

I've a bridge with 2 ether ports inside (one to the switch port set in ACCESS mode on VLAN 101, one to grant access to the VLAN 101 to one PC directly connect to this RB1100 port)
/interface bridge add name=bridge1
/interface bridge port add interface=ether2,ether3 bridge=bridge1
I put an address of VLAN 101 on bridge1
/ip address add address=192.168.101.2/24 interface=bridge1
And the ping between RB and CISCO switch works well (CISCO has 192.168.101.1/24 on VLAN 101)

Then..... for a joke, I've rebooted the RB and... :shock: communication between CISCO and RB was lost.. no ping reply, ARP like 00:00:00:00:00:00 in MK ARP TABLE for the switch IP address and I cannot see any MAC on ARP table of CISCO switch :shock:

Then, I removed the bridge and moved IP address from bridge1 to ether1.. everything works well :shock: ; otherwise, If i make a switch using ether1 as master port and ether2 as slave, everything works well :shock: but, If I re-enabled the bridge and add these 2 ports inside of them.. anytihing works again.. :?

Then, I think the issue is using the bridge in this config, but I don't understand why! :shock: All ethernet frames that come from/to CISCO switch are untagged, then there is any additional config to do into RB1100.

I've already update to 6.36 without any improvement :?
 
freakneck
just joined
Posts: 14
Joined: Thu Feb 05, 2015 10:32 pm

Re: Untagged VLAN Bridge CISCO

Wed Oct 05, 2016 3:55 pm

Are you confusing IP subnet, and VLANs?

A VLAN has no relation to an IP address or IP subnet...it has no "address" as you stated below.
 
User avatar
kaptain46
just joined
Topic Author
Posts: 22
Joined: Thu Sep 18, 2008 1:27 pm
Location: Rho
Contact:

Re: Untagged VLAN Bridge CISCO

Wed Oct 05, 2016 4:43 pm

Hi freakneck,
sorry but I think there is a misunderstanding.

VLAN interface on Mikotik is a virtual LAN interface, and as a physical interface, it can have an IP address and services, like DHCP client or server.

Also switch can have a management VLAN different that the ID=1 standard, the you can assign an IP for management on this VLAN.
 
pe1chl
Forum Guru
Forum Guru
Posts: 10542
Joined: Mon Jun 08, 2015 12:09 pm

Re: Untagged VLAN Bridge CISCO

Wed Oct 05, 2016 5:45 pm

You are writing that on Cisco you have VLAN 101 but on MikroTik you mention no VLAN at all.
This is only going to work when on the port on the Cisco that VLAN is configured as
"switchport access vlan 101" or "switchport trunk native vlan 101".
(i.e. the VLAN 101 is untagged on that port)

When you want to use tagged vlan 101 you need to configure a VLAN interface in the MikroTik
or you need to configure the MikroTik internal switch to do the tagging.
 
mducharme
Trainer
Trainer
Posts: 1777
Joined: Tue Jul 19, 2016 6:45 pm
Location: Vancouver, BC, Canada

Re: Untagged VLAN Bridge CISCO

Wed Oct 05, 2016 8:29 pm

You should not use the switch chip function and a bridge on the same two ports, otherwise you will be creating a loop because you will have packets bridged twice (once via bridge, once via switch port master/slave function, so all sent frames would be duplicated). Spanning tree would probably then kick in to shut down the port.

If you need a bridge in addition to switching, connect just the master port to the bridge.
 
User avatar
kaptain46
just joined
Topic Author
Posts: 22
Joined: Thu Sep 18, 2008 1:27 pm
Location: Rho
Contact:

Re: Untagged VLAN Bridge CISCO

Thu Oct 06, 2016 1:46 am

Hi pe1chl and mducharme,
thanks for your support.

The port on CISCO is set as "switchport access vlan 101" then I don't need to declare VLAN on the bridge Mikrotik's side.

About mducharme suggestion, I know that isn't possible to use port as bridge member and as switch toghether; when I put ports on bridge, master/slave port switch is disabled, but when I set as master/slave I've to put them out of bridge (Mikrotik will give me an error about it).

I think so that is a problem like STP or similar on CISCO switch, 'cause I cannot reproduce this issue using a different switch with the same config. :(
 
mducharme
Trainer
Trainer
Posts: 1777
Joined: Tue Jul 19, 2016 6:45 pm
Location: Vancouver, BC, Canada

Re: Untagged VLAN Bridge CISCO

Thu Oct 06, 2016 2:00 am

Hi pe1chl and mducharme,
thanks for your support.

The port on CISCO is set as "switchport access vlan 101" then I don't need to declare VLAN on the bridge Mikrotik's side.

About mducharme suggestion, I know that isn't possible to use port as bridge member and as switch toghether; when I put ports on bridge, master/slave port switch is disabled, but when I set as master/slave I've to put them out of bridge (Mikrotik will give me an error about it).

I think so that is a problem like STP or similar on CISCO switch, 'cause I cannot reproduce this issue using a different switch with the same config. :(
Hi, this is probably caused by the spanning tree priority setting, or by Cisco's proprietary implementation of spanning tree.

You can correct this by issuing "spanning-tree bpdufilter enable" on the access port on the Cisco switch that connects to the Mikrotik.
 
pe1chl
Forum Guru
Forum Guru
Posts: 10542
Joined: Mon Jun 08, 2015 12:09 pm

Re: Untagged VLAN Bridge CISCO

Thu Oct 06, 2016 10:10 am

I think so that is a problem like STP or similar on CISCO switch, 'cause I cannot reproduce this issue using a different switch with the same config. :(
Of course you can always disable STP on the MikroTik bridge (protocol-mode none) and see if that resolves it.
 
User avatar
kaptain46
just joined
Topic Author
Posts: 22
Joined: Thu Sep 18, 2008 1:27 pm
Location: Rho
Contact:

Re: Untagged VLAN Bridge CISCO

Fri Oct 07, 2016 1:54 am

HI pe1chl,
thanks for your suggestions :D

I'm not really expert about CISCO and your guidelines help me a lot! I will follow them and keep you updated! :)
 
tnrclkr
newbie
Posts: 27
Joined: Tue Aug 25, 2015 8:36 am

Re: Untagged VLAN Bridge CISCO

Mon Feb 26, 2018 9:55 pm

Spannng tree disabled on mikrotik port but still mikrotik does not see other mikrotik devices at the other edge of cisco.Before or after spanning tree no other devices on discovery.


Any update?