Community discussions

MikroTik App
 
Jaume
just joined
Topic Author
Posts: 7
Joined: Sat Feb 23, 2019 6:37 pm

MTU error creating Vlan over Bond

Wed Mar 25, 2020 11:07 am

Hi!!

I've been trying to test in GNS3 inter-vlan routing with Router-On-A-Stick over a Bonding interface before deploying to a CCR1009-7G-1C-1S+.

Something is not working, but just in virtualized environments.

The commands I'm testing are just two:
/interface bonding add name=bond mode=802.3ad transmit-hash-policy=layer-2-and-3 slaves=ether2,ether3
/interface vlan add name=vlan10 vlan-id=10 interface=bond
It DOES work in real hardware with version 6.42.12.

It does NOT work in virtualized scenario, throwing error
failure: could not set mtu
I've tried this in Virtualbox and in GNS3(qemu) with the same error.

I've also tested newer versions in GNS3(6.45 and even 7beta) with same error.

In Internet there are videos showing the same commands I use working in GNS3, so i've downloaded an older version (6.34.6) and the commands work ok in GNS3.

Does anyone have a hint about where to look?

Thanks
 
BufordBL
just joined
Posts: 4
Joined: Wed Apr 10, 2019 5:40 am

Re: MTU error creating Vlan over Bond

Wed Apr 15, 2020 9:38 am

I am also experiencing this error.

Any updates?
 
Jaume
just joined
Topic Author
Posts: 7
Joined: Sat Feb 23, 2019 6:37 pm

Re: MTU error creating Vlan over Bond

Wed Apr 15, 2020 11:35 am

No. But I've reduced the MTU and is working.
 
BufordBL
just joined
Posts: 4
Joined: Wed Apr 10, 2019 5:40 am

Re: MTU error creating Vlan over Bond

Wed Apr 15, 2020 1:25 pm

Thanks for the reply.
I've been trying all the other previous long-term releases and nothing worked.
I will try decreasing the MTU too and see how it goes.
 
BufordBL
just joined
Posts: 4
Joined: Wed Apr 10, 2019 5:40 am

Re: MTU error creating Vlan over Bond

Wed Apr 15, 2020 2:10 pm

So after a lot of trial and error, I finally managed to add a vlan in my GNS3 virtual router using the following commands below:

***Create the Main Bridge
/interface bridge add name=mainbridge
/interface bridge print

Notice that the l2mtu=65535

***Bond the interfaces
/interface bonding add mode=802.3ad transmit-hash-policy=layer-2-and-3 name=bond slaves=ether9,ether10
***Add the Bonded Interfaces to the Main Bridge
/interface bridge port add bridge=mainbridge interface=bond
/interface bridge print

Now the l2mtu=1500

In order to add a vlan, you need to specify the mtu of the vlan. The next highest value that is accepted is 1496.

***Create a VLAN
/interface vlan add interface=bond name=vlan10 vlan-id=10 mtu=1496

Do remember that this command is only necessary when in GNS3.

Cheers!
 
Jaume
just joined
Topic Author
Posts: 7
Joined: Sat Feb 23, 2019 6:37 pm

Re: MTU error creating Vlan over Bond

Wed Apr 15, 2020 4:29 pm

The same for me 1496 was the maximum MTU without error. Everything works as expected. Don't know why!!
Without using a bridge I had also to reduce MTU to 1496.

Who is online

Users browsing this forum: No registered users and 9 guests