Community discussions

MikroTik App
 
ofca
Member Candidate
Member Candidate
Topic Author
Posts: 228
Joined: Fri Aug 20, 2004 7:18 pm

VLAN on bridge problem

Sat Aug 04, 2007 3:57 am

Problem:
I had three 2.9 routers, I was bridging three LANs. LANs were using VLANs on both sides, and one of them VLANs is used for management.
I had this nice bridge that connected all three, and on this nice bridge I had VLAN interface, that had the VID of management VLAN and was created with bridge as parent interface. Everything worked great.

Well, all things come to an end - I stupidly decided to upgrade to 3.0rc1 hoping for better wireless throughput and stuff. Well, wireless is the same at best, and also my great awesome superb brilliant vlan-on-the-bridge configuration is not working anymore, /ip address print shows 'I' for every IP on vlan interface.

So, what gives? Any way to fix this without using /system downgrade?
 
ofca
Member Candidate
Member Candidate
Topic Author
Posts: 228
Joined: Fri Aug 20, 2004 7:18 pm

Re: VLAN on bridge problem

Sat Aug 04, 2007 4:03 am

strangely enough, doing enable on VLAN interface fixed the problem. Any ideas as to why they got disabled (well, there wasn't X along the vlan, but neither was R...) on one router and not on the other?

Also, MACs where changed on NICs and after upgrade they were forgotten and NICs redetected as ether1 and kicked out of bridge. Maybe it's something to look at as bug? :)
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6695
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: VLAN on bridge problem

Mon Aug 06, 2007 2:53 pm

If you found any issue at 3.0rc1, that is seems incorrect for you. You must contact MikroTik support (support@mikrotik.com) with attached support output file (that is generated when the problem occurs) and problem description.
 
ofca
Member Candidate
Member Candidate
Topic Author
Posts: 228
Joined: Fri Aug 20, 2004 7:18 pm

Re: VLAN on bridge problem

Mon Aug 06, 2007 7:57 pm

It seems that after disabling and enabling bridge, vlans are brought into some strange state between disabled and running - there is no 'X' indicator, and there is no 'R' indicator - doing enable on each vlan brings them back to life.
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6695
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: VLAN on bridge problem

Tue Aug 07, 2007 8:15 am

Write commands step by step, that causing strange state for the bridged interfaces.
As I have bridge with two VLAN interfaces (related to Ethernet interfaces),

[admin@MikroTik] /interface bridge port> print
Flags: X - disabled, I - inactive, D - dynamic
# INTERFACE BRIDGE PRIORITY PATH-COST
0 vlan1 bridge1 0x80 10
1 vlan2 bridge1 0x80 10

interface print
6 R vlan1 vlan 1500
7 R vlan2 vlan 1500

Disabling/enabling bridge interface does not cause any issues.
 
ofca
Member Candidate
Member Candidate
Topic Author
Posts: 228
Joined: Fri Aug 20, 2004 7:18 pm

Re: VLAN on bridge problem

Tue Aug 07, 2007 8:20 am

I'll poke around and see if I can figure out something with 100% breakage ratio.
[5 minutes later]
Done poking around. Changing protocol-mode doesn't enable vlans.
Also, the vlans aren't supposed to be in bridge, but on bridge.
 #    NAME                      MTU  ARP        VLAN-ID INTERFACE
 1  R vlan-bgp                  1500 enabled    19      bridge-main
100% success ratio on my tests.
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6695
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: VLAN on bridge problem

Tue Aug 07, 2007 8:34 am

Well,
interface bridge set 0 disabled=yes
interface bridge set 0 protocol-mode=rstp
interface bridge set 0 disabled=no

interface bridge set 0 protocol-mode=none

None of this commands does not disable VLAN.
 
ofca
Member Candidate
Member Candidate
Topic Author
Posts: 228
Joined: Fri Aug 20, 2004 7:18 pm

Re: VLAN on bridge problem

Tue Aug 07, 2007 8:41 am

[owca@xxx-f] /interface bridge> print
Flags: X - disabled, R - running
 0  R name="localhost" mtu=1500 arp=enabled mac-address=00:00:00:00:00:00 protocol-mode=none priority=0x8000 auto-mac=yes admin-mac=00:00:00:00:00:00 max-message-age=20s forward-delay=15s
      transmit-hold-count=6 ageing-time=5m

 1  R name="bridge-bgp" mtu=1500 arp=enabled mac-address=FE:69:75:35:0A:4C protocol-mode=none priority=0x8000 auto-mac=yes admin-mac=00:00:00:00:00:00 max-message-age=20s
      forward-delay=15s transmit-hold-count=6 ageing-time=5m

 2  R name="bridge-main" mtu=1500 arp=enabled mac-address=FE:E5:B2:64:91:1A protocol-mode=rstp priority=0x8000 auto-mac=yes admin-mac=00:00:00:00:00:00 max-message-age=20s
      forward-delay=15s transmit-hold-count=6 ageing-time=5m
[owca@xxx-f] /interface bridge> /interface vlan print
Flags: X - disabled, R - running
 #    NAME                 MTU  ARP        VLAN-ID INTERFACE
 0  R vlan-net             1500 enabled    7       bridge-main
 1  R vlan-bgp             1500 enabled    19      bridge-main
 2  R vlan-nn              1500 enabled    4040    bridge-main
 3  R vlan-mgmt            1500 enabled    31      bridge-main
[owca@xxx-f] /interface bridge> print
Flags: X - disabled, R - running
 0  R name="localhost" mtu=1500 arp=enabled mac-address=00:00:00:00:00:00 protocol-mode=none priority=0x8000 auto-mac=yes admin-mac=00:00:00:00:00:00 max-message-age=20s forward-delay=15s
      transmit-hold-count=6 ageing-time=5m

 1  R name="bridge-bgp" mtu=1500 arp=enabled mac-address=FE:69:75:35:0A:4C protocol-mode=none priority=0x8000 auto-mac=yes admin-mac=00:00:00:00:00:00 max-message-age=20s
      forward-delay=15s transmit-hold-count=6 ageing-time=5m

 2  R name="bridge-main" mtu=1500 arp=enabled mac-address=FE:E5:B2:64:91:1A protocol-mode=rstp priority=0x8000 auto-mac=yes admin-mac=00:00:00:00:00:00 max-message-age=20s
      forward-delay=15s transmit-hold-count=6 ageing-time=5m
[owca@xxx-f] /interface bridge> port print
Flags: X - disabled, I - inactive, D - dynamic
 #    INTERFACE       BRIDGE          PRIORITY PATH-COST
 0    eoip83-bgp  bridge-bgp  0x80     10
 1    vlan-bgp    bridge-bgp  0x80     10
 2    eoip-ds1-to-f   bridge-main 0x80     10
 3    LAN-F           bridge-main 0x80     10
 4    eoip-k-to-f     bridge-main 0x80     10
[owca@xxx-f] /interface bridge> /interface vlan print
Flags: X - disabled, R - running
 #    NAME                 MTU  ARP        VLAN-ID INTERFACE
 0  R vlan-net             1500 enabled    7       bridge-main
 1  R vlan-bgp             1500 enabled    19      bridge-main
 2  R vlan-nn              1500 enabled    4040    bridge-main
 3  R vlan-mgmt            1500 enabled    31      bridge-main
[owca@xxx-f] /interface bridge> set 2 protocol-mode=none ;/interface vlan print
Flags: X - disabled, R - running
 #    NAME                 MTU  ARP        VLAN-ID INTERFACE
 0    vlan-net             1500 enabled    7       bridge-main
 1    vlan-bgp             1500 enabled    19      bridge-main
 2    vlan-nn              1500 enabled    4040    bridge-main
 3    vlan-mgmt            1500 enabled    31      bridge-main
[owca@xxx-f] /interface bridge> /interface vlan enable 0,1,2,3 ;/interface vlan print
Flags: X - disabled, R - running
 #    NAME                 MTU  ARP        VLAN-ID INTERFACE
 0  R vlan-net             1500 enabled    7       bridge-main
 1  R vlan-bgp             1500 enabled    19      bridge-main
 2  R vlan-nn              1500 enabled    4040    bridge-main
 3  R vlan-mgmt            1500 enabled    31      bridge-main
[owca@xxx-f] /interface bridge>
 
ofca
Member Candidate
Member Candidate
Topic Author
Posts: 228
Joined: Fri Aug 20, 2004 7:18 pm

Re: VLAN on bridge problem

Wed Aug 08, 2007 1:37 pm

Were you able to confirm the problem? What about ethernet NICs with changed MAC-address being forgotten after upgrade from 2.9 to 3.0?

Who is online

Users browsing this forum: Amazon [Bot], elico, Google [Bot] and 131 guests