Community discussions

MikroTik App
 
Big Pig
just joined
Topic Author
Posts: 15
Joined: Wed Nov 23, 2005 7:28 pm

Simple bridge info

Thu Apr 06, 2006 4:43 pm

Hello !

I have one simple question regarding bridge;

I have simple (offcourse) test network like this:


(switch1)---MT_as_bridge----(switch2)

What happens is that when someone transferring files from PC on Switch1 to PC on Switch2 connection between switch1 and switch2 get lost.
Transfer is few mb/s. (lan cards on PCs are 100Mbit)


There is no manage, firewall or queue rules, just lan1, lan2 and they are bridged, very easy.

So, does anyone know why ?
Mikrotik 2.9.6


p.s. When I put crossover cable between switches, instead of MT, everything works fine.
 
postmanerk
just joined
Posts: 22
Joined: Fri May 28, 2004 8:03 pm
Location: Indiana, USA
Contact:

Auto Negotion Fixes

Thu Apr 06, 2006 7:29 pm

Check the changelogs... I don't know what hardware you are using, but in 2.9.11, they updated the RTL8169 driver, and more specifically in 2.9.14 they fixed the "autonegotiation" settings, It sounds like that would fix it.
What's new in 2.9.14:

*) fixed upgrade from version 2.8 to keep correct order in web-proxy
rule lists and radius server list;
*) ping shows more types of ICMP reply messages, including
destination unreachable;
*) fixed some ethernet card autonegotiation/speed/duplex settings;
*) RB500 ether1 interface has mdix-enable feature (enabled by default)
*) fixed bgp in routing package, did not work in previous version;
*) fixed amount of free-hdd-space on RB500;
 
Big Pig
just joined
Topic Author
Posts: 15
Joined: Wed Nov 23, 2005 7:28 pm

Thu Apr 06, 2006 9:44 pm

Thanks for the answer.
I have solved this issue, by reinstalling MT again.
So, if someone has similar problem, try with that :)


Anyway, I have one more question, of course.
The reason I made this bridge in the first place is to do some mangle and queues between this two switches, to limit bandwith;

I set two mangle and one queue, very simple :

1. mangle
chain=forward, action=mark connection='limitator', passthrough enabled
2. mangle
chain=forward, connection mark='limitator', action=mark packet, new packet mark='limitator-packet', passthrough enabled

in winbox I can see bytes counter rising normally

under queue tree I add:
name=queue1, parent= (tried eny, same result), packet-mark='limitator-packet', queue type=default

winbox shows no bytes counted for this tree.

Obviously I do something wrong,
how else I can do some bandwith managment between this two switches,

can some enlight me please ?
 
postmanerk
just joined
Posts: 22
Joined: Fri May 28, 2004 8:03 pm
Location: Indiana, USA
Contact:

Bridges and Queues

Thu Apr 06, 2006 9:54 pm

I am having the same issue. Check my post at http://forum.mikrotik.com/viewtopic.php?t=7677.

I have 2 mangle rules like you (only I just packet mark in this instance) and I have a queue for inbound, and a queue on outbound, (inbound is the bridge interface) and it does not increment. In fact, anything I select that is associated with the bridge interfaces won't increment.

On the other hand, I have another queue that is the backhaul source and it is not associated with the bridge and it works like it should.

It is almost like bridge interface queues need to be handled in the "Bridge" sub-menu under "filter", like it isn't handled under normal queue trees.
 
Big Pig
just joined
Topic Author
Posts: 15
Joined: Wed Nov 23, 2005 7:28 pm

Thu Apr 06, 2006 10:10 pm

I've tried to handle it on filters under bridge tab, and to create a packet mark which I later use on normal queue tree, but still no bytes increment can bee seen in queue window. still no luck,



anyone,
have you managed to do some bandwith managment on bridge interface ?
 
Big Pig
just joined
Topic Author
Posts: 15
Joined: Wed Nov 23, 2005 7:28 pm

Thu Apr 06, 2006 10:54 pm

SOLVED !

As I understud, you cannot use normal queue under bridged interfaces.
Instead of that, you must use broute

add new broute rule:
chain brouting, assign bridge, under action set: mark packet and use that packet name under queue tree, parent is global-total

I don't know how this would work on more complex setup, but if you use it only for bandwith shape, it works fine.

Who is online

Users browsing this forum: Majestic-12 [Bot] and 47 guests