VLANs over Bonding interfaces?

Hi,

ive tried to configure VLANs over bonding interfaces but so far without success.

Lets say if i have 2 VLANs, "VL_Pivate" and "VL_Pubic", and on router A i have bonding interface "bonding_to_B" and on router B i have bonding interface "bonding_to_A".

I configure the VLANs on the bonding interfaces:

Router A:

/interface vlan add name=VL_Private interface=bonding_to_B vlan-id=10

Router B:
/interface vlan add name=VL_Private interface=bonding_to_A vlan-id=10


Now i create one bridge on A and B named "BR_Private" and add interfaces AND the VLANs like this

Router A:

/interface bridge port add bridge=BR_Private interface=ether1
/interface bridge port add bridge=BR_Private interface=VL_Private

/ip address=192.168.23.1/24 disabled=no interface=BR_Private

Router B:

/interface bridge port add bridge=BR_Private interface=ether1
/interface bridge port add bridge=BR_Private interface=VL_Private

/ip address=192.168.23.2/24 disabled=no interface=BR_Private

With this setup i cant get a connection from router A to B. If i remove the VLANs from the bridge and instead connect the bonding interfaces directly into the bridges it DOES WORK. I. e. i can ping the other side from both routers.

Anyone has an idea whats wrong? Cant i do VLANs over Bonding interfaces or do i have to choose a different approac?

thx,

// Tycho

You dont need a bridge for vlans on bonding interfaces.

you create your bonding interface first and put in the slaves your ethernet interfaces youd like to use:


eg:

/interface bonding
add arp=enabled arp-interval=100ms arp-ip-targets=“” disabled=no down-delay=500ms lacp-rate=30secs
link-monitoring=mii-type1 mii-interval=100ms mode=802.3ad mtu=1500 name=BondedTRUNK primary=none slaves=
ether1,ether2,ether3,ether4 transmit-hash-policy=layer-2 up-delay=500ms

Afterwards you configure your vlans on the bonding trunk.

eg:

/interface vlan
add arp=enabled disabled=no interface=BondedTRUNK mtu=1500 name=“vlan57”
use-service-tag=no vlan-id=57


that’s it no more no less.

But if i have more than one Bounding interface where i need to run same Vlans? Can i then add both boundings to bridge? Or what? Thanks!

I have the same problem. I want to build a bridge over one bonding-interface (802.3ad to CISCO SF300 with tagged VLANs) and one ethernet-port (tagged VLANs HP ProCurve) to have a L2 connection.
For L3 inter vlan routing, my VLANs have the bridge as interface.
But it does not work! Bonding slaves: Link goes up and down…

The same bonding-interface without the bridge with directly attachet VLANs and e.g. one different VLAN on the ethernet-port is working (only L3 connection).
But I want the same VLANs on the bonding-interface and ethernet-port (L2 and L3 connection)?

I use RB3011 with RouterOS 6.35rc42.

I have the same problem. I want to build a bridge over one bonding-interface (802.3ad to CISCO SF300 with tagged VLANs) and one ethernet-port (tagged VLANs HP ProCurve) to have a L2 connection.
For L3 inter vlan routing, my VLANs have the bridge as interface.
But it does not work! Bonding slaves: Link goes up and down…

The same bonding-interface without the bridge with directly attachet VLANs and e.g. one different VLAN on the ethernet-port is working (only L3 connection).
But I want the same VLANs on the bonding-interface and ethernet-port (L2 and L3 connection)?

I use RB3011 with RouterOS 6.35rc42.

Hi marcol ,

i have the same situation - do you found a solution for this till now ?

Thx!

I have seen this is older post but I have done this situation.
I have MT with 5 ethernet ports, 2ports of 5 are in Port-Chanel (bonding MT) mode and this is connection goes to Cisco sw L2 in port-channel mode too.
But I needed another two ports on Mikrotik router in VLAN 10 and Port-channel too but like Trunk port. I added VLAN 10 and 20 on bridge interface and automatically I have gotten trunk port on Bonding interface on MT device.
I set up native VLAN 10 and I got ip subne 10.10.10.0/24